mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-02 00:46:44 +01:00
Fix minore
This commit is contained in:
parent
2ec4c02704
commit
e6648011e8
@ -25,6 +25,7 @@ $somma_sconto = sum($somma_sconto);
|
||||
$somma_totale_imponibile = sum($somma_totale_imponibile);
|
||||
$somma_iva = sum($somma_iva);
|
||||
$somma_totale_ivato = sum($somma_totale_ivato);
|
||||
$somma_km = sum($somma_km);
|
||||
|
||||
if (setting('Formato ore in stampa') == 'Sessantesimi') {
|
||||
$somma_ore = Translator::numberToHours($somma_ore);
|
||||
@ -38,7 +39,7 @@ echo '
|
||||
<th class="text-right" style="border-left: 0;">
|
||||
<b>'.tr('Totale', [], ['upper' => true]).':</b>
|
||||
</th>
|
||||
<th class="text-center">'.($km).'</td>
|
||||
<th class="text-center">'.($somma_km).'</td>
|
||||
<th class="text-center">'.($pricing ? $somma_ore : '-').'</th>
|
||||
<th class="text-center">'.($pricing ? moneyFormat($somma_imponibile, 2) : '-').'</th>
|
||||
<th class="text-center">'.($pricing ? moneyFormat($somma_sconto, 2) : '-').'</th>
|
||||
|
@ -34,6 +34,7 @@ $totale_imponibile = $tipo=='interno' ? $intervento->spesa : $intervento->totale
|
||||
$iva = $tipo=='interno' ? (($intervento->spesa * $iva_predefinita) / 100) : $intervento->iva;
|
||||
$totale_ivato = $tipo=='interno' ? ($intervento->spesa + $iva) : $intervento->totale;
|
||||
|
||||
$somma_km[] = $km;
|
||||
$somma_ore[] = $ore;
|
||||
$somma_imponibile[] = $imponibile;
|
||||
$somma_sconto[] = $sconto;
|
||||
|
Loading…
x
Reference in New Issue
Block a user