Fix typing with casts
This commit is contained in:
parent
6eeab82dd4
commit
629e445f30
1 changed files with 1 additions and 1 deletions
|
|
@ -387,7 +387,7 @@ if ($resql) {
|
|||
print '<br>';
|
||||
}
|
||||
|
||||
print $langs->trans("Total").' ('.$totalqty.' '.$langs->trans("Articles").') : <div class="inline-block amount width100">'.price($cash + $cheque + $bank + $other).'</div>';
|
||||
print $langs->trans("Total").' ('.$totalqty.' '.$langs->trans("Articles").') : <div class="inline-block amount width100">'.price((float) $cash + (float) $cheque + (float) $bank + (float) $other).'</div>';
|
||||
|
||||
print '<br>'.$langs->trans("TotalVAT").' : <div class="inline-block amount width100">'.price($totalvat).'</div>';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue