Code comment

This commit is contained in:
Laurent Destailleur 2018-07-02 12:17:34 +02:00
parent fec9a96ad1
commit dc69960b00

View File

@ -509,11 +509,11 @@ class DiscountAbsolute
}
/**
* Return amount (with tax) of all credit notes and deposits invoices used by invoice as a payment
* Return amount (with tax) of all credit notes invoices + excess received used by invoice as a payment
*
* @param CommonInvoice $invoice Object invoice
* @param int $multicurrency Return multicurrency_amount instead of amount
* @return int <0 if KO, Sum of credit notes and deposits amount otherwise
* @return int <0 if KO, Sum of credit notes and excess received amount otherwise
*/
function getSumCreditNotesUsed($invoice, $multicurrency=0)
{