Fix phpcs
This commit is contained in:
parent
965bd171eb
commit
4fb36ce84d
@ -201,7 +201,7 @@ abstract class CommonInvoice extends CommonObject
|
|||||||
* @param int $multicurrency Return multicurrency_amount instead of amount
|
* @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 deposits amount otherwise
|
||||||
*/
|
*/
|
||||||
function getSumFromThisCreditNotesNotUsed($multicurrency=0)
|
public function getSumFromThisCreditNotesNotUsed($multicurrency=0)
|
||||||
{
|
{
|
||||||
require_once DOL_DOCUMENT_ROOT.'/core/class/discount.class.php';
|
require_once DOL_DOCUMENT_ROOT.'/core/class/discount.class.php';
|
||||||
|
|
||||||
|
|||||||
@ -636,7 +636,7 @@ class DiscountAbsolute
|
|||||||
* @param int $multicurrency Return multicurrency_amount instead of amount
|
* @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 deposits amount otherwise
|
||||||
*/
|
*/
|
||||||
function getSumFromThisCreditNotesNotUsed($invoice, $multicurrency=0)
|
public function getSumFromThisCreditNotesNotUsed($invoice, $multicurrency=0)
|
||||||
{
|
{
|
||||||
dol_syslog(get_class($this)."::getSumCreditNotesUsed", LOG_DEBUG);
|
dol_syslog(get_class($this)."::getSumCreditNotesUsed", LOG_DEBUG);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user