@extends('admin.layouts.app') @section('title', 'Sub Categories') @section('content')

{{__('Sub Categories')}}

{{__('All Sub Category listing')}}

@if (Session::has('message'))
{{ Session::get('message') }}
@endif @if(!empty($subcategories)) @php $i=1; @endphp @foreach($subcategories as $datas) @php $i++; @endphp @endforeach @else @endif
{{__('ID')}} {{__('Name')}} {{__('Parent Category')}} {{__('Arabic Name')}} {{__('Image')}} {{__('Date')}} {{__('Status')}} {{__('Action')}}
{{$i}} {{$datas->title}} {{@$datas->categories->title}} {{$datas->arabic_title}} {{ dateConvertFormat($datas->created_at) }} @if($datas->status=='1') Activated @else De-Activated @endif Edit Delete
{{__('No record found')}}
@endsection