From 847d016a7f0e887db224becc273fa98b3d4e8b3d Mon Sep 17 00:00:00 2001 From: ldestailleur Date: Thu, 15 May 2025 13:12:06 +0200 Subject: [PATCH] Doc --- htdocs/core/class/commoninvoice.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/commoninvoice.class.php b/htdocs/core/class/commoninvoice.class.php index ddad883acfd..da0a40aeaad 100644 --- a/htdocs/core/class/commoninvoice.class.php +++ b/htdocs/core/class/commoninvoice.class.php @@ -940,7 +940,7 @@ abstract class CommonInvoice extends CommonObject /** * Return label of a status * - * @param int $paye Status field $paye (no more used, replaced with $status) or $recur. + * @param int $paye Field to 1 if invoice is closed (TODO Detect this using $status instead of using this param). * @param int $status ID status * @param int<0,6> $mode 0=long label, 1=short label, 2=Picto + short label, 3=Picto, 4=Picto + long label, 5=short label + picto, 6=long label + picto * @param int|float $alreadypaid 0=No payment already done, >0=Some payments were already done (we recommend to put here float amount paid if you have it, -1 otherwise)