@extends('layouts.dashboard') @section('content')
@include('flash_msg')

@if(!empty($category)) @foreach($category as $key=>$value) @endforeach @if ($category->count() == 0) @endif @endif
# Icon Category Sub Category Status Action
{{ ++$key }} @if($value->icon) @endif {{ App\Category::where('id',$value->parent_id)->value('name') }} {{ $value->name }} @if($value->status==1) Active @else Inactive @endif
No categories to display.
# Icon Category Sub Category Status Action

Displaying {{$category->count()}} of {{ $category->total() }} categories.

{{ $category->appends(request()->all())->links() }}
@endsection