@extends('admin.layouts.master') @section('request_service', 'active') @section('title') {{ $data['title'] ?? '' }} @endsection @push('style') @endpush @section('content')

{{ $data['title'] ?? '' }}

Manage {{ $data['title'] ?? '' }}

{{--
@if (Auth::user()->can('admin.customer.create')) Add New @endif
--}}
@if (isset($data['rows']) && count($data['rows']) > 0) @foreach ($data['rows'] as $key => $row) @endforeach @endif
SL Service ID Service Title Service Category User info Request Date Request Time Service Rate Status Create At Action
SL Service ID Service Title Service Category User info Request Date Request Time Service Rate Status Create At Action
{{ $key + 1 }} {{ $row->service_id }} {{$row->service_title}} {{$row->serviceCategory->name}} {{$row->user->name}}
{{$row->user->email}}
{{ date('d M Y', strtotime($row->request_date)) }} {{$row->request_time}} {{$row->service_rate}} KSh @if ($row->status == 0) Pending @elseif($row->status == 1) Complete @elseif($row->status == 2) Cancel @else Active @endif {{ date('d-M-Y',strtotime($row->created_at)) }} {{-- @if (Auth::user()->can('admin.customer.view')) View @endif @if (Auth::user()->can('admin.customer.edit')) Edit @endif @if (Auth::user()->can('admin.customer.delete')) Delete @endif --}}
@endsection @push('script') @endpush