@extends('layouts.app') @section('style') @stop @section('content') @include("layouts.Cmodal") @include("bills.modal")
  @lang('layout.ReturnInvoice')
{{Form::open(['route' => 'refundRoll.store','method' => 'POST','class' => 'form-horizontal','id'=>'purchase-form'])}} {{ csrf_field() }}
@{{ errors.first('customer') }}
@{{ errors.first('number') }}
@{{msg}}
@{{ errors.first('currency') }}
@{{ errors.first('currency_rate') }} @lang('message.DifferentRateMsg')
@if(auth()->user()->company()->first()->tag != 1)
@{{ errors.first('currency_rate') }}
@endif
@{{selected_currency.symbol}} %
@lang('layout.Total') : @{{ Number.parseFloat((subtotal )-payeds).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(auth()->user()->company()->first()->tag != 1) @endif @if(auth()->user()->company()->first()->tag != 1) @endif
# @lang('layout.Category') @lang('layout.ItemName') @lang('layout.Code') @lang('layout.SiteName') @lang('layout.Quantity') @lang('layout.OnHand') @lang('layout.OMeasureValue1') @lang('layout.OMeasureValue2') @lang('layout.Measure') @lang('layout.Width') @lang('layout.Wing') @lang('layout.ApproxWeight') @lang('layout.NewCost') @lang('layout.Total') @lang('layout.TotalHQ')
@{{index+1}} @{{ errors.first('inventory_id['+index+']') }} @{{ errors.first('code['+index+']') }} @{{ errors.first('quantity['+index+']') }} @{{myRound((item.item==null)?null:purchaseItemQuantity(item.item,item.item.quantity))}}
@{{selected_currency.symbol}}
@{{ (item.item==null)?null:getItemTotal(item.item,selected_currency.rate,discountIsAmount,item.item.discount,selected_currency.hq_rate, null, null, selected_currency.static_rate).result }} @{{selected_currency.symbol}} @{{ (item.item==null)?null:getItemTotal(item.item,selected_currency.rate,discountIsAmount,item.item.discount,selected_currency.hq_rate, null, null, selected_currency.static_rate).resultHQ }} @{{selected_currency.symbol}}
@if(auth()->user()->company()->first()->tag != 1) @endif @if(auth()->user()->company()->first()->tag != 1) @endif
# @lang('layout.SelectBank') @lang('layout.Amount') @lang('layout.Rate') @lang('layout.Currency') @lang('layout.Amount') @lang('layout.Total')@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}}
@{{selected_currency.symbol}}
@if(getDriverInfo()=="true")
@lang('layout.DriverInfo')
{{Form::text('transfer_code',null,['class' => 'form-control','placeholder' => __('layout.TransferCode')])}}
{{Form::text('palce_of_weight',null,['class' => 'form-control','placeholder' => __('layout.PlaceOfWeight')])}}
{{Form::text('source_place',null,['class' => 'form-control','placeholder' => __('layout.SourcePlace')])}}
{{Form::textarea('transfer_description',null,['class' => 'form-control','rows' => '1','placeholder' => __('layout.Description')])}}
@endif
@lang('layout.Cancel')
{!! Form::close() !!}
@endsection @push('scripts') @endpush