Rework admin panel and other

This commit is contained in:
F4ilji
2025-04-02 18:37:20 +05:00
parent 49072e50c7
commit 5cd6ff11b5
198 changed files with 9715 additions and 6664 deletions
@@ -15,8 +15,8 @@ class ClientBreadcrumbSection extends JsonResource
public function toArray(Request $request): array
{
return [
'title' => $this->title,
'slug' => $this->slug,
'title' => $this->title ?? null,
'slug' => $this->slug ?? null,
];
}
}
@@ -26,7 +26,7 @@ class ClientEventFullResource extends JsonResource
'event_time_start' => Carbon::parse($this->event_time_start)->format('H:i'),
'address' => $this->address,
'is_online' => $this->is_online,
'category' => $this->category->title ?? null,
'category' => $this->category ?? null,
];
}
}
+1 -1
View File
@@ -23,7 +23,7 @@ class ClientEventResource extends JsonResource
'event_time_start' => Carbon::parse($this->event_time_start)->format('H:i'),
'address' => $this->address,
'is_online' => $this->is_online,
'category' => $this->category->title ?? null,
'category' => $this->category ?? null,
];
}
}