diff --git a/templates/riepilogo_interventi/bottom.php b/templates/riepilogo_interventi/bottom.php old mode 100755 new mode 100644 index 15f018a5d..f192190f9 --- a/templates/riepilogo_interventi/bottom.php +++ b/templates/riepilogo_interventi/bottom.php @@ -38,8 +38,12 @@ echo ' '.tr('Totale', [], ['upper' => true]).': - - '.($somma_km).' + '; + if( get('id_print')!=24 ){ + echo ' + '.($somma_km).''; + } + echo ' '.($pricing ? $somma_ore : '-').' '.($pricing ? moneyFormat($somma_imponibile, 2) : '-').' '.($pricing ? moneyFormat($somma_sconto, 2) : '-').' @@ -51,7 +55,7 @@ echo ' '.tr('Iva', [], ['upper' => true]).': - + '.($pricing ? moneyFormat($somma_iva, 2) : '-').' @@ -60,7 +64,7 @@ echo ' '.tr('Totale Ivato', [], ['upper' => true]).': - + '.($pricing ? moneyFormat($somma_totale_ivato, 2) : '-').' diff --git a/templates/riepilogo_interventi/piece.php b/templates/riepilogo_interventi/piece.php old mode 100755 new mode 100644 index 0d06ddfb7..1698c25bd --- a/templates/riepilogo_interventi/piece.php +++ b/templates/riepilogo_interventi/piece.php @@ -77,8 +77,12 @@ echo ' $ore = Translator::numberToLocale($ore, 2); } echo ' - - '.($km).' + '; + if( get('id_print')!=24 ){ + echo ' + '.($km).''; + } +echo ' '.($pricing ? $ore : '-').' '.($pricing ? moneyFormat($imponibile, 2) : '-').' '.($pricing && empty($options['dir']) ? moneyFormat($sconto, 2) : '-').' @@ -90,7 +94,7 @@ if (count($sessioni) > 0) { echo ' - '.tr('Sessioni').' + '.tr('Sessioni').' '.tr('Data').' '.tr('Inizio').' '.tr('Fine').' @@ -100,7 +104,7 @@ if (count($sessioni) > 0) { echo ' - '.$sessione->anagrafica->ragione_sociale.' ('.$sessione->tipo->descrizione.') + '.$sessione->anagrafica->ragione_sociale.' ('.$sessione->tipo->descrizione.') '.dateFormat($sessione->orario_inizio).' '.timeFormat($sessione->orario_inizio).' '.timeFormat($sessione->orario_fine).' @@ -114,7 +118,7 @@ if (!$righe->isEmpty()) { echo ' - '.tr('Materiale utilizzato e spese aggiuntive').' + '.tr('Materiale utilizzato e spese aggiuntive').' '.tr('Qta').' '.($tipo=='interno' ? tr('Costo unitario') : tr('Prezzo unitario')).' '.($tipo=='interno' ? tr('Costo netto') : tr('Imponibile')).' @@ -127,7 +131,7 @@ if (!$righe->isEmpty()) { echo ' - '.$riga->descrizione.' + '.$riga->descrizione.' '.$riga->qta.' '.$riga->um.' '.($pricing ? moneyFormat($prezzo) : '-').' '.($pricing ? moneyFormat($totale) : '-').'