@extends('layouts.app') @section('content')
| Inventory ID | Photo | Item Withdrawn | Category | Weight | Est. Value (MYR) | Status | Courier & Tracking | Recipient & Address | Process Date | Action |
|---|---|---|---|---|---|---|---|---|---|---|
|
{{ $item->inv_id }}
|
{{ $item->type }}
{{ $item->gold_type }}
{{ $item->weight }}g
|
{{ $item->category }}
|
{{ $item->weight }} g
|
{{ $item->price ? number_format($item->price, 2) : '-' }}
|
@switch((int) $item->process_status)
@case(207)
Shipped (In Transit)
@break
@case(205)
Delivered
@break
@default
Status {{ $item->process_status }}
@endswitch
|
{{ $item->trxWithdrawal?->courier_name ?: '-' }}
@if ($item->trxWithdrawal?->tracking_number)
{{ $item->trxWithdrawal->tracking_number }}
@else
-
@endif
|
{{ $item->trxWithdrawal?->recipient_name ?: $item->withdraw_by }}
@if ($item->trxWithdrawal?->recipient_phone)
{{ $item->trxWithdrawal->recipient_phone }}
@endif
{{ collect([$item->trxWithdrawal?->shipping_address, $item->trxWithdrawal?->shipping_postcode, $item->trxWithdrawal?->shipping_city, $item->trxWithdrawal?->shipping_state])->filter()->implode(', ') ?: '-' }}
|
{{ $item->process_date }}
|
@if ((int) $item->process_status === 207)
@else
Delivered
@endif
|
|
|
No postage withdrawal delivery items found. |
||||||||||