Commit 65045c830a1212ba6f3ef1b37730582b3491dc3b
1 parent
f49ed758ac
Exists in
master
margin
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/partials/customers/customers.controller.js
... | ... | @@ -107,11 +107,11 @@ |
107 | 107 | |
108 | 108 | ViewCompanyService.updateCompany(companyMargin).then(function(result) { |
109 | 109 | if(result != null && result.success){ |
110 | - $scope.showLoader = false; | |
110 | + $scope.showLoader = false; | |
111 | + getAllCompanies(); | |
111 | 112 | toastr.success(''+result.success+'', { |
112 | 113 | closeButton: true |
113 | 114 | }) |
114 | - getAllCompanies(); | |
115 | 115 | }else{ |
116 | 116 | $scope.showLoader = false; |
117 | 117 | toastr.error(''+result.statusText+'', { | ... | ... |