From 9cf812be89134048c23aa37aec3953e50379db0b Mon Sep 17 00:00:00 2001 From: Pek5892 Date: Thu, 27 Apr 2023 17:15:24 +0200 Subject: [PATCH] Modifica nomi colonne totali nei documenti --- modules/contratti/row-list.php | 2 +- modules/ddt/row-list.php | 2 +- modules/fatture/row-list.php | 2 +- modules/ordini/row-list.php | 2 +- modules/preventivi/row-list.php | 2 +- update/2_4_45.sql | 6 +++++- 6 files changed, 10 insertions(+), 6 deletions(-) diff --git a/modules/contratti/row-list.php b/modules/contratti/row-list.php index cc7c379de..22fa28e49 100755 --- a/modules/contratti/row-list.php +++ b/modules/contratti/row-list.php @@ -253,7 +253,7 @@ echo ' echo ' - '.tr('Totale', [], ['upper' => true]).': + '.tr('Totale documento', [], ['upper' => true]).': '.moneyFormat($contratto->totale, 2).' diff --git a/modules/ddt/row-list.php b/modules/ddt/row-list.php index 9073cdb3e..46ee0a449 100755 --- a/modules/ddt/row-list.php +++ b/modules/ddt/row-list.php @@ -299,7 +299,7 @@ echo ' echo ' - '.tr('Totale', [], ['upper' => true]).': + '.tr('Totale documento', [], ['upper' => true]).': '.moneyFormat($totale, 2).' diff --git a/modules/fatture/row-list.php b/modules/fatture/row-list.php index c0ba7d380..5b814e488 100755 --- a/modules/fatture/row-list.php +++ b/modules/fatture/row-list.php @@ -404,7 +404,7 @@ if (!empty($iva)) { echo ' - '.tr('Totale', [], ['upper' => true]).': + '.tr('Totale documento', [], ['upper' => true]).': '.moneyFormat($totale, 2).' diff --git a/modules/ordini/row-list.php b/modules/ordini/row-list.php index b7f4f320a..c41c3c329 100755 --- a/modules/ordini/row-list.php +++ b/modules/ordini/row-list.php @@ -344,7 +344,7 @@ echo ' echo ' - '.tr('Totale', [], ['upper' => true]).': + '.tr('Totale documento', [], ['upper' => true]).': '.moneyFormat($totale, 2).' diff --git a/modules/preventivi/row-list.php b/modules/preventivi/row-list.php index 2333ad65e..02d8cd042 100755 --- a/modules/preventivi/row-list.php +++ b/modules/preventivi/row-list.php @@ -286,7 +286,7 @@ echo ' echo ' - '.tr('Totale', [], ['upper' => true]).': + '.tr('Totale documento', [], ['upper' => true]).': '.moneyFormat($preventivo->totale, 2).' diff --git a/update/2_4_45.sql b/update/2_4_45.sql index 9b614a868..54aeff63a 100644 --- a/update/2_4_45.sql +++ b/update/2_4_45.sql @@ -1,2 +1,6 @@ -- Aggiunto import Preventivi -INSERT INTO `zz_imports` (`id`, `id_module`, `name`, `class`, `created_at`) VALUES (NULL, (SELECT `id` FROM `zz_modules` WHERE `name`='Preventivi'), 'Preventivi', 'Modules\\Preventivi\\Import\\CSV', NULL); \ No newline at end of file +INSERT INTO `zz_imports` (`id`, `id_module`, `name`, `class`, `created_at`) VALUES (NULL, (SELECT `id` FROM `zz_modules` WHERE `name`='Preventivi'), 'Preventivi', 'Modules\\Preventivi\\Import\\CSV', NULL); + +-- Modifica nomi colonne Totali +UPDATE `zz_views` SET `name` = 'Totale documento' WHERE `name` = 'Totale ivato'; +UPDATE `zz_views` SET `name` = 'Imponibile' WHERE `name` = 'Totale'; \ No newline at end of file