feat(admin): expose ticket refund states
This commit is contained in:
@@ -22,6 +22,7 @@ class SaleDetailResource extends JsonResource
|
||||
'quantity' => (int) $item->cantidad,
|
||||
'unit_price' => $this->formatMoney($item->precio_unitario),
|
||||
'total' => $this->formatMoney($item->total),
|
||||
'refunded_amount' => $this->formatMoney($item->refunded_amount),
|
||||
])->values(),
|
||||
'total' => $this->formatMoney($this->total),
|
||||
];
|
||||
|
||||
@@ -17,6 +17,7 @@ class SaleTicketResource extends JsonResource
|
||||
'id' => $this->id,
|
||||
'expires_at' => $this->getEffectiveExpiresAt(),
|
||||
'status' => $this->status,
|
||||
'status_label' => $this->status_label,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user