@extends('layouts.app') @section('content')
@can('inventory.create') @endcan @forelse ($inventory as $item) @can('inventory.create') @endcan @empty @endforelse
Inventory ID Product Image Gold Type Type Type Code Weight (g) Price (MYR) Validate Approve Process Status Process DateAction
{{ $item->inv_id }}
@if ($item->image_url) {{ $item->inv_id }} @else null @endif
{{ $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 }}
@if ((int) $item->process_status === 101) Edit @else — @endif
Admin Empty

No inventory items found.

@endsection @section('styles') @endsection @section('scripts') @endsection