batch master changes done
This commit is contained in:
parent
d4e1c59ef6
commit
9a68a3deda
@ -104,7 +104,8 @@ app.controller('batchCtrl', ["$scope","$rootScope","toaster", "$filter", "ngTabl
|
|||||||
batcheDate: $filter('date')(new Date(myModel.date), 'dd-MM-yyyy'),
|
batcheDate: $filter('date')(new Date(myModel.date), 'dd-MM-yyyy'),
|
||||||
universityName: myModel.universityName,
|
universityName: myModel.universityName,
|
||||||
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(addBatch).then(function (response) {
|
$http(addBatch).then(function (response) {
|
||||||
@ -170,7 +171,8 @@ app.controller('batchCtrl', ["$scope","$rootScope","toaster", "$filter", "ngTabl
|
|||||||
batchName: editModel.editBatchName,
|
batchName: editModel.editBatchName,
|
||||||
batchDate: editModel.editDate,
|
batchDate: editModel.editDate,
|
||||||
status: myModel.IsActive,
|
status: myModel.IsActive,
|
||||||
createdBy: JSON.parse(localStorage.getItem('localObj')).localUserID
|
createdBy: JSON.parse(localStorage.getItem('localObj')).localUserID,
|
||||||
|
branchCode:JSON.parse(localStorage.getItem('localObj')).localBranchID
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
$http(update).then(function (response) {
|
$http(update).then(function (response) {
|
||||||
@ -210,7 +212,8 @@ app.controller('batchCtrl', ["$scope","$rootScope","toaster", "$filter", "ngTabl
|
|||||||
batchCode: details.BatchCode,
|
batchCode: details.BatchCode,
|
||||||
IsDefault: $scope.defaultBatch,
|
IsDefault: $scope.defaultBatch,
|
||||||
universityID: details.UniversityID,
|
universityID: details.UniversityID,
|
||||||
updatedBy: JSON.parse(localStorage.getItem('localObj')).localUserID
|
updatedBy: JSON.parse(localStorage.getItem('localObj')).localUserID,
|
||||||
|
branchCode:JSON.parse(localStorage.getItem('localObj')).localBranchID
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
$http(changeDefault).then(function (response) {
|
$http(changeDefault).then(function (response) {
|
||||||
@ -246,7 +249,8 @@ app.controller('batchCtrl', ["$scope","$rootScope","toaster", "$filter", "ngTabl
|
|||||||
'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