Total Kendaraan Tercatat
@extends('layouts.admin') @section('title', 'Kendaraan Terlaris | Super Admin') @section('page_title', 'Kendaraan Terlaris') @push('styles') @endpush @section('content') @php $topBookedVehicle = $topVehicles->first(); $totalValidBookings = (int) $topVehicles->sum('verified_booking_count'); $totalVehicleRevenue = (float) $topVehicles->sum(fn($vehicle) => (float) ($vehicle->total_revenue ?? 0)); @endphp
Laporan ranking kendaraan berdasarkan booking valid dan total pendapatan.
Total Kendaraan Tercatat
Top Booked Vehicle
Total Booking Valid
Total Pendapatan Kendaraan
Bandingkan performa kendaraan antar rental berdasarkan booking valid dan revenue.
| No | Nama Kendaraan | Rental | Brand | Kategori | Total Booking Valid | Total Pendapatan |
|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{ $vehicle->name }} | {{ $vehicle->rentalCompany?->company_name ?? '-' }} | {{ $vehicle->brand ?? '-' }} | {{ $vehicle->category ?? '-' }} | {{ number_format((int) ($vehicle->verified_booking_count ?? 0), 0, ',', '.') }} | Rp {{ number_format((float) ($vehicle->total_revenue ?? 0), 0, ',', '.') }} |
Belum ada data laporan untuk filter yang dipilih.