mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-11 00:50:37 +01:00
Fix totale consuntivi su preventivi e contratti
This commit is contained in:
parent
8094d7d77d
commit
2994279dbe
@ -105,10 +105,10 @@ if (!empty($rsi)) {
|
||||
<th width="230">'.tr('Tipo attività').'</th>
|
||||
<th width="120">'.tr('Ore').'</th>
|
||||
<th width="120">'.tr('Km').'</th>
|
||||
<th width="120">'.tr('Costo orario').'</th>
|
||||
<th width="120">'.tr('Costo ore').'</th>
|
||||
<th width="120">'.tr('Costo km').'</th>
|
||||
<th width="120">'.tr('Diritto ch.').'</th>
|
||||
<th width="120">'.tr('Costo addebitato').'</th>
|
||||
<th width="120">'.tr('Prezzo ore').'</th>
|
||||
<th width="120">'.tr('Prezzo km').'</th>
|
||||
<th width="120">'.tr('Diritto ch.').'</th>
|
||||
</tr>';
|
||||
@ -215,9 +215,9 @@ if (!empty($rsi)) {
|
||||
$totale_ore_interventi += $int['ore'];
|
||||
$totale_ore_completate += !empty($int['completato']) ? $int['ore'] : 0;
|
||||
$totale_km += $int['km'];
|
||||
$totale_costo += $int['totale_costo'];
|
||||
$totale_addebito += $int['totale_addebito'];
|
||||
$totale += $int['totale_scontato'];
|
||||
$totale_costo += $intervento->spesa;
|
||||
$totale_addebito += $intervento->imponibile;
|
||||
$totale += $intervento->totale_imponibile;
|
||||
}
|
||||
|
||||
// Totali
|
||||
|
@ -92,10 +92,10 @@ if (!empty($rsi)) {
|
||||
<th width="230">'.tr('Tipo attività').'</th>
|
||||
<th width="120">'.tr('Ore').'</th>
|
||||
<th width="120">'.tr('Km').'</th>
|
||||
<th width="120">'.tr('Costo orario').'</th>
|
||||
<th width="120">'.tr('Costo ore').'</th>
|
||||
<th width="120">'.tr('Costo km').'</th>
|
||||
<th width="120">'.tr('Diritto ch.').'</th>
|
||||
<th width="120">'.tr('Prezzo orario').'</th>
|
||||
<th width="120">'.tr('Prezzo ore').'</th>
|
||||
<th width="120">'.tr('Prezzo km').'</th>
|
||||
<th width="120">'.tr('Diritto ch.').'</th>
|
||||
</tr>';
|
||||
@ -201,9 +201,9 @@ if (!empty($rsi)) {
|
||||
|
||||
$totale_ore += $int['ore'];
|
||||
$totale_km += $int['km'];
|
||||
$totale_costo += $int['totale_costo'];
|
||||
$totale_addebito += $int['totale_addebito'];
|
||||
$totale += $int['totale_scontato'];
|
||||
$totale_costo += $intervento->spesa;
|
||||
$totale_addebito += $intervento->imponibile;
|
||||
$totale += $intervento->totale_imponibile;
|
||||
}
|
||||
|
||||
// Totali
|
||||
|
Loading…
x
Reference in New Issue
Block a user