mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fixing style errors.
This commit is contained in:
parent
f497f4d6e9
commit
21aa69b11a
|
|
@ -276,7 +276,7 @@ class Paiement extends CommonObject
|
|||
}
|
||||
if (empty($currencyofpayment)) {
|
||||
$currencyofpayment = isset($this->multicurrency_code[$key]) ? $this->multicurrency_code[$key] : "";
|
||||
} else if ($currencyofpayment != $this->multicurrency_code[$key]) {
|
||||
} elseif ($currencyofpayment != $this->multicurrency_code[$key]) {
|
||||
// If we have invoices with different currencies in the payment, we stop here
|
||||
$this->error = 'ErrorYouTryToPayInvoicesWithDifferentCurrenciesInSamePayment';
|
||||
return -1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user