From 8d1078e8d5e793c7c5e26ef2d63600e4ca3621eb Mon Sep 17 00:00:00 2001 From: aslan Date: Thu, 14 Mar 2024 09:30:46 +0300 Subject: [PATCH] add direction profile to direction index --- resources/views/admin/catalog/direction/index.blade.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/resources/views/admin/catalog/direction/index.blade.php b/resources/views/admin/catalog/direction/index.blade.php index 2c5faba..967c784 100644 --- a/resources/views/admin/catalog/direction/index.blade.php +++ b/resources/views/admin/catalog/direction/index.blade.php @@ -24,7 +24,14 @@ @foreach($directions as $direction) {{ $direction->position }} - {{ $direction->name }} + {{ $direction->name }} +
+

+ @foreach($direction->directionProfiles as $directionProfile) + {{ $directionProfile->name }} + @endforeach +

+ {{ Str::words($direction->description, 10, '...') }} {{ $direction->slug }} {{ $direction->department->name }}