This commit is contained in:
ldestailleur 2025-05-15 13:12:06 +02:00
parent 54e8128475
commit 847d016a7f

View file

@ -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)