taylor.dang 6 years ago
parent cd0695f33b
commit 2a8ffb5475

@ -68,7 +68,7 @@ define(['angular', 'decimal', 'uiRouter', 'ngBootSwitch', 'ngFileUpload'], funct
$scope.business_structures = businessStructuresMap.configs();
$scope.industries = industryMap.configs();
$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 () {
$http.get('/sys/partners/' + $scope.partner.client_moniker + '/location').then(function (resp) {

Loading…
Cancel
Save