@extends('layouts.app') @section('style') @stop @section('content')
@lang('layout.SaleNumber') ({{$sale->number}}) @lang('menu.Refund')
{{Form::model($sale,['route' => ['refund.updateSale',$sale->sale_id],'method' => 'PATCH','class' => 'form-horizontal','id'=>'sales-form'])}} {{ csrf_field() }}
@{{selected_currency.symbol}} %
@lang('layout.Total') : @{{ Number.parseFloat(((subtotal - discountFiledRow) - (discount*(subtotal - discountFiledRow)/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.Sub-Total'): @{{ subtotal.toFixed(precision())}} @{{selected_currency.symbol}}
@if(searchByCodeLocation()=="true") @endif @if(searchByCodeLocation()=="true") @endif
# @lang('layout.ItemName') @lang('layout.SiteName') @lang('layout.Location')@lang('layout.Description') @lang('layout.OldQuantity') @lang('layout.Quantity') @lang('layout.OMeasureValue1') @lang('layout.OMeasureValue2') @lang('layout.OnHand') @lang('layout.ExpireDate') @lang('layout.Measure') @lang('layout.SalePrice') @lang('layout.Discount') @lang('layout.Total')
@{{index+1}}
@{{myRound((item.item==null)?null:item.item.other_measure)}}
@{{myRound((item.item==null)?null:item.item.other_measure2)}}
@{{myRound((item.item==null)?null:refundItemQuantity(item.item,item.item.quantity,item.item.old_quantity))}} @{{(item.item==null)?null:item.item.expire_date}}
@{{selected_currency.symbol}}
@{{selected_currency.symbol}} %
@{{selected_currency.symbol}}
# @lang('layout.ServiceName') @lang('layout.OldQuantity') @lang('layout.Quantity') @lang('layout.Measure') @lang('layout.Price') @lang('layout.Total')
@{{index+1}}
@{{selected_currency.symbol}}
@{{selected_currency.symbol}}
@lang('layout.Cancel')
{!! Form::close() !!}
@endsection @push('scripts') @endpush