feat(staff): expose scanner attempt history

This commit is contained in:
2026-09-08 10:56:27 -03:00
parent 531dbe52b9
commit 002f08a8fa
5 changed files with 245 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ class ScanAttemptResource extends JsonResource
'data' => $this->data,
'ticket_id' => $this->ticket_id,
'ticket' => $this->ticket?->ticket,
'category' => $this->ticket?->sourceCatalogItem?->category?->nombre,
'attempted_at' => $this->created_at,
'resolved_at' => $this->resolved_at,
'result' => $this->result->value,