mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
import bank record
This commit is contained in:
@@ -57,7 +57,7 @@ class ImportBankRecordController
|
||||
$systemReference = null;
|
||||
|
||||
if($credit){
|
||||
$creditTransactions = $this->getTransactions($date, $credit, TransactionType::PAYMENT, Booking::class, PaymentMethodType::WALLET, [ApprovalStatus::APPROVED, ApprovalStatus::COMPLETED]);
|
||||
$creditTransactions = $this->getTransactions($date, $credit, TransactionType::PAYMENT, null, null, [ApprovalStatus::APPROVED, ApprovalStatus::COMPLETED]);
|
||||
foreach ($creditTransactions as $transaction) {
|
||||
$systemReference[] = $transaction->owner instanceof Booking ? $transaction->owner->marking : $transaction->bill_no;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user