mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-11 18:32:32 +01:00
Add translation for IBAN Valid or not
This commit is contained in:
@@ -245,7 +245,15 @@ if (($_GET["id"] || $_GET["ref"]) && $action != 'edit')
|
||||
if ($account->getCountryCode() == 'IN') $bickey="SWIFT";
|
||||
|
||||
print '<tr><td valign="top">'.$langs->trans($ibankey).'</td>';
|
||||
print '<td colspan="3">'.$account->iban.'</td></tr>';
|
||||
print '<td colspan="3">'.$account->iban.' ';
|
||||
if (! empty($account->iban)) {
|
||||
if (! checkIbanForAccount($account)) {
|
||||
print img_picto($langs->trans("IbanNotValid"),'warning');
|
||||
} else {
|
||||
print img_picto($langs->trans("IbanValid"),'info');
|
||||
}
|
||||
}
|
||||
print '</td></tr>';
|
||||
|
||||
print '<tr><td valign="top">'.$langs->trans($bickey).'</td>';
|
||||
print '<td colspan="3">'.$account->bic.'</td></tr>';
|
||||
|
||||
@@ -33,6 +33,8 @@ AllTime=From start
|
||||
Reconciliation=Reconciliation
|
||||
RIB=Bank Account Number
|
||||
IBAN=IBAN number
|
||||
IbanValid=Valid IBAN
|
||||
IbanNotValid=Not Valid IBAN
|
||||
BIC=BIC/SWIFT number
|
||||
StandingOrders=Standing orders
|
||||
StandingOrder=Standing order
|
||||
|
||||
@@ -296,9 +296,9 @@ if ($socid && $action != 'edit' && $action != "create")
|
||||
print '<td colspan="4">'.$account->iban . ' ';
|
||||
if (! empty($account->iban)) {
|
||||
if (! checkIbanForAccount($account)) {
|
||||
print img_picto($langs->trans("NotValid"),'warning');
|
||||
print img_picto($langs->trans("IbanNotValid"),'warning');
|
||||
} else {
|
||||
print img_picto($langs->trans("IsValid"),'info');
|
||||
print img_picto($langs->trans("IbanValid"),'info');
|
||||
}
|
||||
}
|
||||
print '</td></tr>';
|
||||
|
||||
Reference in New Issue
Block a user