|
|
|
@ -7373,7 +7373,7 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
|
|
|
|
|
$scope.subMerchantInfo = angular.copy(subMerchantInfo)
|
|
|
|
|
$scope.subMerchantInfo.online = online;
|
|
|
|
|
$scope.subMerchantInfo.merchantDisplayName = $scope.subMerchantInfo.short_name;
|
|
|
|
|
$scope.subMerchantInfo.registrationAddress = $scope.subMerchantInfo.address;
|
|
|
|
|
$scope.subMerchantInfo.registrationAddress = $scope.subMerchantInfo.address+","+$scope.subMerchantInfo.suburb+","+$scope.subMerchantInfo.state;
|
|
|
|
|
|
|
|
|
|
// if ($scope.subMerchantInfo.client_pay_type) {
|
|
|
|
|
// if ($scope.subMerchantInfo.client_pay_type.indexOf('1') >= 0 && $scope.subMerchantInfo.client_pay_type.indexOf('2') >= 0) {
|
|
|
|
@ -7389,20 +7389,20 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
|
|
|
|
|
// $scope.subMerchantInfo.business_type_offline = true;
|
|
|
|
|
// }
|
|
|
|
|
if ($scope.subMerchantInfo.online) {
|
|
|
|
|
$scope.title = "AlipayPlus-aps(Online)Registration";
|
|
|
|
|
$scope.title = "Alipay+(Online)Registration";
|
|
|
|
|
} else {
|
|
|
|
|
$scope.title = "AlipayPlus-aps(Retail)Registration";
|
|
|
|
|
$scope.title = "Alipay+(Retail)Registration";
|
|
|
|
|
}
|
|
|
|
|
$scope.subMerchantInfo.websiteType = 'WEB';
|
|
|
|
|
$scope.subMerchantInfo.website = $scope.subMerchantInfo.company_website;
|
|
|
|
|
$scope.subMerchantInfo.legalName = $scope.subMerchantInfo.company_name;
|
|
|
|
|
$scope.subMerchantInfo.registrationType = 'OTHER_IDENTIFICATION_NO'
|
|
|
|
|
$scope.subMerchantInfo.registrationType = 'ENTERPRISE_REGISTRATION_NO'
|
|
|
|
|
if ($scope.subMerchantInfo.business_structure) {
|
|
|
|
|
$scope.subMerchantInfo.businessType = $scope.subMerchantInfo.business_structure != 'Registered body(Sole Trader)' ? 'ENTERPRISE' : 'INDIVIDUAL'
|
|
|
|
|
$scope.subMerchantInfo.businessType = $scope.subMerchantInfo.business_structure == 'Company' ? 'ENTERPRISE' : 'INDIVIDUAL'
|
|
|
|
|
}
|
|
|
|
|
$scope.subMerchantInfo.shareholderName = $scope.subMerchantInfo.representativeInfo ? $scope.subMerchantInfo.representativeInfo.representative_person : "";
|
|
|
|
|
$scope.subMerchantInfo.representativeName = $scope.subMerchantInfo.representativeInfo ? $scope.subMerchantInfo.representativeInfo.representative_person : "";
|
|
|
|
|
$scope.subMerchantInfo.storeAddress = $scope.subMerchantInfo.address;
|
|
|
|
|
$scope.subMerchantInfo.storeAddress = $scope.subMerchantInfo.address+","+$scope.subMerchantInfo.suburb+","+$scope.subMerchantInfo.state;
|
|
|
|
|
$scope.subMerchantInfo.registrationNo = $scope.subMerchantInfo.acn ? $scope.subMerchantInfo.acn : $scope.subMerchantInfo.abn;
|
|
|
|
|
$scope.subMerchantInfo.storeMCC = $scope.subMerchantInfo.alipayindustry;
|
|
|
|
|
$scope.subMerchantInfo.storeName = $scope.subMerchantInfo.store_name;
|
|
|
|
|