From 0a242983859f864d36ea2760af713098cbc49041 Mon Sep 17 00:00:00 2001 From: Alexandre SPANGARO Date: Fri, 4 Dec 2020 02:57:40 +0100 Subject: [PATCH] FIX: Problem on supplier payment card --- htdocs/fourn/class/paiementfourn.class.php | 1 + htdocs/fourn/paiement/card.php | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/fourn/class/paiementfourn.class.php b/htdocs/fourn/class/paiementfourn.class.php index b48fef9759a..fd07cc7bf89 100644 --- a/htdocs/fourn/class/paiementfourn.class.php +++ b/htdocs/fourn/class/paiementfourn.class.php @@ -118,6 +118,7 @@ class PaiementFourn extends Paiement $this->bank_account = $obj->fk_account; $this->bank_line = $obj->fk_bank; $this->montant = $obj->amount; + $this->amount = $obj->amount; $this->note = $obj->note; $this->type_code = $obj->paiement_code; $this->type_libelle = $obj->paiement_type; diff --git a/htdocs/fourn/paiement/card.php b/htdocs/fourn/paiement/card.php index 6d9661ded5d..6aec24bb0a8 100644 --- a/htdocs/fourn/paiement/card.php +++ b/htdocs/fourn/paiement/card.php @@ -274,10 +274,9 @@ if ($result > 0) $i = 0; $total = 0; - print ''.$langs->trans("Invoices").'
'; print ''; print ''; - print ''; + print ''; print ''; print ''; print '';
'.$langs->trans('Ref').''.$langs->trans('Invoice').''.$langs->trans('RefSupplier').''.$langs->trans('Company').''.$langs->trans('ExpectedToPay').'