Fixing style errors.
This commit is contained in:
parent
f497f4d6e9
commit
21aa69b11a
@ -276,7 +276,7 @@ class Paiement extends CommonObject
|
|||||||
}
|
}
|
||||||
if (empty($currencyofpayment)) {
|
if (empty($currencyofpayment)) {
|
||||||
$currencyofpayment = isset($this->multicurrency_code[$key]) ? $this->multicurrency_code[$key] : "";
|
$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
|
// If we have invoices with different currencies in the payment, we stop here
|
||||||
$this->error = 'ErrorYouTryToPayInvoicesWithDifferentCurrenciesInSamePayment';
|
$this->error = 'ErrorYouTryToPayInvoicesWithDifferentCurrenciesInSamePayment';
|
||||||
return -1;
|
return -1;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user