fix proforma invoice currency rate

This commit is contained in:
Omair Saleh
2022-09-30 13:47:35 +08:00
parent e81fc62fd7
commit 08d4aa1e1e
@@ -135,7 +135,7 @@ class CreateProformaInvoiceTransactionProcessor
$transaction = $booking->transactions()
->where('type', TransactionType::PAYMENT)
->first();
dd($booking->transactions()->where('status', ApprovalStatus::PENDING_SUBMISSION)->whereDate('expires_on', '>', Carbon::now())->get());
dd($booking->transactions()->where('status', ApprovalStatus::PENDING_SUBMISSION)->get());
dd($booking->transactions()->payments()->where(function($query){
return $query->where(function($query){
return $query->where('status', ApprovalStatus::PENDING_SUBMISSION)->whereDate('expires_on', '>', Carbon::now());