Skip to content

Commit

Permalink
Code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jul 2, 2018
1 parent fec9a96 commit dc69960
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/core/class/discount.class.php
Expand Up @@ -509,11 +509,11 @@ function getSumDepositsUsed($invoice, $multicurrency=0)
}

/**
* 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)
{
Expand Down

0 comments on commit dc69960

Please sign in to comment.