|
|
@ -7029,7 +7029,7 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
|
|
|
|
} else if ($scope.merchantInfo.certificat_expire_date == 'N/A') {
|
|
|
|
} else if ($scope.merchantInfo.certificat_expire_date == 'N/A') {
|
|
|
|
$scope.subMerchantInfo.certificat_expire_date_NA = true
|
|
|
|
$scope.subMerchantInfo.certificat_expire_date_NA = true
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
var datestr = subMerchantInfo.certificat_expire_date.replace(/-/g, '/')
|
|
|
|
var datestr = $scope.merchantInfo.certificat_expire_date.replace(/-/g, '/')
|
|
|
|
$scope.subMerchantInfo.certificat_expire_date_d = new Date(datestr)
|
|
|
|
$scope.subMerchantInfo.certificat_expire_date_d = new Date(datestr)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -7093,6 +7093,7 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
|
|
|
|
address: $scope.subMerchantInfo.address,
|
|
|
|
address: $scope.subMerchantInfo.address,
|
|
|
|
business_type: $scope.subMerchantInfo.business_type,
|
|
|
|
business_type: $scope.subMerchantInfo.business_type,
|
|
|
|
sub_mch_id: $scope.subMerchantInfo.sub_merchant_id,
|
|
|
|
sub_mch_id: $scope.subMerchantInfo.sub_merchant_id,
|
|
|
|
|
|
|
|
merchant_remark: $scope.subMerchantInfo.merchant_remark,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (params.business_type == 'ONLINE') {
|
|
|
|
if (params.business_type == 'ONLINE') {
|
|
|
|
params.address = null
|
|
|
|
params.address = null
|
|
|
|