@extends('layouts.admin') @php $currentType = request()->route('type') ?: 'service'; $typeLabels = ['service' => 'Services', 'solution' => 'Agriculture Solutions', 'nursery' => 'Nursery']; @endphp @section('title', $typeLabels[$currentType] ?? 'Services') @section('content') Add New
@foreach ($typeLabels as $key => $label) {{ $label }} {{ $key === $currentType ? $services->count() : '' }} @endforeach
@if ($services->count())
@foreach ($services as $service) @endforeach
Title Slug Featured Status Actions

{{ $service->title }}

@if ($service->title_bn)

{{ $service->title_bn }}

@endif
{{ $service->slug }} @if ($service->is_featured) Featured @else — @endif {{ ucfirst($service->status) }}
@else
@endif
@endsection