@extends('layouts.app') @section('content')
| Inventory ID | Photo | Item Withdrawn | Category | Weight | Est. Value (MYR) | Method | Status | Withdrawn By | 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) : '-' }}
|
@if (($item->trxWithdrawal?->fulfillment_type ?: ($item->trxWithdrawal?->branch_id ? 'WALK_IN' : 'POSTAGE')) === 'POSTAGE')
Postage Delivery
@else
Walk-in Collection
@if ($item->trxWithdrawal?->branch?->name)
{{ $item->trxWithdrawal->branch->name }}
@endif
@endif
|
@switch((int) $item->process_status)
@case(200)
Pending Approval (HQ)
@break
@case(201)
HQ Approved
@break
@case(202)
Delivering to Branch
@break
@case(203)
Branch Received
@break
@case(204)
Pending Pickup
@break
@case(205)
Picked Up
@break
@case(206)
Pending Shipment
@break
@case(207)
Shipped to Customer
@break
@default
{{ $item->withdraw_process ?? 'Status ' . $item->process_status }}
@endswitch
|
{{ $item->withdraw_by }}
|
{{ $item->process_date }}
|
|
|
|
No withdrawal requests found. |
||||||||||