mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-24 15:04:19 +00:00
fix bill seeder
This commit is contained in:
@@ -18,7 +18,7 @@ class TransactionResource extends JsonResource
|
||||
{
|
||||
return [
|
||||
'id' => $this->id,
|
||||
'booking' => new BookingResource($this->type === TransactionType::BILL ? $this->owner->booking : $this->booking),
|
||||
'booking' => new BookingResource($this->type === TransactionType::BILL ? $this->owner->owner : $this->booking),
|
||||
'type' => (int) $this->type,
|
||||
'bill_no' => $this->bill_no,
|
||||
'payment_reference' => $this->payment_reference,
|
||||
|
||||
Reference in New Issue
Block a user