@extends('layouts.app') @section('content')
{{ number_format($totalVolume, 2) }} L
{{ number_format($totalAddition, 2) }} L
{{ number_format($totalUsage ?? 0, 2) }} L
BBM yang digunakan
{{ number_format($totalReduction, 2) }} L
Rp {{ number_format($totalCost, 0, ',', '.') }}
{{ number_format(($totalVolume + $totalAddition) - $totalReduction, 2) }} L
| Tanggal | Jenis | Tipe BBM | Plat Nomor | No. Unit Alat Berat | Volume (L) | Pemakaian (L) | Biaya |
|---|---|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($data['date'])->format('d/m/Y') }} | @if($data['type'] == 'purchase') Pembelian @elseif($data['type'] == 'addition') Pemasukan Manual @else Penggunaan @endif | {{ $data['fuel_type'] }} | {{ $data['truck_plate'] ?? '-' }} | {{ $data['equipment_number'] ?? '-' }} | {{ number_format($data['quantity'], 2) }} | @if($data['type'] == 'reduction' && $data['usage'] > 0) {{ number_format($data['usage'], 2) }} @else - @endif | @if($data['cost'] > 0) Rp {{ number_format($data['cost'], 0, ',', '.') }} @else - @endif |
| Tanggal | Truk | Tipe Bahan Bakar | Lokasi | Volume (Liter) | Harga Total | SPBU |
|---|---|---|---|---|---|---|
| {{ $fuel->purchase_date->format('d/m/Y') }} | {{ optional($fuel->truck)->plate_number ?? '-' }} | {{ $fuel->fuel_type }} | {{ $fuel->station_name ?? '-' }} | {{ $fuel->quantity }} | Rp {{ number_format($fuel->total_cost, 0, ',', '.') }} |