1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-23 05:54:03 +01:00

Correzione consuntivi contratti e preventivi per bugfix #87

This commit is contained in:
Fabio Lovato 2018-01-04 11:08:54 +01:00
parent 313b5e5664
commit 12698c25d3
2 changed files with 4 additions and 4 deletions

4
modules/contratti/plugins/contratti.consuntivo.php Normal file → Executable file
View File

@ -110,10 +110,10 @@ if (!empty($rsi)) {
<td>'.$r['idtipointervento'].'</td>
<td class="text-right">'.Translator::numberToLocale($r['ore']).'</td>
<td class="text-right">'.Translator::numberToLocale($r['km']).'</td>
<td class="text-right danger">'.Translator::numberToLocale($r['prezzo_ore_consuntivo_tecnico']).'</td>
<td class="text-right danger">'.Translator::numberToLocale($r['prezzo_ore_consuntivo_tecnico'] - $r['prezzo_dirittochiamata_tecnico']).'</td>
<td class="text-right danger">'.Translator::numberToLocale($r['prezzo_km_consuntivo_tecnico']).'</td>
<td class="text-right danger">'.Translator::numberToLocale($r['prezzo_dirittochiamata_tecnico']).'</td>
<td class="text-right success">'.Translator::numberToLocale($r['prezzo_ore_consuntivo']).$sconto_ore.'</td>
<td class="text-right success">'.Translator::numberToLocale($r['prezzo_ore_consuntivo'] - $r['prezzo_dirittochiamata']).$sconto_ore.'</td>
<td class="text-right success">'.Translator::numberToLocale($r['prezzo_km_consuntivo']).$sconto_km.'</td>
<td class="text-right success">'.Translator::numberToLocale($r['prezzo_dirittochiamata']).'</td>
</tr>';

4
modules/preventivi/plugins/preventivi.consuntivo.php Normal file → Executable file
View File

@ -112,10 +112,10 @@ if (!empty($rsi)) {
<td>'.$r['idtipointervento'].'</td>
<td class="text-right">'.Translator::numberToLocale($r['ore']).'</td>
<td class="text-right">'.Translator::numberToLocale($r['km']).'</td>
<td class="text-right danger">'.Translator::numberToLocale($r['prezzo_ore_consuntivo_tecnico']).'</td>
<td class="text-right danger">'.Translator::numberToLocale($r['prezzo_ore_consuntivo_tecnico'] - $r['prezzo_dirittochiamata_tecnico']).'</td>
<td class="text-right danger">'.Translator::numberToLocale($r['prezzo_km_consuntivo_tecnico']).'</td>
<td class="text-right danger">'.Translator::numberToLocale($r['prezzo_dirittochiamata_tecnico']).'</td>
<td class="text-right success">'.Translator::numberToLocale($r['prezzo_ore_consuntivo']).$sconto_ore.'</td>
<td class="text-right success">'.Translator::numberToLocale($r['prezzo_ore_consuntivo'] - $r['prezzo_dirittochiamata']).$sconto_ore.'</td>
<td class="text-right success">'.Translator::numberToLocale($r['prezzo_km_consuntivo']).$sconto_km.'</td>
<td class="text-right success">'.Translator::numberToLocale($r['prezzo_dirittochiamata']).'</td>
</tr>';