|
|
|
@ -85,7 +85,7 @@ define(['angular', 'decimal', 'uiRouter', 'ngBootSwitch', 'ngFileUpload', 'uiBoo
|
|
|
|
|
$scope.partner.sameAsAddress = false;
|
|
|
|
|
|
|
|
|
|
$scope.partner.partner_type = $scope.partner.company_website ? 'website' : 'photo';
|
|
|
|
|
if ($scope.partner.representativeInfo) {
|
|
|
|
|
if ($scope.partner.representativeInfo.phone) {
|
|
|
|
|
$scope.partner.representativeInfo.phone = $scope.partner.representativeInfo.phone.substring(1, $scope.partner.contact_phone.length);
|
|
|
|
|
}
|
|
|
|
|
$scope.getMerchantLocation = function () {
|
|
|
|
|