@extends('layouts.app') @section('title', 'List Pembelian Bahan Baku - Dazry Laundry App') @section('page_title', 'List Pembelian Bahan Baku') @section('content')
Add
@if($pembelians->isEmpty())

Belum ada data pembelian bahan baku yang tercatat.

@else
@foreach($pembelians as $index => $pembelian) @endforeach
No Tanggal Nomor Invoice Total Harga Jumlah Item Aksi

{{ $pembelians->firstItem() + $index }}

{{ \Carbon\Carbon::parse($pembelian->tanggal_pembelian)->translatedFormat('d M Y') }}

{{ $pembelian->nomor_faktur ?? '-' }}

Rp {{ number_format($pembelian->total_harga, 0, ',', '.') }}

{{ $pembelian->details->count() }}

{{ $pembelians->links() }}
@endif
@endsection