@extends('layouts.app') @section('content')
| Inventory ID | Product Image | Gold Type | Type | Type Code | Weight (g) | Price (MYR) | Validate | Approve | Process Status | Process Date | @can('inventory.create')Action | @endcan
|---|---|---|---|---|---|---|---|---|---|---|---|
|
{{ $item->inv_id }}
|
{{ $item->gold_type }}
|
{{ $item->type }}
|
{{ $item->type_code }}
|
{{ $item->weight }}
|
{{ $item->price }}
|
@if (($item->validate ?? 0) == 1)
Yes
@else
No
@endif
|
@if (($item->approve ?? 0) == 1)
Yes
@else
No
@endif
|
@switch((int) $item->process_status)
@case(101)
Pending Validation
@break
@case(102)
Pending Approval
@break
@case(103)
Approved
@break
@case(500)
Rejected
@break
@default
{{ $item->process_status }}
@endswitch
|
{{ $item->process_date }}
|
@can('inventory.create')
@if ((int) $item->process_status === 101)
Edit
@else
—
@endif
|
@endcan
|
|
No inventory items found. |
|||||||||||