diff --git a/app/partials/customers/customers.controller.js b/app/partials/customers/customers.controller.js index b6da5ce..0aa1c51 100644 --- a/app/partials/customers/customers.controller.js +++ b/app/partials/customers/customers.controller.js @@ -94,7 +94,7 @@ } $scope.editMargin = function(customer){ - //console.log('customer', customer); + console.log('customer', customer); $scope.showLoader = true; event.stopPropagation(); @@ -111,6 +111,7 @@ toastr.success(''+result.success+'', { closeButton: true }) + getAllCompanies(); }else{ $scope.showLoader = false; toastr.error(''+result.statusText+'', {