day book master changes

This commit is contained in:
gandhimathi 2018-04-26 15:53:38 +05:30
parent d3b0a91efe
commit 545073b82d

View File

@ -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) {