solucionado problema

This commit is contained in:
2024-12-02 18:22:26 +01:00
parent 7550f41e16
commit 6eb4446aff
2 changed files with 20 additions and 15 deletions

View File

@ -523,6 +523,11 @@ class PresupuestoClienteService extends BaseService
$linea_rotativa = array_merge($linea_rotativa, $lineas);
}
}
$linea_rotativa = array_filter($linea_rotativa, function($item) {
return count($item['fields']['num_formas']) > 1;
});
if (count($linea_rotativa) > 0) {
usort(