From 545073b82da70b12d474c3e6f4a0ec63ae348620 Mon Sep 17 00:00:00 2001 From: gandhimathi Date: Thu, 26 Apr 2018 15:53:38 +0530 Subject: [PATCH] day book master changes --- Apollo/assets/js/controllers/dayBookMasterCtrl.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Apollo/assets/js/controllers/dayBookMasterCtrl.js b/Apollo/assets/js/controllers/dayBookMasterCtrl.js index 8d43f328..0f18e2ca 100755 --- a/Apollo/assets/js/controllers/dayBookMasterCtrl.js +++ b/Apollo/assets/js/controllers/dayBookMasterCtrl.js @@ -76,7 +76,7 @@ app.controller("dayBookMasterCtrl", ["$scope", "toaster", "$filter", "API_POINTS type: myModel.type, status: myModel.switchsetting, createdBy: JSON.parse(localStorage.getItem('localObj')).localUserID, - requestedBranch: JSON.parse(localStorage.getItem('localObj')).localBranchID + requestedBranch: JSON.parse(localStorage.getItem('localObj')).localBranchID } }; @@ -186,7 +186,8 @@ app.controller("dayBookMasterCtrl", ["$scope", "toaster", "$filter", "API_POINTS TypeID: myModel.TypeID, TypeName: myModel.TypeName, status: myModel.IsActive, - updatedBy: JSON.parse(localStorage.getItem('localObj')).localUserID + updatedBy: JSON.parse(localStorage.getItem('localObj')).localUserID, + requestedBranch: JSON.parse(localStorage.getItem('localObj')).localBranchID } }; $http(update).then(function (response) {