@extends('layouts.app') @section('content')
{{ $fuelPurchases->count() }}
{{ number_format($totalVolume, 1, ',', '.') }} liter
Rp {{ number_format($totalCost, 0, ',', '.') }}
| Tanggal | Truk | Jenis BBM | Volume (L) | Harga/L | Total Biaya | Lokasi |
|---|---|---|---|---|---|---|
| {{ $purchase->purchase_date->format('d/m/Y') }} | {{ $purchase->truck->license_plate }} | {{ $purchase->fuel_type }} | {{ number_format($purchase->volume, 1, ',', '.') }} | Rp {{ number_format($purchase->price_per_liter, 0, ',', '.') }} | Rp {{ number_format($purchase->total_cost, 0, ',', '.') }} | {{ $purchase->location }} |