From c42da942261fe99f3db1eec59bf49b12446b224a Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 11 May 2006 18:06:00 +0000 Subject: [PATCH] bugfix: #16565 --- htdocs/fourn/facture/paiement.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/fourn/facture/paiement.php b/htdocs/fourn/facture/paiement.php index b05d626fd32..89dcf8e6da6 100644 --- a/htdocs/fourn/facture/paiement.php +++ b/htdocs/fourn/facture/paiement.php @@ -352,7 +352,7 @@ if (! $_GET['action'] && ! $_POST['action']) if (! $sortorder) $sortorder='DESC'; if (! $sortfield) $sortfield='p.datep'; - $sql = 'SELECT p.rowid, '.$db->pdate('p.datep').' as dp, p.amount'; + $sql = 'SELECT p.rowid, '.$db->pdate('p.datep').' as dp, p.amount as pamount'; $sql .= ', f.amount, f.facnumber, s.nom'; $sql .= ', f.rowid as facid, c.libelle as paiement_type, p.num_paiement'; $sql .= ', ba.rowid as bid, ba.label'; @@ -430,7 +430,7 @@ if (! $_GET['action'] && ! $_POST['action']) if ($objp->bid) print ''.img_object($langs->trans("ShowAccount"),'account').' '.dolibarr_trunc($objp->label,24).''; else print ' '; print ''; - print ''.price($objp->amount).' '; + print ''.price($objp->pamount).' '; print ''; $i++; }