{{-- laporan/supply.blade.php --}} @extends('layouts.app') @section('title', 'Laporan Supply') @section('breadcrumb')
| No | Tgl Kirim | No Supply | Pabrik | Jumlah (kg) | Harga/kg | Total | Status | Invoice |
|---|---|---|---|---|---|---|---|---|
| {{ $i+1 }} | {{ $s->tanggal_kirim->format('d/m/Y') }} | {{ $s->no_supply }} | {{ $s->pabrik->nama }} | {{ number_format($s->jumlah_kg, 2) }} | Rp {{ number_format($s->harga_per_kg, 0, ',', '.') }} | Rp {{ number_format($s->total_harga, 0, ',', '.') }} | {{ ucfirst($s->status) }} | {{ $s->invoice ? $s->invoice->no_invoice : '-' }} |
| Tidak ada data | ||||||||
| TOTAL | {{ number_format($data->sum('jumlah_kg'), 2) }} | Rp {{ number_format($data->sum('total_harga'), 0, ',', '.') }} | ||||||