@extends('layouts.app') @section('style') @stop @section('content')
@if (count($errors) > 0)

Whoops! There were some problems with your input

@endif
@lang('layout.UpdateWriteChecks')
{{Form::model($purchase,['route' => ['return.purchase',$purchase->id],'method' => 'PATCH','class' => 'form-horizontal','id'=>'sales-form'])}}
@lang('layout.Total') : @{{ Number.parseFloat((subtotal)-payeds).toFixed(precision())}} @{{selected_currency.symbol}}
@lang('layout.Sub-Total'): @{{ subtotal.toFixed(precision())}} @{{selected_currency.symbol}}
# @lang('layout.ItemName') @lang('layout.SiteName') @lang('layout.Description') @lang('layout.OldQuantity') @lang('layout.Quantity') @lang('layout.OMeasureValue') 1 @lang('layout.OMeasureValue') 2 @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)-Number(item.item.old_quantity))}}
@{{selected_currency.symbol}}
@{{selected_currency.symbol}}

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