@extends('layouts.app') @section('style') @stop @section('content')
@lang('menu.Refund') @lang('layout.InvoiceNumber') {{$invoice->number}}
{{Form::model($invoice,['route' => ['refund.update',$invoice->invoice_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.Payment'): @{{ payeds.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.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))}}
@{{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.SelectBank') @lang('layout.Balance') @lang('layout.Rate') @lang('layout.Currency') @lang('layout.OldQuantity') @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}}
@{{selected_currency.symbol}}
@lang('layout.Cancel')
{!! Form::close() !!}
@endsection @push('scripts') @endpush