dolibarr-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-dev] LibStatut and getLibStatut


From: Marcos García
Subject: [Dolibarr-dev] LibStatut and getLibStatut
Date: Sat, 13 Apr 2013 17:07:38 +0200

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
address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]