@extends('backend.admin-master') @section('site-title') {{__('Category Page')}} @endsection @section('style') @endsection @section('content')

{{__('All Categories')}}

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

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

@csrf
@endsection @section('script') @endsection