show currency supplier info for transaction

This commit is contained in:
omair saleh
2021-11-29 12:27:14 +08:00
parent 2093f68cf0
commit ac2b2df27d
+1 -1
View File
@@ -21,7 +21,7 @@ class TransactionResource extends JsonResource
'booking' => new BookingResource($this->booking),
'type' => (int) $this->type,
'bill_no' => $this->bill_no,
// 'issuer_name' => $this->issuerCompany->name,
'issuer_name' => $this->issuerCompany->name,
'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,