Fix bulk Contratti e Preventivi
This commit is contained in:
parent
477f025f55
commit
5139e2000f
|
@ -38,6 +38,10 @@ switch (post('op')) {
|
|||
$anagrafica = $documento_import->anagrafica;
|
||||
$id_anagrafica = $anagrafica->id;
|
||||
|
||||
if(!$documento_import->stato->is_pianificabile){
|
||||
break;
|
||||
}
|
||||
|
||||
// Proseguo solo se i documenti scelti sono fatturabili
|
||||
$righe = $documento_import->getRighe();
|
||||
if (!empty($righe)) {
|
||||
|
|
|
@ -38,6 +38,10 @@ switch (post('op')) {
|
|||
$anagrafica = $documento_import->anagrafica;
|
||||
$id_anagrafica = $anagrafica->id;
|
||||
|
||||
if(!$documento_import->stato->is_pianificabile){
|
||||
break;
|
||||
}
|
||||
|
||||
// Proseguo solo se i documenti scelti sono fatturabili
|
||||
$righe = $documento_import->getRighe();
|
||||
if (!empty($righe)) {
|
||||
|
|
Loading…
Reference in New Issue