@extends('layouts.client') @section('title','Ongoing Job Details') @push('vendor-styles') @endpush @push('page-styles') @endpush @section('body')

Ongoing Jobs Details

Track your service
Address Service Price Provider Recurring status Date Action
{{ $job->property->address }} {{ $job->category->name }} ${{ $job->grand_total }} {{ $job->assigned_to && $job->provider ? $job->provider->first_name.' '.$job->provider->last_name : 'Not assigned' }} {{ $job->service_type == 1 ? 'One time' : 'Every '.$job->period->duration.' Days' }} {{ $job->date }} See Details

Provider has accepted your service request.

{{ $job->on_the_way ? 'Provider is on the way' : '' }}

{{ $job->at_location_and_started_job ? 'Provider has reached your location and started job' : '' }}

{{ $job->finished_job ? 'Provider has finished the job' : '' }}

{{-- --}}
@if ($job->on_the_way) @else Provider's location is not available until provider is on the way. @endif
@endsection @push('vendor-scripts') @endpush @push('page-scripts') @endpush