1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-20 13:31:04 +01:00

Controlo completo fatturazione DDT da bulk

This commit is contained in:
Beppe 2020-07-16 10:37:56 +02:00
parent f02235a6e8
commit 2f0d3a8393

View File

@ -50,6 +50,8 @@ switch (post('op')) {
$id_anagrafica = $anagrafica->id; $id_anagrafica = $anagrafica->id;
// Proseguo solo se i documenti scelti sono fatturabili // Proseguo solo se i documenti scelti sono fatturabili
if( $documento_import->isImportabile() ){
$righe = $documento_import->getRighe(); $righe = $documento_import->getRighe();
if (!empty($righe)) { if (!empty($righe)) {
++$numero_totale; ++$numero_totale;
@ -92,6 +94,7 @@ switch (post('op')) {
} }
} }
} }
}
if ($numero_totale > 0) { if ($numero_totale > 0) {
flash()->info(tr('_NUM_ ddt fatturati!', [ flash()->info(tr('_NUM_ ddt fatturati!', [