@extends('app.app') @section('title') Admin Detail Transaksi @endsection @section('content')

Detail Pesanan @foreach ($orders as $iOrd => $order) #{{ $order->code }} @if (count($orders) !== ((int) $iOrd) + 1) , @endif @endforeach

@php $startNoLainnya = 1; @endphp @foreach ($data as $iOrd => $_order) @php ++$startNoLainnya; @endphp

Penjemputan dan Pengantaran ({{ $iOrd + 1 }})

{{ $_order['pck_date'] }}

{{ $_order['pck_time'] }}

{{ $_order['pck_name'] }}

{{ $_order['pck_addr'] }}

{{ $_order['drop_name'] }}

{{ $_order['drop_addr'] }}

@if (count($_order['checklist_array']) > 0)
@foreach ($_order['checklist_array'] as $_chck)

{{ $_chck->checklist_name }}

@if ($_chck->img == null)

Foto belum tersedia

@else Uploaded at: {{ date('Y-m-d H:i:s', $_chck->updt) }} @endif
@endforeach
@endif
@endforeach
{{--

Vendor Information

--}}

Client Information

{{--

CV Karya Expedisi Bangsa

--}} @if ($order->vdr_name)

{{ $order->vdr_name }}

@else

not yet assigned

@endif
{{--

B 1192 XY

--}} @if ($order->vhc_nopol1)

{{ $order->vhc_nopol1 . ' ' . $order->vhc_nopol2 . ' ' . $order->vhc_nopol3 }}

@else

not yet assigned

@endif
{{--

Archibald Borislav Aldric

--}} @if ($order->drv_name)

{{ $order->drv_name }}

  {{ implode(' ', str_split('0' . $order->drv_phone_val, 4)) }}

{{ implode(' ', str_split('0' . $order->drv_phone_val, 4)) }}

@else

not yet assigned

@endif
@if ($order->drv_name2) @endif

Surat Perintah Kerja

@php $no = 1 @endphp @foreach ($data as $iOrd => $_order)
@php $no ++ @endphp @endforeach
@if ($order->status == 10) Complete
Completed at: {{ date('Y-m-d H:i:s', $order->updt) }} @php $no = 1 @endphp @foreach ($data as $iOrd => $_order)
@php $no ++ @endphp @endforeach @elseif ($order->status == 11) Cancel @else Active @endif
@endsection @section('customjs') @endsection