@@ -145,6 +145,7 @@ class Resource
'refund_status' => '1',
'status' => '8',
);
+ $where = ' uid = ' . $where['uid'] . ' and (refund_status = 1 or status = 8)';
} else {
$where['status'] = array('in', $status);
}