Hi,

I think there's a documentation problem with functions LibStatut and
getLibStatut of commoninvoice.class.php.

getLibStatut calls libStatut with $alreadypaid as int value: 0: not paid,
1: some payments done
and LibStatut tells that $alreadypaid is a double value with the amount
paid.

The result of this problem is some pages calling LibStatut with
$alreadypaid = amount paid and a "pending payments" invoice is shown as
"Started" while it should be "Pending payments".

Also, I see $paye and $alreadypaid are duplicated when calling from
getLibStatut as both variables mean the same.

What is the correct use of LibStatut?

Regards,


*Marcos García*

[email protected]
_______________________________________________
Dolibarr-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/dolibarr-dev

Répondre à