diff --git a/htdocs/product/stats/facture_fournisseur.php b/htdocs/product/stats/facture_fournisseur.php index 20bb56a3c19..8c584349f91 100644 --- a/htdocs/product/stats/facture_fournisseur.php +++ b/htdocs/product/stats/facture_fournisseur.php @@ -264,7 +264,7 @@ if ($id > 0 || !empty($ref)) { print dol_print_date($db->jdate($objp->datef), 'dayhour').""; print ''.$objp->qty."\n"; print ''.price($objp->line_total_ht)."\n"; - print ''.$supplierinvoicestatic->LibStatut($objp->paye, $objp->statut, 5).''; + print ''.$supplierinvoicestatic->LibStatut($objp->paye, $objp->statut, 5, $supplierinvoicestatic->getSommePaiement()).''; print "\n"; $i++; }