@extends('layouts.app') @section('style') @stop @section('content') @include("layouts.Cmodal") @include("bills.modal")
  @lang('layout.ReturnInvoice')

@lang('menu.InventoryBrand') :

@{{ brand }}

@lang('layout.Location') :

@{{ location }}

@lang('layout.ByAdvancePricing') :

@{{ AdvancePrice }}

@if(getShowMakeCartan()=="true")

@lang('layout.Width') :

@{{ width }}

@lang('layout.Height') :

@{{ height }}

@endif

@lang('layout.Cost') :

@{{ cost }}

@lang('layout.SerialNum') :

@{{ SNumber }}

@lang('layout.OnHand') :

@{{ on_hand }} @{{ measure_name }}

@if(getShowMakeCartan()=="true")

@lang('layout.Length') :

@{{ length }}

@endif
@if(ShowLastSale()=="true")

@lang('layout.ShowLastSales')

@lang('layout.CustomerName') @lang('layout.Measure') @lang('layout.Price')
@{{last_it.member}} @{{last_it.Measure}} @{{last_it.price}} @{{last_it.currency}}
@endif

@lang('layout.OtherInformations') @lang('layout.Item')

{{Form::open(['route' => 'simpleRefundInvoice.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(TabIndexInItemName() =="true")
{{--
@lang('layout.ItemNotFound')
--}}
{{-- --}}
@lang('layout.ItemNotFound')
@endif
@if(ShowLastSale()=="true")
{{--
--}}
@lang('layout.ShowLastSales')
{{--
--}}
@if(ShowLastSale()=="true") {{-- begin last sale items --}}
@lang('layout.CustomerName') @lang('layout.Measure') @lang('layout.Price')
@{{last_it.member}} @{{last_it.Measure}} @{{last_it.price}} @{{last_it.currency}}
{{-- end last sale items --}} @endif
@endif
@if(getSerailNumber() =="true") @endif @if(getSerialNumberTimes() >= 1 && getSerialNumberTimes() <= 9) @endif @if(getSerialNumberTimes() >= 2 && getSerialNumberTimes() <= 9) @endif @if(getSerialNumberTimes() >= 3 && getSerialNumberTimes() <= 9) @endif @if(searchByCodeLocation()=="true") @endif @if(getM2()!="") @if(getFactorMeasure2()=="true") @if(getMeasureTwoAndThree()=="true") @endif @endif @endif @if(getM3()!="" && getSaleSubMeasure()!="true") @if(getFactorMeasure3()=="true") @if(getMeasureTwoAndThree()=="true") @endif @endif @endif @if(auth()->user()->company()->first()->tag != 1) @endif @if(getSerailNumber() =="true") @endif @if(getSerialNumberTimes() >= 1 && getSerialNumberTimes() <= 9) @endif @if(getSerialNumberTimes() >= 2 && getSerialNumberTimes() <= 9) @endif @if(getSerialNumberTimes() >= 3 && getSerialNumberTimes() <= 9) @endif @if(searchByCodeLocation()=="true") @endif @if(getM2()!="" && getSaleSubMeasure()!="true") @if(getFactorMeasure2()=="true") @if(getMeasureTwoAndThree()=="true") @endif @if(getMeasureTwoAndThree()=="true") @else @endif @endif @endif @if(getM3()!="") @if(getFactorMeasure3()=="true") @if(getMeasureTwoAndThree()=="true") @endif @endif @endif @if(auth()->user()->company()->first()->tag != 1) @endif
# @lang('layout.Category') @lang('layout.SerialNum') @lang('layout.SerialNum')1 @lang('layout.SerialNumber2') @lang('layout.SerialNumber3') @lang('layout.ItemName') @lang('layout.SiteName') @lang('layout.Location')@lang('layout.Description') @lang('layout.ExpireDate') @lang('layout.Quantity') @lang('layout.OnHand') @lang('layout.OMeasureValue1') @lang('layout.OMeasureValue2') @lang('layout.Measure') @lang('layout.SalePrice') @lang('layout.ChangeMeasureTwo') @lang('layout.Measure2') @lang('layout.ChangeMeasureThree') @lang('layout.Measure3') @lang('layout.Total') @lang('layout.TotalHQ')
@{{index+1}} @{{(!item.item)?null:item.item.number1}} @{{(!item.item)?null:item.item.number2}} @{{(!item.item)?null:item.item.number3}} @{{ errors.first('inventory_id['+index+']') }} {{--
@{{ errors.first('inventory_id['+index+']') }}
--}}
{{-- --}} @{{ errors.first('quantity['+index+']') }} @{{myRound((item.item==null)?null:purchaseItemQuantity(item.item,item.item.quantity))}}
@{{selected_currency.symbol}}
@if(getSaleAmountSecondMeasure()=="true") @{{myRound((item.item==null)?null:secoundMeasurQuantity(item.item,item.item.quantity))}} @endif
@{{ (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