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

Recurring Job Details

Service Details
Status
{{ $jobDetails->status }}

Recurring Status
Every {{ $jobDetails->on_every }} days

Next order on
{{ $jobDetails->date }}

Service
{{ $jobDetails->category->name }}
@if ($jobDetails->gate_code)
Gate code
{{ $jobDetails->gate_code }}
@endif @if ($jobDetails->lawnSize->name ?? false)
Lawn size
{{ $jobDetails->lawnSize->name }}
@endif @if ($jobDetails->cornerLot)
Corner lot
Yes
@endif @if ($jobDetails->fence)
Fence
{{ $jobDetails->fence->name }}
@endif
Grand Total
${{ $jobDetails->grand_total }}

@php $order = \App\Models\Order::whereOrderId($jobDetails->order_id)->first(); @endphp @if (count($order->images) != 0)
{{ $order->service_for ?? 'Lawn' }} images
@foreach ($order->images as $image) @endforeach {{-- --}}
@endif
Service location
Address:
{{ $jobDetails->property->address }}
Status
{{ $jobDetails->on_the_way ? 'On his way' : '' }} {{ $jobDetails->finished_job ? 'Finished Job' : '' }}
{{ $jobDetails->at_location_and_started_job ? 'Started Job' : '' }}
@if ($jobDetails->instructions)
Instructions:
{{ $jobDetails->instructions }}
@endif

Total Price

${{ $jobDetails->grand_total }}

{{-- ----- 2 buttons -------- --}}
@if ($jobDetails->status == 3 || $jobDetails->status == 4) @endif
@endsection @push('vendor-scripts') @endpush @push('page-scripts') @endpush