center master changes done
This commit is contained in:
parent
bb48cba347
commit
c194d43498
@ -83,7 +83,8 @@ app.controller('centerCtrl', ["$scope","$rootScope","toaster", "$filter", "ngTab
|
|||||||
Address: myModel.Address,
|
Address: myModel.Address,
|
||||||
Comments:myModel.Comment,
|
Comments:myModel.Comment,
|
||||||
status: myModel.switchsetting,
|
status: myModel.switchsetting,
|
||||||
createdBy: JSON.parse(localStorage.getItem('localObj')).localUserID
|
createdBy: JSON.parse(localStorage.getItem('localObj')).localUserID,
|
||||||
|
branchCode:JSON.parse(localStorage.getItem('localObj')).localBranchID
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
$http(addCenter).then(function (response) {
|
$http(addCenter).then(function (response) {
|
||||||
@ -160,7 +161,8 @@ app.controller('centerCtrl', ["$scope","$rootScope","toaster", "$filter", "ngTab
|
|||||||
Comments:myModel.Comments,
|
Comments:myModel.Comments,
|
||||||
status: myModel.IsActive,
|
status: myModel.IsActive,
|
||||||
CenterID:myModel.CenterID,
|
CenterID:myModel.CenterID,
|
||||||
updateBy: JSON.parse(localStorage.getItem('localObj')).localUserID
|
updateBy: JSON.parse(localStorage.getItem('localObj')).localUserID,
|
||||||
|
branchCode:JSON.parse(localStorage.getItem('localObj')).localBranchID
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
$http(update).then(function (response) {
|
$http(update).then(function (response) {
|
||||||
@ -196,7 +198,8 @@ app.controller('centerCtrl', ["$scope","$rootScope","toaster", "$filter", "ngTab
|
|||||||
'Content-Type': 'application/json'
|
'Content-Type': 'application/json'
|
||||||
},
|
},
|
||||||
data: {
|
data: {
|
||||||
requestedBy: JSON.parse(localStorage.getItem('localObj')).localUserID
|
requestedBy: JSON.parse(localStorage.getItem('localObj')).localUserID,
|
||||||
|
branchCode:JSON.parse(localStorage.getItem('localObj')).localBranchID
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user