Modifica nomi colonne totali nei documenti

This commit is contained in:
Pek5892 2023-04-27 17:15:24 +02:00
parent 80c2d883ed
commit 9cf812be89
6 changed files with 10 additions and 6 deletions

View File

@ -253,7 +253,7 @@ echo '
echo '
<tr>
<td colspan="'.$colspan.'" class="text-right">
<b>'.tr('Totale', [], ['upper' => true]).':</b>
<b>'.tr('Totale documento', [], ['upper' => true]).':</b>
</td>
<td class="text-right">
'.moneyFormat($contratto->totale, 2).'

View File

@ -299,7 +299,7 @@ echo '
echo '
<tr>
<td colspan="'.$colspan.'" class="text-right">
<b>'.tr('Totale', [], ['upper' => true]).':</b>
<b>'.tr('Totale documento', [], ['upper' => true]).':</b>
</td>
<td class="text-right">
'.moneyFormat($totale, 2).'

View File

@ -404,7 +404,7 @@ if (!empty($iva)) {
echo '
<tr>
<td colspan="6" class="text-right">
<b>'.tr('Totale', [], ['upper' => true]).':</b>
<b>'.tr('Totale documento', [], ['upper' => true]).':</b>
</td>
<td class="text-right">
'.moneyFormat($totale, 2).'

View File

@ -344,7 +344,7 @@ echo '
echo '
<tr>
<td colspan="'.$colspan.'" class="text-right">
<b>'.tr('Totale', [], ['upper' => true]).':</b>
<b>'.tr('Totale documento', [], ['upper' => true]).':</b>
</td>
<td class="text-right">
'.moneyFormat($totale, 2).'

View File

@ -286,7 +286,7 @@ echo '
echo '
<tr>
<td colspan="'.$colspan.'" class="text-right">
<b>'.tr('Totale', [], ['upper' => true]).':</b>
<b>'.tr('Totale documento', [], ['upper' => true]).':</b>
</td>
<td class="text-right">
'.moneyFormat($preventivo->totale, 2).'

View File

@ -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);
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';