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

{{__('Service Items')}}

@php $b=0; @endphp @foreach($all_services as $key => $service)
@foreach($service as $data) @endforeach
{{__('ID')}} {{__('Title')}} {{__('Status')}} {{__('Image')}} {{__('Icon')}} {{__('Category')}} {{__('Sorting Order')}} {{__('Date')}} {{__('Action')}}
{{$data->id}} {{$data->title}} @if($data->status === 'draft') {{__('Draft')}} @else {{__('Publish')}} @endif @php $img_url = '';@endphp @php $service_section_img = get_attachment_image_by_id($data->image,null,true); $img_url = ''; @endphp @if (!empty($service_section_img))
@php $img_url = $service_section_img['img_url']; @endphp @endif
@if($data->icon_type == 'icon' || $data->icon_type == '') @else {!! render_image_markup_by_attachment_id($data->img_icon) !!} @endif {{get_service_category_by_id($data->categories_id)}} {{$data->sr_order}} {{date_format($data->created_at,'d M Y')}}
@csrf
@php $b++; @endphp @endforeach
@include('backend.partials.media-upload.media-upload-markup') @endsection @section('script') @include('backend.partials.media-upload.media-js') @endsection