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

{{__('All Categories')}}

@php $b=0; @endphp @foreach($all_category as $key => $category)
@foreach($category as $data) @endforeach
{{__('ID')}} {{__('Name')}} {{__('Icon')}} {{__('Status')}} {{__('Action')}}
{{$data->id}} {{$data->name}} @if($data->icon_type == 'icon') @else {!! render_image_markup_by_attachment_id($data->img_icon) !!} @endif @if('publish' == $data->status) {{ucfirst($data->status)}} @else {{ucfirst($data->status)}} @endif img_icon,'full'); $img_url = !empty($service_section_img['img_url']) ? $service_section_img['img_url'] : ''; @endphp data-imageUrl="{{$img_url}}" >
@php $b++; @endphp @endforeach

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

@csrf
{{__('Recommended image size 64x64')}}
@include('backend.partials.media-upload.media-upload-markup') @endsection @section('script') @include('backend.partials.media-upload.media-js') @endsection