@extends('layout.app') @section('title','Vehicle List') @push('header_script') @endpush @section('content')
@if(tenant_manager()->getVehicleLimit() !== null) @php $vLimit = tenant_manager()->getVehicleLimit(); $vCount = tenant_manager()->getVehicleCount(); $vRemaining = max(0, $vLimit - $vCount); $isFull = $vCount >= $vLimit; $percent = $vLimit > 0 ? min(100, round(($vCount / $vLimit) * 100)) : 0; @endphp
{{ is_desktop_mode() ? 'License Limit' : 'Plan Limit' }} ({{ tenant_manager()->getPlanName() }}) {{ $vCount }} / {{ $vLimit }} Vehicles
{{ $isFull ? 'Limit Reached' : $vRemaining . ' Available' }}
@endif
@if(!tenant_manager()->canAddVehicle()) @elseif(tenant_manager()->isPlanExpired()) @else Add Vehicle @endif
@if(session('error_msg')) @endif
S.no. Owner Name Vehicle Type Vehicle No. Load Size (MT) Action
@endsection @push('footer_script') @endpush