add destination account admin user

This commit is contained in:
omair saleh
2021-10-03 15:06:08 +08:00
parent dd05231b27
commit 3acde619cc
17 changed files with 134 additions and 83 deletions
@@ -21,6 +21,7 @@ class TransactionResource extends JsonResource
'booking' => new BookingResource($this->booking),
'type' => (int) $this->type,
'bill_no' => $this->bill_no,
'recipient_bank_account' => new BankResource($this->when((int) $this->type === TransactionType::BILL,$this->booking->bank)),
'amount' => (double) $this->amount,
'original_amount' => (double) $this->original_amount,
'currency' => new CurrencyResource($this->currency),