@php $last=0; $i=ceil($packages->count()/5); $ban=$packages->count()-floor($packages->count()/5)*5; $n=5; @endphp
@for($j=1;$j<=$i;$j++) @php $num=5*($j-1); @endphp @if($j==$i) @php $last=1; @endphp @endif
@include('bl.reporte.manifiestoA') @if ($j==1) @include('bl.reporte.manifiestoB') @else @if ($ban!=0 && $j==$i) @php $n=$ban; @endphp @endif @include('bl.reporte.manifiestoC') @endif @if ($last==1) TOTALES {{ $total1 }} {{ $packages[0]->type_pack }} Gross Weight: {{number_format( $total2,2) }} KGS @else @endif
@if($j==$i)
SELLO Y FIRMA __________________________
@endif @if ($j!=$i)
@endif
@endfor