@extends('layouts.app') @section('style') @stop @section('content') @include("layouts.Cmodal")
  @lang('layout.CreateExpense') {{--some info...--}}
{{Form::open(['route' => 'expense.store','method' => 'POST','class' => 'form-horizontal','id'=>'expense-form', 'files'=> true])}}
@lang('message.SaveAttachmentMessage')
{{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)}}
@{{ errors.first('date') }}
@if(systemConfig()[5] != 0 )
@endif
@if(systemConfig()[20] == 1)
{{--
--}} {{--
--}}
@endif
@if(getHourType() == 24) @else @endif
@if(systemConfig()[36] == 1)
@endif
{{--
--}}
{{--
--}} @if(QuantityInDailyExpense() == 'true')
@endif
{{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}} {{----}}
@lang('layout.Total') @{{ format_number(Number(subtotal))}} @{{selectedCurrency.symbol}}
@lang('layout.Total') : @{{ format_number(Number(subtotal-payeds))}} @{{selectedCurrency.symbol}}
@lang('layout.Pyments') : @{{ format_number(Number(payeds))}} @{{selectedCurrency.symbol}}
@lang('layout.Sub-Total') : @{{ format_number(Number(subtotal))}} @{{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}}--}} {{--
{{-- Attachment Started ............................................................. --}}
{{--
--}} {{--
--}}
@lang('layout.SelectFile') @lang('layout.Change') @lang('layout.Remove')
{{--
@lang('layout.SelectFile') @lang('layout.Change') @lang('layout.Remove')
--}} {{-- End Attachment ......................................................... --}}
@if(QuantityInDailyExpense() == 'true') @else @endif @if(QuantityInDailyExpense() == 'true') @else @endif
# @lang('layout.SelectAccount') @lang('layout.AccountType') @lang('layout.ExpenseCategory') @lang('layout.ExpenseClass') @lang('layout.Description') @lang('layout.Quantity') @lang('layout.Measure') @lang('layout.PerPrice') @lang('layout.TotalAmount') @lang('layout.Amount')
@{{itemIndex+1}}
@{{selectedCurrency.symbol}}
@{{selectedCurrency.symbol}}
@{{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)
@{{selectedCurrency.symbol}}
@else
@{{selectedCurrency.symbol}}
@endif
@if(systemConfig()[30] == 1)
@{{selectedCurrency.symbol}}
@else
@{{selectedCurrency.symbol}}
@endif
{{Form::close()}}
{{-- @dd($class) --}} @endsection @push('scripts') @endpush