Data Pembelian Barang

@foreach ($transaksi as $tran) @endforeach
No Tanggal No Faktur Supplier Total
{{ $loop->iteration }} {{ date('d-m-Y', strtotime($tran->tanggal_faktur)) }} {{ $tran->no_faktur }} {{ $tran->supplier->nama_perusahaan ?? 'N/A' }} {{ 'Rp. ' . number_format($tran->total_harga, 0, ',', '.') }}
{{ $transaksi->links() }}
@push('scripts') @endpush