mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-30 18:03:59 +00:00
cash back ref
This commit is contained in:
@@ -118,12 +118,14 @@ class CreateCashBackTransactionProcessor
|
||||
0,
|
||||
null,
|
||||
ApprovalStatus::APPROVED,
|
||||
null,
|
||||
'cash back ' . $transaction->bill_no
|
||||
);
|
||||
|
||||
$cash_back_transaction = $this->createsTransaction->execute($transaction, $object);
|
||||
|
||||
$company = $transaction->owner()->first()->company;
|
||||
$credit = $this->creditWalletProcessor->execute($company, $transaction->type, $cash_back_transaction->amount, '');
|
||||
$credit = $this->creditWalletProcessor->execute($company, $transaction->type, $cash_back_transaction->amount, 'cash back ' . $transaction->bill_no);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user