@extends('layouts.app') @section('style') @stop @section('content') @include("layouts.Cmodal")
@lang('layout.UpdatePurchaseOrder')
{{Form::open(['route' => ['purchaseOrderRoll.update',$purchase->id],'method' => 'PATCH','class' => 'form-horizontal','id'=>'purchase-form'])}} {{ csrf_field() }}
@{{selected_currency.symbol}} %
@lang('layout.Total') : @{{ Number.parseFloat((subtotal - (discount*subtotal/100))-payeds).toFixed(precision())}} @{{selected_currency.symbol}}
@lang('layout.Discount'): (@{{ Number.parseFloat(discount).toFixed(precision()) }}%) @{{ Number.parseFloat(discount*subtotal/100).toFixed(precision()) }} @{{selected_currency.symbol}}
@lang('layout.Payment'): @{{ payeds.toFixed(precision())}} @{{selected_currency.symbol}}
@lang('layout.Sub-Total'): @{{ subtotal.toFixed(precision())}} @{{selected_currency.symbol}}
# @lang('layout.Category') @lang('layout.ItemName') @lang('layout.SiteName') @lang('layout.Code') @lang('layout.Description') @lang('layout.ExpireDate') @lang('layout.Quantity') @lang('layout.OnHand') @lang('layout.Measure') @lang('layout.NewCost') @lang('layout.Total')
@{{index+1}} @{{myRound((item.item==null)?null:purchaseItemQuantity(item.item,item.item.quantity))}}
@{{selected_currency.symbol}}
@{{selected_currency.symbol}}

# @lang('layout.SelectBank') @lang('layout.Amount') @lang('layout.Rate') @lang('layout.Currency') @lang('layout.Amount') @lang('layout.Total')
@{{index+1}} @{{myRound(Number((payment.item==null)?null:payment.item.balance)-Number((payment.item==null)?null:payment.item.amount))}}
@{{(payment.item==null)?null:payment.item.code}}
@{{ (payment.item==null)?null:totalPayment(payment.item,selected_currency.rate,selected_currency.hq_rate, selected_currency.static_rate).result }} @{{selected_currency.symbol}}

@lang('layout.Cancel')
{!! Form::close() !!}
@endsection @push('scripts') @endpush