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

{{__('obs.purchase')}} {{__('obs.order')}}

{{__('obs.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
# {{__('obs.product')}}{{__('obs.product')}}{{__('obs.note')}} {{__('obs.quotation')}} {{__('obs.qty')}} {{__('obs.purchase.')}} {{__('obs.qty')}} {{__('obs.unit')}} {{__('obs.price')}} {{__('obs.subtotal')}}
{{ ($i+1) }}
{{$item->product->name_eng}}
{{$item->quantity}} @php $grandtotal+=$subTotal=($item->quantity*$item->rate); @endphp
{{__('obs.total')}}
{{__('obs.discount')}} {{__('obs.(%)')}} {{__('obs.discount')}} {{__('obs.(amount)')}}
{{__('obs.net')}} {{__('obs.amount')}}
@include('inventory.prepurchase.po.install_modal') @endsection @section('script') @stop