@extends('layouts.admin-simple') @section('title', 'Item Type Details') @section('breadcrumb') @endsection @section('page-title')

{{ $itemType->type_name }}

Item type details and associated items

@can('warehouse.items.edit') edit Edit @endcan arrow_back Back
@endsection @section('content')
info Basic Information
{{ ucfirst($itemType->status) }}

{{ $itemType->type_name }}

{{ $itemType->type_code }}

@if($itemType->description)

{{ $itemType->description }}

@endif

{{ $itemType->created_at->format('M d, Y \a\t H:i') }}

{{ $itemType->updated_at->format('M d, Y \a\t H:i') }}

inventory Associated Items {{ $itemType->items->count() }}
@if($itemType->items->count() > 0)
@foreach($itemType->items as $item) @endforeach
Item Code Item Name Status Created Actions
inventory_2
{{ $item->item_code }}
{{ $item->item_name }} {{ ucfirst($item->status) }} {{ $item->created_at->format('M d, Y') }} @can('warehouse.items.view') visibility @endcan @can('warehouse.items.edit') edit @endcan
@else
inventory_2
No Items Found

This item type doesn't have any associated items yet.

@can('warehouse.items.create') add Add New Item @endcan
@endif
analytics Quick Statistics
category

{{ $itemType->items->count() }}

Total Items


{{ $itemType->items->where('status', 'active')->count() }}
Active
{{ $itemType->items->where('status', 'inactive')->count() }}
Inactive
@if($itemType->items->count() > 0)
schedule Recent Items
@foreach($itemType->items->sortByDesc('created_at')->take(5) as $item)
inventory_2
{{ $item->item_name }}
{{ $item->created_at->diffForHumans() }}
@endforeach @if($itemType->items->count() > 5)
... and {{ $itemType->items->count() - 5 }} more items
@endif
@endif
@endsection @push('styles') @endpush