From 11457f853f22bd40bb498de614ed98ab60f1d279 Mon Sep 17 00:00:00 2001 From: Pek5892 Date: Fri, 24 May 2024 15:14:32 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20stampa=20riepilogo=20attivit=C3=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/riepilogo_interventi/bottom.php | 6 ++-- templates/riepilogo_interventi/footer.php | 34 ----------------------- templates/riepilogo_interventi/top.php | 17 ++++++------ 3 files changed, 12 insertions(+), 45 deletions(-) delete mode 100755 templates/riepilogo_interventi/footer.php diff --git a/templates/riepilogo_interventi/bottom.php b/templates/riepilogo_interventi/bottom.php index 30261eb01..9f23d1f9d 100644 --- a/templates/riepilogo_interventi/bottom.php +++ b/templates/riepilogo_interventi/bottom.php @@ -38,7 +38,7 @@ if (setting('Formato ore in stampa') == 'Sessantesimi') { echo ' - + '.tr('Totale', [], ['upper' => true]).': '.$somma_km.' @@ -50,7 +50,7 @@ echo ' - + '.tr('Iva', [], ['upper' => true]).': @@ -59,7 +59,7 @@ echo ' - + '.tr('Totale Ivato', [], ['upper' => true]).': diff --git a/templates/riepilogo_interventi/footer.php b/templates/riepilogo_interventi/footer.php deleted file mode 100755 index 23a50a756..000000000 --- a/templates/riepilogo_interventi/footer.php +++ /dev/null @@ -1,34 +0,0 @@ -. - */ - -echo ' - - - - - - -
- '.tr('Stampato con OpenSTAManager il _DATE_', ['_DATE_' => date('d/m/Y')]).' - - '.tr('Pagina _PAGE_ di _TOTAL_', [ - '_PAGE_' => '{PAGENO}', - '_TOTAL_' => '{nb}', -]).' -
'; diff --git a/templates/riepilogo_interventi/top.php b/templates/riepilogo_interventi/top.php index d41397cb0..4f2677bea 100755 --- a/templates/riepilogo_interventi/top.php +++ b/templates/riepilogo_interventi/top.php @@ -22,17 +22,18 @@ include_once __DIR__.'/../../core.php'; $tipo = get('tipo'); echo ' -

'.tr('Riepilogo attività selezionate', [], ['upper' => true]).'

+
+
'.tr('Riepilogo attività selezionate', [], ['upper' => true]).'
- +
- - - - - - + + + + + +
'.tr('Documento', [], ['upper' => true]).''.tr('KM', [], ['upper' => true]).''.tr('Ore', [], ['upper' => true]).''.($tipo == 'interno' ? tr('Costo totale', [], ['upper' => true]) : tr('Imponibile', [], ['upper' => true])).''.tr('Sconto', [], ['upper' => true]).''.($tipo == 'interno' ? tr('Costo netto', [], ['upper' => true]) : tr('Totale imponibile', [], ['upper' => true])).''.tr('Documento', [], ['upper' => true]).''.tr('KM', [], ['upper' => true]).''.tr('Ore', [], ['upper' => true]).''.($tipo == 'interno' ? tr('Costo totale', [], ['upper' => true]) : tr('Imponibile', [], ['upper' => true])).''.tr('Sconto', [], ['upper' => true]).''.($tipo == 'interno' ? tr('Costo netto', [], ['upper' => true]) : tr('Totale imponibile', [], ['upper' => true])).'