show currency supplier info for transaction

This commit is contained in:
omair saleh
2021-11-29 12:21:03 +08:00
parent e6ada6b2d4
commit 0a106960ad
+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' => new CompanyResource($this->issuer),
// 'issuer' => new CompanyResource($this->issuer),
'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,