taylor.dang 6 years ago
parent 7cdad1807d
commit 5dbcfeedeb

@ -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