@extends('layouts.app') @section('style') @stop @section('content') @include("layouts.Cmodal")
  @lang('layout.CreateExpenseReturn') {{--some info...--}}
{{Form::open(['route' => 'returnExpense.store','method' => 'POST','class' => 'form-horizontal','id'=>'return-expense-form'])}}
{{Form::select('type',['writeCheck' => __('layout.Writecheck'),'bill' => __('layout.Bill')],'Accounts Receivable',[ 'v-model'=>'expenseType','class'=>'form-control select_style',"v-validate"=>"'required'","data-vv-as"=>__('layout.ExpenseType')])}} @{{errors.first('type')}}
@{{ errors.first('expense_number') }} @{{number_msg}}
@{{ errors.first('vendor') }}
{{--
--}} {{--
--}} {{----}} {{--@{{selectedCurrency.symbol}}--}} {{--%--}} {{----}} {{--
--}} {{--
--}}
@lang('message.DifferentRateMsg')
@if(auth()->user()->company()->first()->tag == 1)
@endif
@{{defaultAmount=((!selectedBank)?null:selectedBank.balance-subtotal)}}
@if(systemConfig()[5] != 0 )
@endif
@if(systemConfig()[20] == 1)
@endif
@if(getHourType() == 24) @else @endif
{{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}}
@lang('layout.Total') : @{{ Number.parseFloat(subtotal).toFixed(2)}} @{{selectedCurrency.symbol}}
@lang('layout.Total') : @{{ Number.parseFloat(subtotal-payeds).toFixed(2)}} @{{selectedCurrency.symbol}}
@lang('layout.Pyments') : @{{ Number.parseFloat(payeds).toFixed(2)}} @{{selectedCurrency.symbol}}
@lang('layout.Sub-Total') : @{{ Number.parseFloat(subtotal).toFixed(2)}} @{{selectedCurrency.symbol}}
--}} {{--@lang('layout.Discount'): (@{{ Number.parseFloat(discount).toFixed(2) }}%)--}} {{----}} {{--@{{ Number.parseFloat(discount*subtotal/100).toFixed(2) }}--}} {{--@{{selectedCurrency.symbol}}--}} {{--
--}} {{--@lang('layout.Payment'):--}} {{----}} {{----}} {{--@{{ payeds.toFixed(2)}}--}} {{--@{{selectedCurrency.symbol}}--}} {{----}} {{--
--}} {{--Sub-Total:--}} {{----}} {{--@{{ subtotal.toFixed(2)}}--}} {{--@{{selectedCurrency.symbol}}--}} {{--
# @lang('layout.SelectAccount') @lang('layout.ExpenseCategory') @lang('layout.Description') @lang('layout.Amount')
@{{itemIndex+1}}
@{{selectedCurrency.symbol}}
{{-- @if(auth()->user()->company()->first()->tag != 1) @endif --}} {{-- @if(auth()->user()->company()->first()->tag != 1) @endif --}}
# @lang('layout.SelectAccount') @lang('layout.Rate') @lang('layout.Currency') @lang('layout.Amount') @lang('layout.Total')@lang('layout.TotalHQ')
@{{Index+1}}
@if(systemConfig()[30] == 1) @else @endif @{{selectedCurrency.symbol}}
@if(systemConfig()[30] == 1) @else @endif @{{selectedCurrency.symbol}}
{{----}} {{----}} @lang('layout.Cancel')
{{Form::close()}}
@endsection @push('scripts') @endpush