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

