@extends('layouts.app') @section('style') @stop @section('content')
@lang('menu.Refund') @lang('layout.InvoiceNumber') {{$invoice->number}}
{{Form::model($invoice,['route' => ['refundRoll.update',$invoice->invoice_id],'method' => 'PATCH','class' => 'form-horizontal','id'=>'sales-form'])}} {{ csrf_field() }}
@{{selected_currency.symbol}} %
@if(ShowQuantityByWing() == "true")
@endif
@lang('layout.Total') : @{{ format_number(Number.parseFloat((subtotal - (discount*(subtotal - discountFiledRow)/100) - discountFiledRow)-payeds))}} @{{selected_currency.symbol}}
@lang('layout.Discount'): (@{{ Number.parseFloat(discount).toFixed(precision()) }}%) @{{ format_number(Number.parseFloat(discount*(subtotal - discountFiledRow)/100)+Number.parseFloat(discountFiledRow)) }} @{{selected_currency.symbol}}
@lang('layout.Payment'): @{{ payeds.toFixed(precision())}} @{{selected_currency.symbol}}
@lang('layout.Sub-Total'): @{{ subtotal.toFixed(precision())}} @{{selected_currency.symbol}}

@lang('layout.MainItem')

# @lang('layout.ItemName') @lang('layout.SiteName') @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,item.item.old_quantity))}}
@{{selected_currency.symbol}}
@{{selected_currency.symbol}} %
@{{(item.item==null)? 0:getItemTotal(item.item,selected_currency.rate,discountIsAmount,item.item.discount, null, null, null, selected_currency.static_rate).result}} @{{selected_currency.symbol}}

@lang('layout.ItemByCode')

# @lang('layout.ItemName') @lang('layout.SiteName') @lang('layout.Code') @lang('layout.OldQuantity') @lang('layout.Quantity') @lang('layout.OnHand') @lang('layout.ExpireDate') @lang('layout.OMeasureValue1') @lang('layout.OMeasureValue2') @lang('layout.Measure') @lang('layout.Width') @lang('layout.Wing') @lang('layout.ApproxWeight') @lang('layout.SalePrice') @lang('layout.Discount') @lang('layout.Total')
@{{index+1}} @{{myRound((item.item==null)?null:refundItemQuantity(item.item,item.item.quantity,item.item.old_quantity))}} @{{(item.item==null)?null:((item.item==null)?null:item.item.expire_date)}} {{-- expire_date --}}
@{{myRound((item.item==null)?null:((item.item.code==null)?null:item.item.code.other_measure))}}
@{{myRound((item.item==null)?null:((item.item.code==null)?null:item.item.code.other_measure2))}}
@{{selected_currency.symbol}}
@{{selected_currency.symbol}} %
@{{(item.item==null)? 0:getItemTotal(item.item,selected_currency.rate,discountIsAmount,item.item.discount, null, null, null, selected_currency.static_rate).result}} @{{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