@extends('backend.layouts.master') @section('section-title', 'Purchase') @section('page-title', 'Edit Purchase') @section('action-button') Purchase List @endsection @push('css') @endpush @section('content')
@csrf
{{-- Purchase Date --}}
{{-- Purchase No --}}
{{-- supplier invoice no --}} {{--
--}} {{-- Purchase Date --}} {{--
--}}
{{-- Note --}}
{{-- Supplier --}}
{{-- --}}

{{-- --}} @php $sl = 1; $purchaseItem = App\Models\PurchaseItem::where( 'purchase_id', $purchase->id, )->get(); @endphp @foreach ($purchaseItem as $key => $item) @php $product_variation = App\Models\ProductVariation::where('product_id', $item->product_id) ->get(); // dd($item); @endphp @endforeach {{-- Discount --}} {{-- Total Amount --}} {{-- Payment Method --}} {{-- Paid Amount --}} {{-- Due Amount in --}}
SlProduct Size Rate Quantity Total Action
{{-- Product Name --}} {{ $item->product?->name }} - {{ $item->product?->barcode }}
@if ($item->product->unit->related_unit == null) @else {{-- HAS SUB UNIT --}} @endif
{{-- {{ $item->subtotal }} {{ empty(get_setting('com_currency')) ?: get_setting('com_currency') }} --}}
Grand Total
Discount
Payable Amount
Bank Account
Paid Amount
Due Amount
@endsection @push('js') @endpush