@extends('layouts.admin') @section('title', 'Dashboard') @section('page_title', 'Dashboard') @section('content') {{-- ============================================================ ROW 1: SMALL-BOX KPI — HARI INI ============================================================ --}}
| # | No. Hauling | Sopir | Bonus |
|---|---|---|---|
| @if($i === 0) 1 @else {{ $i + 1 }} @endif |
{{ $row['nomor'] ?? '-' }}
|
{{ $row['supir'] }} | +Rp {{ number_format($row['bonus_fuel_rp'], 0, ',', '.') }} |
| Belum ada data bulan ini | |||
| # | No. Hauling | Sopir | Potongan |
|---|---|---|---|
| @if($i === 0) ! @else {{ $i + 1 }} @endif |
{{ $row['nomor'] ?? '-' }}
|
{{ $row['supir'] }} | -Rp {{ number_format(abs($row['bonus_fuel_rp']), 0, ',', '.') }} |
| Tidak ada potongan bulan ini | |||
Belum ada data trend
@endforelse| Tanggal | No. Hauling | Sopir | Tonase | Bonus Fuel | Status |
|---|---|---|---|---|---|
| {{ $h->hauling_date?->format('d/m') ?? '-' }} |
{{ $h->nomor_hauling_kiba ?? $h->hauling_number ?? '-' }}
|
{{ $h->checkout?->supir?->nama_supir ?? '-' }} | {{ number_format($h->net_weight ?? 0, 1, ',', '.') }} t | @if(($h->bonus_fuel_rp ?? 0) > 0) +Rp {{ number_format($h->bonus_fuel_rp, 0, ',', '.') }} @elseif(($h->bonus_fuel_rp ?? 0) < 0) -Rp {{ number_format(abs($h->bonus_fuel_rp), 0, ',', '.') }} @else - @endif | @if($h->is_paid) LUNAS @elseif($h->status === 'CLOSED') CLOSED @else {{ $h->status }} @endif |
| Belum ada data | |||||
| Tanggal | Sopir | No. Lambung | Plat | Status |
|---|---|---|---|---|
| {{ $co->checkout_date?->format('d/m') ?? '-' }} | {{ $co->supir?->nama_supir ?? '-' }} | {{ $co->kendaraan?->no_lambung ?? '-' }} | {{ $co->kendaraan?->plat_nomor ?? '-' }} | @if($co->status === 'ACTIVE') AKTIF @elseif($co->status === 'FINISHED') SELESAI @else {{ $co->status }} @endif |
| Belum ada data | ||||