';
- print '| '.$langs->trans('TotalTTC').' | ';
- if (!empty($conf->multicurrency->enabled)) {
+ print ''.$langs->trans('TotalTTC').' | ';
+ if (!empty($conf->multicurrency->enabled)) {
print ' | ';
- print ' | ';
- print ' | ';
+ print ' | ';
+ print ' | ';
}
- print ''.price($sign * $total_ttc).' | ';
+ print ''.price($sign * $total_ttc).' | ';
print ''.price($sign * $totalrecu);
if ($totalrecucreditnote) print '+'.price($totalrecucreditnote);
if ($totalrecudeposits) print '+'.price($totalrecudeposits);
print ' | ';
- print ''.price($sign * price2num($total_ttc - $totalrecu - $totalrecucreditnote - $totalrecudeposits, 'MT')).' | ';
- print ' | ';
- if (!empty($conf->multicurrency->enabled)) {
- print ' | ';
+ print ''.price($sign * price2num($total_ttc - $totalrecu - $totalrecucreditnote - $totalrecudeposits, 'MT')).' | ';
+ print ' | ';
+ if (!empty($conf->multicurrency->enabled)) {
+ print ' | ';
}
print "
\n";
}
@@ -1018,7 +1018,7 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie
$db->free($resql);
}
else
- {
+ {
dol_print_error($db);
}
@@ -1051,9 +1051,9 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie
if (!empty($totalpayment)) {
$text = $langs->trans('ConfirmCustomerPayment', $totalpayment, $langs->trans("Currency".$conf->currency));
}
- if (!empty($multicurrency_totalpayment)) {
- $text.='