@extends('admin.template.master') @section('title')

Sub Category all sub category information

@endsection @section('main-content')
@if(Session::has('message'))

Alert!

{{Session('message')}}
@endif
@if(count($sub_categories) < 1) @else @foreach($sub_categories as $sub_category) sub_category_is_exist == 0 ? "class='inactive'" : "" !!} > @endforeach @endif
Name Category Created Edited Status Created By Updated By Action
No sub category found
{!! $sub_category->sub_category_name !!} {!! $sub_category->category->category_name !!} {!! date('d M Y', strtotime($sub_category->created_at)) !!} {!! date('d M Y', strtotime($sub_category->updated_at)) !!} {!! $sub_category->sub_category_is_exist == 1 ? "Active" : "Inactive" !!} {!! $sub_category->createdByUser->name !!} @if($sub_category->updated_by !=0) {!! $sub_category->updatedByUser->name !!} @endif Edit {{----}}
@endsection