@extends('mitra.layouts.app') @section('title', 'Rekapan Invoice Harian') @section('content')
{{ $sppg->nama }} — {{ \Carbon\Carbon::parse($tanggal)->translatedFormat('d F Y') }}
Total: Rp {{ number_format($totalHarian, 0, ',', '.') }} ({{ count($rows) }} baris / nota)
@if(($anggaranHarian ?? 0) > 0 || ($keuntungan !== null && $keuntungan >= 0))| Bahan | Jumlah | Harga/satuan | Total |
|---|---|---|---|
| {{ $item->bahan->nama_bahan ?? '-' }} | {{ number_format($jmlDisplay, 2, ',', '.') }} {{ $satuanDisplay }} | Rp {{ number_format($item->harga_jual_penjual_per_satuan ?? 0, 0, ',', '.') }} | Rp {{ number_format($alloc['amount'] ?? 0, 0, ',', '.') }} |
| {{ $item->bahan->nama_bahan ?? '-' }} | {{ number_format($jmlDisplay, 2, ',', '.') }} {{ $satuanDisplay }} | Rp {{ number_format($item->harga_jual_penjual_per_satuan, 0, ',', '.') }} | Rp {{ number_format($item->total_harga_beli, 0, ',', '.') }} |