Commit 09bbf9f707af9ded7c026675cc63c183701e2a53

Authored by Rishav
1 parent e9a2edf033
Exists in master

customer view issue

app/partials/customers/customers.controller.js
... ... @@ -26,7 +26,6 @@
26 26  
27 27 $scope.editMargin = function(customer){
28 28 event.stopPropagation();
29   - event.preventDefault()
30 29 console.log(customer.masterMargin)
31 30  
32 31 var companyMargin = "companyName=" + customer.companyName + "&masterMargin=" + customer.masterMargin
... ...
app/partials/customers/customers.html
... ... @@ -155,7 +155,7 @@
155 155 <button type="button" ng-if="customer.activate == false" class="btn btn-warning btn-xs">InActive</button>
156 156 </td>
157 157 <td class="font-company">
158   - <select class="form-control" ng-blur="editMargin(customer)" style="height:31px;" ng-model="customer.masterMargin" ng-options="margin.id as margin.marginName for margin in marginList" required></select>
  158 + <select class="form-control" ng-click="editMargin(customer)" style="height:31px;" ng-model="customer.masterMargin" ng-options="margin.id as margin.marginName for margin in marginList" required></select>
159 159 <!-- <select class="form-control" style="height:31px;">
160 160 <option>Margin1</option>
161 161 <option>Margin2</option>
... ...