@extends('admin.layout.master') @section('title','PURCHASE ORDER MANAGEMENT') @section('custom_style') @endsection @section ('content')

PURCHASE ORDER

PO
@csrf
{{-- --}}
{{-- --}} @php $i=0; $grandtotal=0; @endphp @if($quotation) @forelse ($quotation->details as $p=>$item) {{-- --}} @php $i++; @endphp @empty @endforelse @endif @php $discountAmount=$quotation?(($quotation->discount/100)*$grandtotal):0 @endphp
# PRODUCTPRODUCTNOTE Quotation Qty Purchase. QTY Unit Price Subtotal
{{ ($i+1) }}
{{$item->product->name_eng}}
{{$item->quantity}} @php $grandtotal+=$subTotal=($item->quantity*$item->rate); @endphp
Total
Discount (%) Discount (Amount)
Net Amount
@include('inventory.prepurchase.po.install_modal') @endsection @section('script') @stop