mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-30 01:43:59 +00:00
import bank record
This commit is contained in:
@@ -28,7 +28,7 @@ class ImportsBankRecord implements ToModel, WithHeadingRow, WithBatchInserts, Wi
|
||||
$transaction = Transaction::whereIn('status', [ApprovalStatus::APPROVED, ApprovalStatus::COMPLETED])
|
||||
->where('type', TransactionType::PAYMENT)->where('owner_type', Booking::class)
|
||||
->WhereDate('created_at', $date->format('Y-m-d'))->where('amount', '>=', $credit)->where('amount', '<', ($credit + 0.01))->get();
|
||||
dd($transaction);
|
||||
|
||||
if(!count($transaction)) return;
|
||||
|
||||
dd($transaction);
|
||||
|
||||
Reference in New Issue
Block a user