@extends('layouts.app') @section('style') @stop @section('content') @include('accounts.modal')
@lang('layout.CreateNewAccountStep')
{{Form::open(['route'=>'account.store','method'=>'post','class'=> 'form-horizontal','id'=>'account-form'])}}
{{-- --}} {{-- --}}

@lang('layout.SelectAccountType')



{{Form::select('type',['accountsReceivable' => __('layout.AccountsReceivable'),'otherCurrentAsset' => __('layout.OtherCurrentAssets'), 'otherAsset' => __('layout.OtherAsset'),'accountsPayable' => __('layout.AccountsPayable'),'otherCurrentLiability' => __('layout.OtherCurrentLiability'), 'longTermLiability' => __('layout.LongTermLiability'),'costOfGoodSold' => __('layout.CostOfGoodSold'),'otherIncome' => __('layout.OtherIncome'), 'otherExpense' => __('layout.OtherExpense')],'Accounts Receivable',[ 'v-model'=>'type','class'=>'form-control'])}}
{{--
@lang('layout.Description')
--}} {{--

--}} {{--

Duis mollis, est non commodo luctus, nisi erat porttitor ligula

--}} {{--

@{{description}}

--}} {{--
--}}
{{--
--}} {{-- --}}

@lang('layout.AccountDetails')

{{--

@lang('layout.AccountDetails')

--}}
@if(session()->get("system_direction") == "ltr")

@lang('layout.ProvideYour') @{{ translateType }} @lang('layout.AccountDetails')

@else

@{{ translateType }} @lang('layout.ProvideYour')

@endif
@if(getAccountNumber()=="true") {{--&& !(fields.number.dirty)--}}
{{Form::number('number',null,['class'=>'form-control ','autocomplete'=>'off','rows'=>'3',':class'=>"{'input': true}"])}} {{$errors->first('number')}} @{{ errors.first('number') }}
@endif @if(getBankNumber()=="true") {{--!(fields.number.dirty)--}}
{{Form::text('bank_account_number',null,['class'=>'form-control ','autocomplete'=>'off','rows'=>'3',':class'=>"{'input': true}"])}}
@endif {{--&& !(fields.name.dirty)--}}
{{Form::text('name',null,['class'=>'form-control','autocomplete'=>'off','v-validate'=>"'required|min:3'" ])}} {{$errors->first('name')}} {{--&& !(fields.name.dirty)--}} @{{ errors.first('name') }} {{Form::hidden('currency',null,['class'=>'form-control','v-bind:value'=>'selectedCurrency.code'])}} {{Form::hidden('balance',null,['class'=>'form-control','v-bind:value'=>'amount'])}} {{--{{Form::hidden('rate',null,['class'=>'form-control','v-bind:value'=>'rate'])}}--}} {{Form::hidden('currency_rate',null,['class'=>'form-control','v-bind:value'=>'selectedCurrency.exchange_rate'])}}
{{Form::hidden('currency',null,['class'=>'form-control','v-bind:value'=>'selectedCurrency.code'])}}
@if(systemConfig()[29] != 1)
@endif
{{Currency()->exchange_rate}} {{getHomeCurrency()['code']}} = @{{ selectedCurrency.code }}
{{--&& !(fields. balance.dirty)--}}
@{{ selectedCurrency.code}} @{{ selectedCurrency.symbol }} {{-- && !(fields. balance.dirty) --}}
{{$errors->first(' balance')}} @{{ errors.first('balance') }}

@lang('layout.OpeningBalance')

{{-- --}}
{{Form::textarea('description',null,['class'=>'form-control','rows'=>'3'])}}
@lang('layout.Cancel')
{{--
--}} {{-- --}} {{-- @lang('layout.Previous') @lang('layout.Next') @lang('layout.Finish') --}} {{--
--}}
{!! Form::close() !!}
@endsection @push('scripts') @endpush