v.2.15
Обновление отчета по персоналу
This commit is contained in:
@@ -323,7 +323,7 @@
|
||||
$scope.total = data.total;
|
||||
});
|
||||
|
||||
smartRequest.get('dashboard/online/staff', function (data) {
|
||||
smartRequest.get('v1/onlinestaff?method=dashboard', function (data) {
|
||||
$scope.personals = data.staff;
|
||||
});
|
||||
|
||||
@@ -503,7 +503,7 @@
|
||||
$scope.total = data.total;
|
||||
});
|
||||
|
||||
smartRequest.get('dashboard/online/staff', function (data) {
|
||||
smartRequest.get('v1/onlinestaff?method=dashboard', function (data) {
|
||||
$scope.personals = data.staff;
|
||||
});
|
||||
|
||||
@@ -730,6 +730,14 @@
|
||||
});
|
||||
};
|
||||
|
||||
$scope.getItemsStaff = function (order) {
|
||||
$('#get-more-staff').modal('toggle');
|
||||
smartRequest.get('v1/onlinestaff?method=items&order=' + order.number, function (data) {
|
||||
$scope.order = data;
|
||||
$('#items-staff').modal('toggle');
|
||||
});
|
||||
};
|
||||
|
||||
$scope.getItemsDiscount = function (order) {
|
||||
$('#get-more-discount').modal('toggle');
|
||||
smartRequest.get('v1/discountitems?order=' + order.number, function (data) {
|
||||
|
||||
Reference in New Issue
Block a user