@extends('layouts.user-app') @section('content')

In-Progress Jobs

{{$data['in_progress'] ?? ''}}

Pending Jobs

{{$data['pending'] ?? ''}}

Completed Jobs

{{$data['completed'] ?? ''}}

New Estimation Request

@foreach($requestedEstimations as $estimation) @foreach($estimation->emailUser->where('type', 'crewVisit') as $email) @php $crewName = json_decode($email->content) @endphp @endforeach @foreach($estimation->emailUser->where('type', 'userPayment') as $email) @php $serviceTotalFees = json_decode($email->content) @endphp @endforeach @endforeach
Service Crew Name Price Status
@if($estimation->services->count() > 1 || $estimation->others != null) Multiple @elseif($estimation->services->count() == 1) img{{$estimation->services->first()->title ?? ''}} @endif {{$crewName->crewName ?? ''}}${{$serviceTotalFees->serviceTotalFees ?? ''}}{{$estimation->status ?? ''}}
@endsection