<script>
    $(document).ready(function (){
        $('#basis-list').select2();

    });
</script>
{!! Form::open(['action'=>'Hr\EmployeeDeductionController@storeAddEmployeeDeductionType', 'id'=>'add-employee-deduction-type', 'method'=>'POST']) !!}
<div class="error" style="text-align: center;"><b>On this Window, You can Add New Employee Deduction Type</b></div><br>
<div class="guestDetails_inputDivider"></div>
<button type="submit" disabled style="display: none" aria-hidden="true"></button>
<div class="guestDetails_input">
    <div class="guestDetails_inputLabel">
        {!! Form::label('name', 'Enter Deduction Type Name') !!}<span class="error">*</span>
    </div>
    <div class="guestDetails_input">
        {!! Form::text('name', '', ['class'=>'input-text-height', 'size'=>45]) !!}
    </div>
</div>
<div class="guestDetails_input">
    <div class="guestDetails_inputLabel">
        {!! Form::label('basis', 'Select Basis') !!}<span class="error">*</span>
    </div>
    <div class="guestDetails_input">
        <select name="basis" id="basis-list" style="width: 150px">
            <option value="">--Select Deduction Basis--</option>
            <option value="taxable">Taxable</option>
            <option value="non-taxable">Non Taxable</option>
        </select>
    </div>
</div>
<div class="guestDetails_input">
    <div class="guestDetails_inputLabel">
        {!! Form::label('min-amount', 'Min. Amount Deductible') !!}<span class="error">*</span>
    </div>
    <div class="guestDetails_input">
        {!! Form::number('min-amount', 0, ['class'=>'input-text-height', 'min'=>0]) !!}
    </div>
</div>
{!! Form::close() !!}
