Fixing style errors.
This commit is contained in:
parent
2dc148eae0
commit
06d41c029d
@ -1496,7 +1496,7 @@ class Invoices extends DolibarrApi
|
||||
{
|
||||
$amount = price2num($amountarray["multicurrency_amount"], 'MT');
|
||||
}
|
||||
|
||||
|
||||
if ($amount > $remainstopay && $accepthigherpayment == false) {
|
||||
$this->db->rollback();
|
||||
throw new RestException(400, 'Payment amount on invoice ID '.$id.' ('.$amount.') is higher than remain to pay ('.$remainstopay.')');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user