hokky 1 місяць тому
батько
коміт
f5c30e339e

+ 7 - 4
resources/views/front/dabory/myapp/popup/popup-form1/form-a/member-seller-edit-form.blade.php

@@ -179,6 +179,9 @@
                     let parameter = {
                         Id: id,
                         CompanyName: $(member_company_form).find('#company-name-txt').val(),
+                        BankName: $(member_company_form).find('#bank-name-txt').val(),
+                        AccountNo: $(member_company_form).find('#account-no-txt').val(),
+                        HolderName: $(member_company_form).find('#holder-name-txt').val()
                     }
 
                     console.log(parameter)
@@ -221,13 +224,13 @@
                     $(member_company_form).find('#company-name-txt').val(company.CompanyName)
                     $(member_company_form).find('#email-txt').val(member.Email)
                     $(member_company_form).find('#mobile-no-txt').val(member_ext.MobileNo)
-                    $(member_company_form).find('#bank-name-txt').val(member_ext.BankName)
-                    $(member_company_form).find('#account-no-txt').val(member_ext.BankAccountNo)
-                    $(member_company_form).find('#holder-name-txt').val(member_ext.AccountHolder)
+                    $(member_company_form).find('#bank-name-txt').val(company.BankName)
+                    $(member_company_form).find('#account-no-txt').val(company.AccountNo)
+                    $(member_company_form).find('#holder-name-txt').val(company.HolderName)
                     $(member_company_form).find('#ssn1-txt').val(member_ext.Ssn1)
                     $(member_company_form).find('#ssn2-txt').val(member_ext.Ssn2)
                     $(member_company_form).find('#ssn-card-img-txt').val(member_ext.SsnCardImg)
-                    $(member_company_form).find('#bank-account-img-txt').val(member_ext.BankAccountImg)
+                    $(member_company_form).find('#bank-account-img-txt').val(company.BankAccountImg)
                 }