|
|
@ -68,7 +68,7 @@ define(['angular', 'decimal', 'uiRouter', 'ngBootSwitch', 'ngFileUpload'], funct
|
|
|
|
$scope.business_structures = businessStructuresMap.configs();
|
|
|
|
$scope.business_structures = businessStructuresMap.configs();
|
|
|
|
$scope.industries = industryMap.configs();
|
|
|
|
$scope.industries = industryMap.configs();
|
|
|
|
$scope.partner = partner.data;
|
|
|
|
$scope.partner = partner.data;
|
|
|
|
$scope.partner.partner_type = $scope.partner.website ? 'website' : 'photo';
|
|
|
|
$scope.partner.partner_type = $scope.partner.company_website ? 'website' : 'photo';
|
|
|
|
|
|
|
|
|
|
|
|
$scope.getMerchantLocation = function () {
|
|
|
|
$scope.getMerchantLocation = function () {
|
|
|
|
$http.get('/sys/partners/' + $scope.partner.client_moniker + '/location').then(function (resp) {
|
|
|
|
$http.get('/sys/partners/' + $scope.partner.client_moniker + '/location').then(function (resp) {
|
|
|
|