@extends('backend.layouts.master') @section('section-title', 'Purchase') @section('page-title', 'Update Purchase') @section('action-button') Purchase List @endsection @section('content')
@csrf
{{-- Purchase Date --}}
{{-- Purchase No --}}
{{-- Note --}}
{{-- Supplier --}}
@php $purchaseItem = App\Models\PurchaseItem::where( 'purchase_id', $data->id, )->get(); @endphp @foreach ($purchaseItem as $key => $item) @endforeach {{-- Discount --}} {{-- Total Amount --}} {{-- Payment Method --}} {{-- --}} {{-- Paid Amount --}} {{-- Due Amount in --}}
#SL Product Rate Qty Sub Total
{{ ++$key }} {{ $item->product?->name }}
@if ($item->product->unit->related_unit == null) @else @endif
{{ $item->subtotal }} {{ empty(get_setting('com_currency')) ? : get_setting('com_currency') }}
Grand Total
Discount
Payable Amount
Bank Account
Paid Amount
Due Amount
{{-- Submit & Reset Button --}}
{{-- --}}
@endsection @push('js') @endpush