@section('heading', 'Edit Pembelian') @extends('layouts.app') @section('content')

Edit Pembelian

@csrf @method('PUT')

Detail Produk

@foreach($purchase->purchaseDetails as $i => $detail) @endforeach
Produk Satuan Qty Harga Sub Total
{{ $detail->product->name }} {{ $detail->product->unit }} Rp {{ number_format($detail->subtotal,0,',','.') }}

Informasi Pembelian


Rp {{ number_format($purchase->total_amount,0,',','.') }}

@endsection