@section('heading', 'Edit Pembelian') @extends('layouts.app') @section('content') Edit Pembelian Home Pembelian Edit @csrf @method('PUT') Detail Produk Produk Satuan Qty Harga Sub Total @foreach($purchase->purchaseDetails as $i => $detail) {{ $detail->product->name }} {{ $detail->product->unit }} Rp {{ number_format($detail->subtotal,0,',','.') }} @endforeach Informasi Pembelian No Pembelian Supplier Cabang Tanggal Pembelian Catatan {{ $purchase->notes }} Total Pembelian Rp {{ number_format($purchase->total_amount,0,',','.') }} @endsection