From 2e4c0715c4cdf0913d87ce28923fa65c79df53d5 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 14 Oct 2025 21:05:34 +0200 Subject: [PATCH] Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop --- htdocs/compta/facture/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/facture/card.php b/htdocs/compta/facture/card.php index 0ebec149404..2554b1a5ad7 100644 --- a/htdocs/compta/facture/card.php +++ b/htdocs/compta/facture/card.php @@ -4804,7 +4804,7 @@ if ($action == 'create') { $resteapayer = price2num((float) $multicurrency_resteapayer / $object->multicurrency_tx, 'MT'); } } - var_dump($object->status); + if ($object->paye || $object->status == $object::STATUS_CLOSED) { $resteapayer = 0; }