@extends('crm.master') @section('title', 'Assets') @php $statusLabels = [ 'enabled' => 'Enabled', 'disabled' => 'Disabled', 'all' => 'All', 'active' => 'Enabled', 'inactive' => 'Disabled', ]; @endphp @section('content')

Assets

Manage asset pools, availability, capacity, and maintenance time.

Products Assets
Asset Pools

Each row represents one asset pool in the current system.

{{ $assets->count() }} {{ \Illuminate\Support\Str::plural('Pool', $assets->count()) }}
@include('crm.components.alerts') @forelse($assets as $asset) @php $isShared = (int) $asset->capacity > 1; $maintenanceEnabled = (int) $asset->maintenance_time_hours > 0 || (int) $asset->maintenance_time_minutes > 0; @endphp @empty @endforelse
Name Category Distribution Quantity Capacity Total Actions
{{ $asset->category->name ?? '-' }} Asset category
{{ $isShared ? 'Capacity' : 'Quantity' }} {{ $isShared ? 'Shared inventory' : 'Private inventory' }}
{{ number_format($asset->quantity) }} {{ number_format($asset->capacity) }} {{ number_format($asset->total) }}
No Asset Pools

Once added, asset pools will show up here with quantity, capacity, and total availability.

@endsection @section('page-script') @endsection