mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
fix proforma invoice currency rate
This commit is contained in:
+1
-1
@@ -135,7 +135,7 @@ class CreateProformaInvoiceTransactionProcessor
|
||||
$transaction = $booking->transactions()
|
||||
->where('type', TransactionType::PAYMENT)
|
||||
->first();
|
||||
dd($booking->transactions()->payments()->where(function($query){
|
||||
dd($booking->transactions()->where('type', TransactionType::PAYMENT)->where(function($query){
|
||||
return $query->where('status', ApprovalStatus::PENDING_SUBMISSION)->whereDate('expires_on', '>', Carbon::now())->get();
|
||||
})->orWhere(function($query){
|
||||
return $query->whereIn('status', [ApprovalStatus::APPROVED, ApprovalStatus::COMPLETED]);
|
||||
|
||||
Reference in New Issue
Block a user