<div class="row">
    <div class="col-md-12">
        <div class="form-group">
            {!! Form::label('name', trans('application.expense_name').'*') !!}
            {!! Form::text('name', null, ['class' => 'form-control input-sm', 'required']) !!}
        </div>
        <div class="form-group">
            {!! Form::label('vendor', trans('application.vendor')) !!}
            {!! Form::text('vendor', null, ['class' => 'form-control input-sm']) !!}
        </div>
        <div class="form-group">
            {!! Form::label('expense_date', trans('application.expense_date').' *') !!}
            {!! Form::text('expense_date', null, ['class' => 'form-control datepicker input-sm', 'required']) !!}
        </div>
        <div class="form-group">
            {!! Form::label('category_id', trans('application.category')) !!}
            <div class="input-group col-sm-12">
                {!! Form::select('category_id',$categories,null, ['class' => 'form-control input-sm chosen']) !!}
                <span class="input-group-addon">
                    <a href="{{ route('expense_category.create') }}" data-toggle="ajax-modal"><i class="fa fa-plus"></i></a>
                </span>
            </div>
        </div>
        <div class="form-group">
            {!! Form::label('currency', trans('application.currency')) !!}
            <div class="input-group col-sm-12">
                {!! Form::select('currency',$currencies,isset($expense) ? $expense->currency : ($default_currency ? $default_currency->symbol : '') ,['class' => 'form-control input-sm chosen']) !!}
            </div>
        </div>
        <div class="form-group">
            {!! Form::label('amount', trans('application.amount').' *') !!}
            {!! Form::input('number','amount',null, ['class' => 'form-control input-sm','min'=>'0','step'=>'any', 'required']) !!}
        </div>
        <div class="form-group">
            {!! Form::label('notes', trans('application.notes')) !!}
            {!! Form::textarea('notes',null, ['class' => 'form-control input-sm', 'rows'=> '3']) !!}
        </div>
    </div>
</div>

