Koha::Acquisition::Orders object set class
my $late_orders = $orders->filter_by_lates($params);
Filter an order set given different parameters.
This is the equivalent method of the former GetLateOrders C4 subroutine
$params can be:
delay
the number of days the basket has been closedbookseller_id
the bookseller idestimated_from
Beginning of the estimated delivery dateestimated_to
End of the estimated delivery date$orders->filter_by_current
Return the orders of the set that have not been cancelled.
$orders->filter_by_cancelled
Return the orders of the set that have been cancelled.