diff --git a/htdocs/fourn/facture/paiement.php b/htdocs/fourn/facture/paiement.php
index 6ac62419422..3ad6451d66b 100644
--- a/htdocs/fourn/facture/paiement.php
+++ b/htdocs/fourn/facture/paiement.php
@@ -439,12 +439,18 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie
$objp = $db->fetch_object($resql);
$var=!$var;
print '
';
+
+ // Ref
print '| ';
$invoicesupplierstatic->ref=$objp->ref;
$invoicesupplierstatic->id=$objp->facid;
print $invoicesupplierstatic->getNomUrl(1);
print ' | ';
+
+ // Ref supplier
print ''.$objp->ref_supplier.' | ';
+
+ // Date
if ($objp->df > 0 )
{
print '';
@@ -455,12 +461,12 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie
print ' | !!! | ';
}
- // Currency
- print ''.$objp->multicurrency_code." | \n";
-
// Multicurrency
if (!empty($conf->multicurrency->enabled))
{
+ // Currency
+ print ''.$objp->multicurrency_code." | \n";
+
print '';
if ($objp->multicurrency_code && $objp->multicurrency_code != $conf->currency)
{
@@ -520,13 +526,16 @@ if ($action == 'create' || $action == 'confirm_paiement' || $action == 'add_paie
{
// Print total
print ' |
';
- print '| '.$langs->trans('TotalTTC').': | ';
+ print ''.$langs->trans('TotalTTC').': | ';
+ if (!empty($conf->multicurrency->enabled)) print ' | ';
+ if (!empty($conf->multicurrency->enabled)) print ' | ';
+ if (!empty($conf->multicurrency->enabled)) print ' | ';
+ if (!empty($conf->multicurrency->enabled)) print ' | ';
print ''.price($total_ttc).' | ';
- if (!empty($conf->multicurrency->enabled)) print ' | ';
- print ''.price($totalrecu).' | ';
- if (!empty($conf->multicurrency->enabled)) print ' | ';
+ print ''.price($totalrecu).' | ';
print ''.price($total_ttc - $totalrecu).' | ';
print ' | ';
+ if (!empty($conf->multicurrency->enabled)) print ' | ';
print "
\n";
}
print "\n";