@extends('admin.layouts.app') @section('crumb') @endsection @section('content')
{{-- --}} @if(count($subCategories)) @foreach ($subCategories as $sub) {{-- --}} @endforeach @else @endif
Ref name SubCategoryYearsCreated At Actions
{{ $loop->iteration }} {{ $sub->name }} {{ $sub->SubCategory->name }} @if(count($sub->years))
    @foreach ($sub->years as $year)
  • {{ $year->year }}
  • @endforeach
@endif
{{ $sub->getCreatedAt() }} Actions
no data found
{{ $subCategories->links() }}
@endsection