@extends('template.app') @section('title', 'Edit Pembelian') @section('css') @endsection @section('breadcrumb') @endsection @section('content')
@include('components.toast-notification')
@csrf @method('PUT')
@foreach($purchaseDetail as $detail) @endforeach
Nama Produk QTY Harga Beli Diskon Total Harga Aksi
{{ $detail->unit_name }}
Subtotal:
Diskon:
Total:
Biaya Lainnya
@foreach($purchaseExpense as $expense) @endforeach
Kategori Biaya Jumlah Catatan Aksi
Pembayaran
@foreach($purchasePayment as $payment) @endforeach @php $grandTotal = $purchase->total_amount - $purchase->discount + $purchaseExpense->sum('amount'); @endphp
Tanggal Bayar Metode Pembayaran Akun Bank Jumlah Bayar Catatan
payment_method == 'tempo' ? 'readonly' : '' }}>
Total Bayar:
Total Pembelian + Biaya Lain:
Sisa Pembayaran:
@endsection @section('js') @endsection