UTF-8
2.4.0
diff --git a/src/main/ui/static/payment/partner/partner-manage.js b/src/main/ui/static/payment/partner/partner-manage.js
index 2c9e5aa1e..ee5562f0f 100644
--- a/src/main/ui/static/payment/partner/partner-manage.js
+++ b/src/main/ui/static/payment/partner/partner-manage.js
@@ -7143,7 +7143,7 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
params.company_website = null
}
- if (params.merchant_type == 'ENTERPRISE') {
+ // if (params.merchant_type == 'ENTERPRISE') {
params.director_name = $scope.subMerchantInfo.director_name
params.director_id_number = $scope.subMerchantInfo.director_id_number
params.company_register_no = $scope.subMerchantInfo.company_register_no
@@ -7159,10 +7159,10 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
alert('Certificate expiration time is required')
return
}
- } else {
- params.principal_name = $scope.subMerchantInfo.principal_name
- params.principal_id_number = $scope.subMerchantInfo.principal_id_number
- }
+ // } else {
+ // params.principal_name = $scope.subMerchantInfo.principal_name
+ // params.principal_id_number = $scope.subMerchantInfo.principal_id_number
+ // }
$http.post('/sys/partners/' + $scope.subMerchantInfo.client_moniker + '/new_sub_apply', params).then(
function (resp) {
@@ -7334,7 +7334,7 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
// params.principal_name = $scope.subMerchantInfo.principal_name;
// params.principal_id_number = $scope.subMerchantInfo.principal_id_number;
// }
- if (params.merchant_type == 'ENTERPRISE') {
+ // if (params.merchant_type == 'ENTERPRISE') {
params.company_register_no = $scope.subMerchantInfo.company_register_no
params.certificat_expire_date = $scope.subMerchantInfo.certificat_expire_date
if ($scope.subMerchantInfo.certificat_expire_date_d) {
@@ -7347,7 +7347,7 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
alert('Certificate expiration time is required')
return
}
- }
+ // }
$http.put('/sys/partners/' + $scope.merchantInfo.client_moniker + '/get_merchant_ids/' + $scope.subMerchantInfo.merchant_app_id, params).then(
function (resp) {
$scope.apply_sub_merchant_id = resp.data
diff --git a/src/main/ui/static/payment/partner/templates/add_partner.html b/src/main/ui/static/payment/partner/templates/add_partner.html
index 720d630d4..0bff4f0c3 100644
--- a/src/main/ui/static/payment/partner/templates/add_partner.html
+++ b/src/main/ui/static/payment/partner/templates/add_partner.html
@@ -309,7 +309,7 @@
-
-
-
-
-