|
|
@@ -13,18 +13,18 @@ class SupportTicketResource extends JsonResource
|
|
|
public function toArray(Request $request): array
|
|
|
{
|
|
|
return [
|
|
|
- 'id' => $this->id,
|
|
|
- 'title' => $this->title,
|
|
|
- 'description' => $this->description,
|
|
|
- 'severity' => $this->severity,
|
|
|
- 'scope' => $this->scope,
|
|
|
- 'unit_id' => $this->unit_id,
|
|
|
- 'sector' => $this->sector,
|
|
|
- 'support_status_id' => $this->support_status_id,
|
|
|
- 'applicant_user_id' => $this->applicant_user_id,
|
|
|
- 'responsable_user_id' => $this->responsable_user_id,
|
|
|
- 'created_at' => Carbon::parse($this->created_at)->format('d/m/Y H:i'),
|
|
|
- 'updated_at' => Carbon::parse($this->updated_at)->format('d/m/Y H:i'),
|
|
|
+ 'id' => $this->id,
|
|
|
+ 'title' => $this->title,
|
|
|
+ 'description' => $this->description,
|
|
|
+ 'severity' => $this->severity,
|
|
|
+ 'scope' => $this->scope,
|
|
|
+ 'unit_id' => $this->unit_id,
|
|
|
+ 'sector' => $this->sector,
|
|
|
+ 'status' => $this->status,
|
|
|
+ 'applicant_user_id' => $this->applicant_user_id,
|
|
|
+ 'responsable_user_id' => $this->responsable_user_id,
|
|
|
+ 'created_at' => Carbon::parse($this->created_at)->format('d/m/Y H:i'),
|
|
|
+ 'updated_at' => Carbon::parse($this->updated_at)->format('d/m/Y H:i'),
|
|
|
];
|
|
|
}
|
|
|
|