@extends('user.layouts.main') @section('contents')
Service Request list
New Request
Total Service
{{$totalService}}
Completed Service
{{$completeService}}
Pending Services
{{$pandingService}}
Canceled Services
{{$cancelService}}
@forelse ($services as $item) @empty @endforelse {{-- --}}
# Title Category Date Time Status Action
# Title Category Date Time Status Action
{{$loop->iteration}} {{$item->service_title}} {{$item->serviceCategory->name}} {{ date('d M Y', strtotime($item->request_date)) }} {{$item->request_time}} @if ($item->status == '1') Complete @elseif ($item->status == '2') Cancel @elseif ($item->status == '4') Running @else Bid Running @endif {{ str_pad($item->bids->count(), 2, '0', STR_PAD_LEFT) }} @php $user_id =$item->bids->where('status', 'accepted')->first(); @endphp @if ($item->status == '4' && $user_id?->work_status == '1') @endif @if($item->status != '1' && $item->status != '2' && $item->status != '4') @endif
No services found. Please check back later.
2 I need to clean my garage Garage Clean 14.11.2024 10.00am Completed 04
3 Window washing for office building Office Clean 15.11.2024 02.00pm Cancelled 01
4 Carpet shampooing Carpet Clean 16.11.2024 09.00am Bid Ongoing 03
5 Lawn mowing service Lawn Care 17.11.2024 08.00am Completed 02
6 Pressure washing patio Patio Clean 18.11.2024 03.00pm Pending 0
7 Move-out cleaning for apartment Move-out Clean 19.11.2024 01.00pm Bid Ongoing 03
8 Sofa cleaning Upholstery Clean 20.11.2024 11.00am Completed 01
{{ $services->links() }}
@endsection @push('scripts') @endpush