From 3fa18325c610a87d90d84544d93cdfd6bf36ddde Mon Sep 17 00:00:00 2001 From: HENRY Florian Date: Thu, 26 Oct 2023 13:31:48 +0200 Subject: [PATCH] fix: On Object refrent tab on item, supplier invoice status is not correct (#26348) --- htdocs/product/stats/facture_fournisseur.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; }