@extends('dompdf.LayoutBoostrapOnly') @section('content')
@php $row = 1; $count = 0; $total = count($datalist); $arrCourier = []; @endphp @php $dt = $datalist[0]; @endphp @foreach ($datalist->chunk(172) as $chunk)

Surat Jalan 3PL

PT. Gosyen Retail Indonesia

Shipment Number : {{ $ship }}
Date : {{ date('d-m-Y H:i', strtotime($dt->shipped_time)) }}
Courier : {{ $dt->courier }}, Nama Kurir : {{ $dt->nama_kurir }}, No HP : {{ $dt->no_hp }}, Plat Nomor : {{ $dt->plat_nomor }}
Total : {{$total}}

@foreach ($chunk as $key => $value) @if($row == 1) @endif @if($row == 4) @php $row = 1; @endphp @else @php $row++; @endphp @endif @php $count++; @endphp @endforeach
Invoice qty Invoice qty Invoice qty Invoice qty
{{$value->awb_number}} 1
total = {{$count}}

Dispatcher
Kurir
Security



( {{ $dt->name }}
)
( {{ $dt->nama_kurir }}
)
(
)
@if (!$loop->last)
@php $count = 0; @endphp @endif @endforeach
@endsection