diff --git a/src/main/ui/static/payment/partner/partner-manage.js b/src/main/ui/static/payment/partner/partner-manage.js index c7652834b..575637bcf 100644 --- a/src/main/ui/static/payment/partner/partner-manage.js +++ b/src/main/ui/static/payment/partner/partner-manage.js @@ -3209,12 +3209,11 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter }); return; } - + var option = []; angular.forEach(form, function (item, key) { if(item !=null) { if(item.$name !=null) { - var name = item.$name; - merchantInfo.name = item.$modelValue; + merchantInfo[key] = item.$modelValue; console.log("++++" + item.$name + "++++" + item.$modelValue); } } diff --git a/src/main/ui/static/payment/partner/templates/apply_rpay_sub_merchant_id.html b/src/main/ui/static/payment/partner/templates/apply_rpay_sub_merchant_id.html index d898d0af8..90806d504 100644 --- a/src/main/ui/static/payment/partner/templates/apply_rpay_sub_merchant_id.html +++ b/src/main/ui/static/payment/partner/templates/apply_rpay_sub_merchant_id.html @@ -12,7 +12,7 @@
+ type="text" name="company_name" id="merchant_name_input" required maxlength="50">

Required Field

Length is more than 50

@@ -47,10 +47,10 @@
- +
+ type="text" name="company_website" id="company_website_input">
-
- +
+
-
+ type="text" name="country" id="country_input"> +

Required Field

@@ -165,7 +165,7 @@
+ type="text" name="address" id="company_address_input">

Required Field

Length is more than 50