@extends('backend.admin-master') @section('site-title') {{__('Products Category')}} @endsection @section('style') @include('backend.partials.datatable.style-enqueue') @include('backend.partials.media-upload.style') @endsection @section('content')

{{__('All Products Categories')}}

@php $b=0; @endphp @foreach($all_category as $key => $category)
@foreach($category as $data) @endforeach
{{__('ID')}} {{__('Name')}} {{__('Image')}} {{__('Status')}} {{__('Action')}}
{{$data->id}} {{$data->title}}
@php $event_img = get_attachment_image_by_id($data->image,'thumbnail',true); @endphp @if (!empty($event_img))
@php $img_url = $event_img['img_url']; @endphp @endif
@php $b++; @endphp @endforeach

{{__('Add New Category')}}

@csrf
@include('backend.partials.media-upload.media-upload-markup') @endsection @section('script') @include('backend.partials.bulk-action',['action' => route('admin.products.category.bulk.action')]) @include('backend.partials.datatable.script-enqueue') @include('backend.partials.media-upload.media-js') @endsection