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