Minor fixes from live site.
This commit is contained in:
@@ -18,7 +18,7 @@ class Task_Invoice_Reminddue extends Minion_Task {
|
||||
foreach (ORM::factory('Invoice')->list_due(time()+86400*$days) as $io) {
|
||||
// @todo Use another option to supress reminders
|
||||
// If we have already sent a reminder, we'll skip to the next one.
|
||||
if (($io->remind($key) AND (is_null($x=$this->request->param('id')) OR $x != 'again')) OR ($io->account->invoice_delivery != 1))
|
||||
if ($io->remind($key) OR ($io->account->invoice_delivery != 1))
|
||||
continue;
|
||||
|
||||
// Generate a token to view the invoice online
|
||||
|
Reference in New Issue
Block a user