Fixes for viewing unprocessed charges

This commit is contained in:
Deon George
2022-07-25 23:59:28 +10:00
parent bb44c1a216
commit cc906e9b22
2 changed files with 4 additions and 4 deletions

View File

@@ -61,7 +61,7 @@ class Charge extends Model
{
return $query
->where('active',TRUE)
->whereNotNull('charge_date')
->whereNotNull('charge_at')
->whereNotNull('type')
->where(function($q) {
return $q->where('processed',FALSE)