📦 Asset Inventory Management
{{-- Actions --}}
@if(session('success'))
{{ session('success') }}
@endif
@if ($errors->any())
@foreach ($errors->all() as $error)
- {{ $error }}
@endforeach
@endif
{{-- Categories and Branches Cards --}}
{{-- Assets Table - col-md-8 --}}
| # |
Asset Name |
Asset Type |
Brand |
Serial Number |
Action |
@foreach($assets as $key => $asset)
| {{ $key + 1 }} |
{{ $asset->name }} |
{{ $asset->asset_type }} |
{{ $asset->brand }} |
{{ $asset->serial_number }} |
{{--
Edit
Download
| --}}
|
| Asset Name |
{{ $asset->name }} |
| Type |
{{ $asset->asset_type }} |
| Brand |
{{ $asset->brand }} |
| Serial Number |
{{ $asset->serial_number }} |
| Tag Number |
{{ $asset->tag_number }} |
| Assigned To |
{{ $asset->employee->name ?? 'Not Assigned' }} |
| Status |
{{ ucfirst($asset->status) }} |
| Purchase Date |
{{ $asset->purchase_date }} |
| Warranty Expiry |
{{ $asset->warranty_expiry_date }} |
| Location |
{{ $asset->location }} |
| Condition |
{{ ucfirst($asset->condition) }} |
| Price |
{{ $asset->price }} |
| Download |
|
{{-- Edit Asset Offcanvas --}}
@endforeach
{{-- Categories and Branches Accordion - col-md-4 --}}
{{-- Categories Accordion --}}
@foreach($assetcategories as $category)
-
{{ $category->name }}
{{ $category->assets_count ?? 0 }} Assets
@endforeach
{{-- Branches Accordion --}}
@foreach($branches as $branch)
-
{{ $branch->name }}
{{ $branch->assets_count ?? 0 }} Assets
@endforeach
{{-- Add Branch Modal --}}