@php use App\Models\Staff;use App\Models\User; @endphp @php @endphp @extends('admin.layouts.app') @section('title',get_setting('site_name').' | Asset Category') @section('content')
Manage Asset Category
@foreach($categories_2 as $cate) @endforeach
Category Name Parent Category Action
{{$cate->name}} @php $parent = \App\Models\asset_category::where('id', $cate->parent_id)->first(); @endphp @if ($parent != null) {{ $parent->name}} @else — @endif @if($parent) @else @endif
{{$categories_2->links()}}
Create Asset Category
@csrf
@endsection @section('modal') @endsection @section('script') @endsection