@extends('backend.admin-master') @section('site-title') {{__('Products Category')}} @endsection @section('style') @endsection @section('content')
@include('backend/partials/message') @if($errors->any())
    @foreach($errors->all() as $error)
  • {{$error}}
  • @endforeach
@endif

{{__('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}} {!! render_attachment_preview($data->image) !!} @if('publish' == $data->status) {{ucfirst($data->status)}} @else {{ucfirst($data->status)}} @endif image,null,true); $img_url = !empty($testimonial_img) ? $testimonial_img['img_url'] : ''; @endphp data-image="{{$img_url}}" >
@php $b++; @endphp @endforeach

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

@csrf
{{__('300x300 px image recommended')}}
@include('backend.partials.media-upload.media-upload-markup') @endsection @section('script') @include('backend.partials.media-upload.media-js') @endsection