Rename Monthly Inventory to Movement
This commit is contained in:
@@ -4,13 +4,13 @@
|
||||
reportSvc.$inject = ['$http'];
|
||||
function reportSvc($http) {
|
||||
var distributionData = [];
|
||||
var monthlyInventoryData = {};
|
||||
var movementData = {};
|
||||
|
||||
var svc = {
|
||||
distributionData: distributionData,
|
||||
loadDistributionReport: loadDistributionReport,
|
||||
monthlyInventoryData: monthlyInventoryData,
|
||||
loadMonthlyInventoryData: loadMonthlyInventoryData
|
||||
movementData: movementData,
|
||||
loadMovementData: loadMovementData
|
||||
};
|
||||
|
||||
return svc;
|
||||
@@ -22,10 +22,10 @@
|
||||
});
|
||||
}
|
||||
|
||||
function loadMonthlyInventoryData(query) {
|
||||
return $http.post('/Report/MonthlyInventory', query)
|
||||
function loadMovementData(query) {
|
||||
return $http.post('/Report/Movement', query)
|
||||
.success(function (data) {
|
||||
angular.copy(data, monthlyInventoryData);
|
||||
angular.copy(data, movementData);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user