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 '