{{ __('Item Trans No. ') }} {{ $no->no }}
{{ __('Dari Toko : ') }} {{ $no->whs_name ?? '-' }}
{{ __('Ke Toko : ') }} {{ $no->to_whs_name ?? '-' }}
{{ __('Date : ') }} {{ $no->date }}
{{ __('Remark : ') }} {{ $no->remark }}
{{ __('Status : ') }} @switch($no->status) @case(1) Open @break @case(2) Close @break @case(3) Close With Different @break @case(4) Cancel @break @case(5) Request @break @endswitch
| # | {{ __('Code') }} | {{ __('Barcode') }} | {{ __('Name') }} | @if ($no->status == 5 || $no->status == 4){{ __('Qty Request') }} | {{ __('Qty Send') }} @elseif ($no->status == 1) | {{ __('Qty Send') }} | {{ __('Qty Receive') }} @elseif($no->status == 2 || $no->status == 3) | {{ __('Qty Send') }} | {{ __('Qty Receive') }} @endif |
|---|---|---|---|---|---|---|---|---|---|
| {{ $key + 1 }} | {{ $detail->code }} | {{ $detail->barcode }} | {{ $detail->name }} | @if($no->status == 5 || $no->status == 4){{ number_format($detail->qty_request) }} | {{ number_format($detail->qty_open) }} | @elseif ($no->status == 1){{ number_format($detail->qty_open) }} | {{ number_format($detail->qty_close) }} | @elseif($no->status == 2 || $no->status == 3){{ number_format($detail->qty_open) }} | {{ number_format($detail->qty_close) }} | @endif
| # | @if ($no->status == 5 || $no->status == 4) | {{ __('Total Qty Request') }} | {{ __('Total Qty Send') }} | @elseif ($no->status == 1){{ __('Total Qty Send') }} | {{ __('Total Qty Receive') }} | @elseif($no->status == 2 || $no->status == 3){{ __('Total Qty Send') }} | {{ __('Total Qty Receive') }} | @endif|||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Total | @if ($no->status == 5 || $no->status == 4) | {{ number_format($details->sum('qty_request'), 0, ',', ',') }} | {{ number_format($details->sum('qty_open'), 0, ',', ',') }} | @elseif ($no->status == 1){{ number_format($details->sum('qty_open'), 0, ',', ',') }} | {{ number_format($details->sum('qty_close'), 0, ',', ',') }} | @elseif($no->status == 2 || $no->status == 3){{ number_format($details->sum('qty_open'), 0, ',', ',') }} | {{ number_format($details->sum('qty_close'), 0, ',', ',') }} | @endif|||||||