@include('Admin.Includes.header') @php use Illuminate\Support\Facades\Auth; $logged_in_user = Auth::user(); $generalSettings = \App\General\GeneralSettingsClass::getAllSettings(); $localJobMovers = (int)($generalSettings['_local_job_number_of_movers'] ?? 2); $localJobPrice = (float)($generalSettings['_local_job_mover_per_hour_price'] ?? 85); @endphp

{{ __('Truck Management') }}

Advanced Filters
Reset
Trucks Table
@if(request()->hasAny(['keyword', 'truck_type', 'status', 'pricing_type'])) Filtered Results: {{ $trucks->count() }} Clear Filters @else Total Trucks: {{ $trucks->count() }} @endif
@forelse ($trucks as $truck) @empty @endforelse
Truck Details Type & Capacity Movers & Pricing Status Actions
@if($truck->truck_image) Truck image @else
@endif
{{ $truck->truck_name }}
{{ ucfirst(str_replace('_', ' ', $truck->truck_type)) }}
{{ number_format($truck->cubic_capacity, 2) }} m³
Movers: {{ $localJobMovers }} (Local Job)
Price/Hour: ${{ number_format($localJobPrice, 2) }} (Local Job)
@if($truck->pricing_type === 'custom') Custom Pricing @else Global Pricing @endif
@if($truck->is_active) Active @else Inactive @endif
No trucks found
Truck Details Type & Capacity Movers & Pricing Status Actions