@extends('layouts.app') @section('title', 'Items') @section('breadcrumb')
Manage inventory, service and non-inventory items
| Item | Category | Type | UOM | Tracking | Status | Actions |
|---|---|---|---|---|---|---|
|
{{ $item->name }}
{{ $item->code }}
@if($item->barcode)
{{ $item->barcode }}
@endif
{{-- Show type on mobile --}}
@php $tc=['inventory'=>'#fff3cd|#664d03','service'=>'#cfe2ff|#084298','non_inventory'=>'#e9ecef|#495057']; [$tb,$tf]=explode('|',$tc[$item->type]??'#e9ecef|#495057'); @endphp
{{ ucfirst(str_replace('_',' ',$item->type)) }}
|
{{ $item->category?->name ?? '—' }} | @php $tc=['inventory'=>'#fff3cd|#664d03','service'=>'#cfe2ff|#084298','non_inventory'=>'#e9ecef|#495057']; [$tb,$tf]=explode('|',$tc[$item->type]??'#e9ecef|#495057'); @endphp {{ ucfirst(str_replace('_',' ',$item->type)) }} | {{ $item->uom?->code ?? '—' }} | @if($item->tracking_type !== 'none') {{ ucfirst($item->tracking_type) }} @else — @endif | {{ $item->is_active ? 'Active' : 'Inactive' }} | |
|
No items found. Add First Item |
||||||