Replace status with active in tables
This commit is contained in:
@@ -18,7 +18,7 @@ class Task_Account_Complete extends Minion_Task {
|
||||
|
||||
foreach ($o->find_all() as $ao) {
|
||||
if (count($ao->invoice->where_unprocessed()->find_all()) == 0 AND count($ao->service->where_active()->find_all()) == 0)
|
||||
$ao->status = 0;
|
||||
$ao->active = 0;
|
||||
|
||||
$ao->save();
|
||||
|
||||
|
Reference in New Issue
Block a user