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

Surat Jalan 3PL

PT. Gosyen Retail Indonesia

From : {{$from}}
To : {{$to}}
Courier : @if ($courier == null) All @else {{$courier}} @endif
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->number_scanned}} 1
total = {{$count}}

Dispactcher
Kurir
Security



(
)
(
)
(
)
@if (!$loop->last)
@php $count = 0; @endphp @endif @endforeach
@endsection