@extends('layouts.contractor-app') @section('title', 'Job Details') @section('page_css') @endsection @section('content')

Job Details

@if($emailUser = $estimation->emailUser->where('type', 'crewVisit')->first()) @php $visitDate = isset($emailUser->content) ? json_decode($emailUser->content)->visitDate ?? '' : ''; @endphp @endif
{{ date('d-M-Y', strtotime($visitDate)) }}

User Details

@if($estimation->user) @else @endif @if($estimation->user) @else @endif @if($estimation->user) @else @endif @if($estimation->user) @else @endif
Name {{$estimation->user->name ?? ''}} {{$estimation->first_name .' '. $estimation->last_name ?? ''}}
{{$estimation->user->email ?? ''}} {{$estimation->email ?? ''}}
{{$estimation->user->phone ?? ''}} {{$estimation->phone_number ?? ''}}
Fax {{$estimation->user->fax ?? ''}}
Country {{$estimation->user->country ?? ''}}
City {{$estimation->user->city ?? ''}}
Zip {{$estimation->user->zip ?? ''}}
Address {{$estimation->user->address ?? ''}} {{$estimation->address ?? ''}}

Service Details

@foreach($decodedContent->other_service as $service)
{{ $service->Service }} @endforeach
Service Title : {{ implode(', ', $estimation->services->pluck('title')->toArray()) }}
Others : {{ implode(', ', $decodedContent) }}
Estimated Time : {{$estimation->estimation_time ?? ''}}
Need Financing : {{$estimation->need_financing ?? ''}}
@if($decodedImages !=null)

User Service Images

@foreach($decodedImages as $images) @endforeach
@endif
@endsection