<script type="text/javascript" src="<?php echo base_url();?>assets/js/employee.js"></script>
<aside class="right-side">
    <section class="content-header">
        <div class="title_bar">
            <h1 class="major_txt_color">Employee Add</h1>
            <div class="breadcrumb_container"><?php echo breadcrumb_links();?></div>
        </div>
    </section>
    <section class="content">
        <div class="row">
            <div class="col-xs-12">
                <form action="<?php echo $form_action;?>" method="post" name="employee_form" enctype="multipart/form-data" method="post">    
                    <input type="hidden" name="hidden_id" value="" />    
                    <div class="box box-danger">
                        <div class="box-body">
                            <ul class="error_container"></ul>
                            <div class="col-xs-12">
                                <div class="col-md-6">
                                    <div class="form-group float-clear">
                                        <label>Name<span class="required">*</span></label>
                                        <input type="text" class="form-control" name="name" placeholder="Name" autofocus />
                                    </div>
                                    <div class="form-group float-clear">
                                        <label>Designation</label>
                                        <input type="text" class="form-control" name="designation" placeholder="Designation" />
                                    </div>
                                    <div class="form-group float-clear">
                                        <label>Date of Birth</label>
                                        <div class="input-group">
                                            <input type="text" class="form-control datepicker" name="dob" placeholder="DD-MM-YYYY" />
                                            <div class="input-group-addon"><i class="fa fa-calendar"></i></div>
                                        </div>
                                    </div>
                                    
                                     <div class="form-group float-clear">
                                        <label>Address<span class="required">*</span></label>
                                        <textarea type="text" class="form-control" name="address"></textarea>
                                    </div>
                                    
                                    <div class="form-group float-clear">
                                        <label>Passport No<span class="required">*</span></label>
                                        <input type="text" class="form-control passport_no check_exist" name="passport_no" placeholder="Passport No" />
                                    </div>
                                    <div class="form-group float-clear">
                                        <label>Passport Valid Upto</label>
                                        <div class="input-group">
                                            <input type="text" class="form-control datepicker" name="passport_valid_upto" placeholder="DD-MM-YYYY" />
                                            <div class="input-group-addon"><i class="fa fa-calendar"></i></div>
                                        </div>
                                    </div>
                                    
                                    <div class="form-group float-clear">
                                        <label>Work Permit No<span class="required">*</span></label>
                                        <input type="text" class="form-control work_permit_no check_exist" name="work_permit_no" placeholder="Work Permit No" />
                                    </div>
                                    
                                    <div class="form-group float-clear">
                                        <label>Security Bond No<span class="required">*</span></label>
                                        <input type="text" class="form-control security_bond_no check_exist" name="security_bond_no" placeholder="Security Bond No" />
                                    </div>
                                    
                                    <div class="form-group float-clear">
                                        <label>Photo</label>
                                        <input type="file" class="form-control" name="image" />
                                    </div>
                                </div>
                                
                                <div class="col-md-6">
                                     <div class="form-group float-clear">
                                        <label>Date of Application</label>
                                        <div class="input-group">
                                            <input type="text" class="form-control datepicker" name="date_of_app" placeholder="DD-MM-YYYY" />
                                            <div class="input-group-addon"><i class="fa fa-calendar"></i></div>
                                        </div>
                                    </div>
                                    <div class="form-group float-clear">
                                        <label>Date of Joined</label>
                                        <div class="input-group">
                                            <input type="text" class="form-control datepicker" name="date_of_join" placeholder="DD-MM-YYYY" />
                                            <div class="input-group-addon"><i class="fa fa-calendar"></i></div>
                                        </div>
                                    </div>
                                    <div class="form-group float-clear">
                                        <label>Date of Expired</label>
                                        <div class="input-group">
                                            <input type="text" class="form-control datepicker" name="date_of_expire" placeholder="DD-MM-YYYY" />
                                            <div class="input-group-addon"><i class="fa fa-calendar"></i></div>
                                        </div>
                                    </div>
                                    
                                    <div class="form-group float-clear">
                                        <label>Date of Renewal</label>
                                        <div class="input-group">
                                            <input type="text" class="form-control datepicker" name="date_of_renewal" placeholder="DD-MM-YYYY" />
                                            <div class="input-group-addon"><i class="fa fa-calendar"></i></div>
                                        </div>
                                    </div>
                                    <div class="form-group float-clear">
                                        <label>Contact No:[S]</label>
                                        <input type="text" class="form-control" name="hps" placeholder="Contact No:[S]" />
                                    </div>
                                    
                                    <div class="form-group float-clear">
                                        <label>Contact No:[I]</label>
                                        <input type="text" class="form-control" name="hpi" placeholder="Contact No:[I]" />
                                    </div>
                                    
                                    <div class="form-group float-clear">
                                        <label>WCI Insurance No</label>
                                        <input type="text" class="form-control" name="wci_no" placeholder="wci_no" />
                                    </div>
                                    
                                    <div class="form-group float-clear">
                                        <label>Insurance Valid Upto</label>
                                        <div class="input-group">
                                            <input type="text" class="form-control datepicker" name="insurance_valid" placeholder="DD-MM-YYYY" />
                                            <div class="input-group-addon"><i class="fa fa-calendar"></i></div>
                                        </div>
                                    </div>
                                    
                                    
                                    <div class="form-group">
                                        <label class="leftcol">Status</label>
                                        <div>
                                            <label for="status" style="width: 32%;"><input type="radio" name="status" value="1" checked/> &nbsp;&nbsp;Active</label> 
                                            <label for="status" style="width: 32%;"><input type="radio" name="status" value="0" /> &nbsp;&nbsp;Inactive</label> 
                                        </div>
                                    </div>
                                    
                                   
                                </div>
                            </div>
                        </div>
                        
                        <div class="box-footer form-actions float-clear">
                            <input class="btn reset" type="reset" value="Reset" />
                            <input type="submit" name="submit" value="Save" class="btn btn-success btn-primary" />
                        </div>
                    </div><!-- /.box -->
                </form>
            </div><!-- /.col-xs-12 -->
        </div><!-- /.row -->
    </section><!-- /.content -->
</aside>