mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-25 07:23:59 +00:00
show only purchase orders for bookings with confirmed payments
This commit is contained in:
@@ -18,6 +18,6 @@ class HasPaymentStatusIn implements Filter
|
||||
{
|
||||
return $builder->whereHas('transactions', function($query) use($value) {
|
||||
return $query->where('transactions.type', TransactionType::PAYMENT)->where('transactions.status', $value);
|
||||
});
|
||||
})->dd();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user