@extends('dompdf.LayoutBoostrapOnly') @section('content') @php $check_count = 1; $datacount = count($datalist); $data_sisa = 0; @endphp @foreach($datalist as $key => $value) @if($value->breakline == 1 && $data_sisa != 0)
@endif
No Order: {{ $value->invoice_number }}
Tanggal Order: {{date("d-m-Y H:i:s",strtotime($value->order_time))}}
Print oleh: {{ request()->session()->get('users')['name'] }}
Tanggal: {{date("d-m-Y H:i:s")}}

{{$value->bin_id}}

{{ $value->shipping_agent }}
{{ $value->shipping_service }}
{{ $value->marketplace_name }}

{{$value->consilidate_number}}

List Product

@foreach ($value->detail as $key => $item) @endforeach
SKU Product Qty
{{$item->sku}} {{$item->product_name}} {{$item->qty}}

Message From Customer
{{ $value->from_seller }}

Note From Customer
{{ $value->note }}

Notes:

Return Form

Beri tanda (x) untuk return produk

@if($value->breakline == 1)
@php $check_count = 2; @endphp @endif @php $data_sisa = $check_count%2; @endphp @if($check_count != $datacount) @php $check_count++; @endphp @if ($data_sisa == 0 && $value->breakline != 1)
@endif @endif @endforeach @endsection