Improvements to traffic collection, zero record ignore, some fixes to order_by

This commit is contained in:
Deon George
2013-10-14 11:26:08 +11:00
parent 335e8e65bd
commit c347032497
6 changed files with 94 additions and 4 deletions

View File

@@ -11,7 +11,7 @@
*/
class Task_Invoice_Listoverdue extends Minion_Task {
protected function _execute(array $params) {
$overdue = ORM::factory('Invoice')->list_overdue();
$overdue = ORM::factory('Invoice')->list_overdue(NULL,FALSE);
$rtms = $invoices = array();
foreach ($overdue as $io)