@extends('layouts.contractor-app') @section('title', 'Job Details') @section('page_css') @endsection @section('content')
| @if($emailUser = $estimation->emailUser->where('type', 'crewVisit')->first()) @php $visitDate = isset($emailUser->content) ? json_decode($emailUser->content)->visitDate ?? '' : ''; @endphp | {{ date('d-M-Y', strtotime($visitDate)) }} | @endif
| Name | @if($estimation->user){{$estimation->user->name ?? ''}} | @else{{$estimation->first_name .' '. $estimation->last_name ?? ''}} | @endif
| @if($estimation->user) | {{$estimation->user->email ?? ''}} | @else{{$estimation->email ?? ''}} | @endif
| @if($estimation->user) | {{$estimation->user->phone ?? ''}} | @else{{$estimation->phone_number ?? ''}} | @endif
| Fax | {{$estimation->user->fax ?? ''}} | |
| Country | {{$estimation->user->country ?? ''}} | |
| City | {{$estimation->user->city ?? ''}} | |
| Zip | {{$estimation->user->zip ?? ''}} | |
| Address | @if($estimation->user){{$estimation->user->address ?? ''}} | @else{{$estimation->address ?? ''}} | @endif
| Service Title : {{ implode(', ', $estimation->services->pluck('title')->toArray()) }} |
| Others : {{ implode(', ', $decodedContent) }} |
| Estimated Time : {{$estimation->estimation_time ?? ''}} |
| Need Financing : {{$estimation->need_financing ?? ''}} |