@foreach($details as $detail) @php if($detail->shipped){ $color="#fcd2d2"; }else{ $color=''; } @endphp @endforeach
Declaration Number T1 Cargo Type Container Info weight(Kg)
{!! $detail->cargoheader->cargodeclarations->declaration_number !!} {!! $detail->cargoheader->t1 !!} {!! $detail->cargotype->name !!} {!! $detail->container_number !!} - {!! $detail->container_size !!}
{!! $detail->container_type !!}
{!! $detail->weight !!}