diff --git a/manage.py b/manage.py old mode 100644 new mode 100755 diff --git a/project/templates/customer/clients/list.html b/project/templates/customer/clients/list.html index 1a41544..ced2dcf 100644 --- a/project/templates/customer/clients/list.html +++ b/project/templates/customer/clients/list.html @@ -87,7 +87,13 @@ if (data.address) clientAddress.val(data.address.value); } else { - bankFullName.val(data.name && data.name.full || ""); +{# console.log("----",suggestion);#} + if (data.name && data.name.full || "") { + bankFullName.val(data.name && data.name.full || ""); + } + if (data.name && data.name.payment || "") { + bankFullName.val(data.name && data.name.payment || ""); + } bankBic.val(data.bic); bankCorrespondentAccount.val(data.correspondent_account); }