{!! Form::label('name', trans('global.expense.fields.name').'*', ['class' => 'control-label form-label']) !!}
{!! Form::text('name', old('name'), ['class' => 'form-control', 'placeholder' => '', 'required' => '']) !!}

@if($errors->has('name'))

{{ $errors->first('name') }}

@endif
{!! Form::label('account_id', trans('global.expense.fields.account').'*', ['class' => 'control-label']) !!} @if ( Gate::allows('account_create') ) @if( 'button' === $addnew_type )   @else   @endif @endif {!! Form::select('account_id', $accounts, old('account_id'), ['class' => 'form-control select2', 'required' => '']) !!}

@if($errors->has('account_id'))

{{ $errors->first('account_id') }}

@endif
{!! Form::label('expense_category_id', trans('global.expense.fields.expense-category').'*', ['class' => 'control-label']) !!} @if ( Gate::allows('expense_category_create')) @if( 'button' === $addnew_type )   @else   @endif @endif {!! Form::select('expense_category_id', $expense_categories, old('expense_category_id'), ['class' => 'form-control select2', 'required' => '']) !!}

@if($errors->has('expense_category_id'))

{{ $errors->first('expense_category_id') }}

@endif
{!! Form::label('entry_date', trans('global.expense.fields.entry-date').'*', ['class' => 'control-label form-label']) !!}
{!! Form::text('entry_date', old('entry_date', $entry_date),['class' => 'form-control date', 'placeholder' => 'Entry date', 'required' => '']) !!}

@if($errors->has('entry_date'))

{{ $errors->first('entry_date') }}

@endif
{!! Form::label('amount', trans('global.expense.fields.amount').'*', ['class' => 'control-label form-label']) !!}
{!! Form::number('amount', old('amount'), ['class' => 'form-control amount','min'=>'1','step'=>'.01','placeholder' => 'amount', 'required' => '']) !!}

@if($errors->has('amount'))

{{ $errors->first('amount') }}

@endif
{!! Form::label('billable', trans('global.expense.fields.billable').'', ['class' => 'control-label']) !!} {!! Form::select('billable', yesnooptions(), old('billable'), ['class' => 'form-control select2']) !!}

@if($errors->has('billable'))

{{ $errors->first('billable') }}

@endif
{!! Form::label('currency_id', trans('global.recurring-invoices.fields.currency').'*', ['class' => 'control-label']) !!}{!!digi_get_help(trans('global.expense.currency-help'), 'fa fa-question-circle')!!}