{{ session('company_name') }}

{{ session('branch_name') }}

JOB ORDER SUMMARY

{{ $date_from }} to {{ $date_to }}

@foreach($data AS $d) @endforeach
JO NUMBER CUSTOMER NAME CATEGORY / REASON ADDRESS CREATED DISPATCHED STARTED FINISHED STATUS TIME LOST
{{ $d->jo_number }} {{ $d->custname ? strtoupper($d->custname) : strtoupper($d->applicant_name) }} @if($d->jo_reason) {{ strtoupper($d->jo_category) }} ({{ strtoupper($d->jo_reason) }}) @elseif($d->jo_reason_other) {{ strtoupper($d->jo_category) }} ({{ strtoupper($d->jo_reason_other) }}) @else @if($d->jo_category == 'NEW CONNECTION') {{ strtoupper($d->jo_category) }} .'/'. {{ strtoupper($d->connection_type) }} @else {{ strtoupper($d->jo_category) }} @endif @endif {{ str_limit(strtoupper($d->complete_address), 38) }} {{ date_format(new DateTime($d->created_at), 'Y-m-d H:i') }} {{ date_format(new DateTime($d->dispatched_at), 'Y-m-d H:i') }} {{ date_format(new DateTime($d->date_started), 'Y-m-d H:i') }} {{ date_format(new DateTime($d->date_finished), 'Y-m-d H:i') }} {{ strtoupper($d->status) }} {{ $d->worktime }} {{ $d->water_lost }} CuM
TOTAL {{ $data->total_water_lost }} CuM