fix: don't format IBAN for countries with special rules
This commit is contained in:
parent
a6faab8ee9
commit
3e38c0bc4e
1 changed files with 1 additions and 1 deletions
|
|
@ -1135,7 +1135,7 @@ Object.assign(frappe.utils, {
|
|||
},
|
||||
|
||||
get_formatted_iban(value) {
|
||||
if (!value) {
|
||||
if (!value || ["BI", "SV", "EG", "LY"].some((country) => value.startsWith(country))) {
|
||||
return value;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue