v.2.28
This commit is contained in:
@@ -263,8 +263,8 @@
|
||||
};
|
||||
|
||||
$scope.reportPay = function (shift) {
|
||||
smartRequest.get('report/payment?shift_id=' + shift.id, function (data) {
|
||||
$scope.printers = data.printers;
|
||||
smartRequest.get('v1/datareport?type=payment&shift_id=' + shift.id, function (data) {
|
||||
$scope.printers = data.items;
|
||||
$scope.start_date = shift.opened;
|
||||
$scope.end_date = shift.closed;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user