?
Current Path : /home1/savoy/public_html/savoyglobal.net/hr/application/views/Onboarding/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/savoyglobal.net/hr/application/views/Onboarding/add_employee_joining.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="select-bar"> <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('onboarding','viewinonboardingsearch','search_joining','view_joining','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Creating new Employee</span> </div> <link href="<?=base_url()?>assets/css/tablesortnew.css" rel="stylesheet" type="text/css"> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open_multipart('onboarding/addinonboarding/insert_emp_non_main/view_joining/1',$attributes); $trade_list=$this->mastermodel->getdatas('trade','trade_name'); $visa_type=$this->mastermodel->getdatas('visa_type','visa_type_id'); $sponsor_list=$this->mastermodel->getdatas('sponsor','sponsor_id'); $agency_list=$this->mastermodel->getdatas('agency','agency_id'); $nationality_list=$this->mastermodel->getdatas('nationality','nationality_name'); ?> <ul> <li> <input type="hidden" name="batch_id" value="<?=$batch_id;?>"/> <input type="hidden" name="batch_date" value="<?=$date_joining;?>"/> <label for="data">Date of Joining</label> <div id="multi"> <?php $data = array( 'name' => 'emp_non_date_joining', 'id' => 'emp_non_date_joining', 'class' => 'required', 'value' => $this->mastermodel->convertdatenormalformat($date_joining) ); echo form_input($data).form_error($data); ?> <img src="<?=base_url()?>assets/images/icons/calendar.png" alt="Click to popup the clendar!" /> </div> </li> <li> <label for="data">Full name</label> <?php $data = array( 'name' => 'emp_non_full_name', 'id' => 'emp_non_full_name', 'class' => 'required' ); echo form_input($data).form_error($data); ?> </li> <li> <label for="data">Old Employee No</label> <?php $data = array( 'name' => 'emp_non_no_old', 'id' => 'emp_non_no_old' ); echo form_input($data).form_error($data); ?> </li> <li> <label for="data">Nationality</label> <select name="emp_non_nationality_id" id="emp_non_nationality_id" class="required"> <option value="">Select</option> <?php foreach($nationality_list as $nationality) { echo "<option value='". $nationality['nationality_id'] . "'>" . $nationality['nationality_name'] . "</option>"; } ?> </select> </li> <li> <label for="data">Trade</label> <select name="emp_non_trade_id" id="emp_non_trade_id" class="required"> <option value="">Select</option> <?php foreach($trade_list as $trade) { echo "<option value='". $trade['trade_id'] . "'>" . $trade['trade_name'] . "</option>"; } ?> </select> </li> <li> <label for="data">Sponsor</label> <select name="emp_non_sponsor_id" id="emp_non_sponsor_id" class="required"> <option value="">Select</option> <?php foreach($sponsor_list as $sponsor) { echo "<option value='". $sponsor['sponsor_id'] . "'>" . $sponsor['sponsor_name'] . "</option>"; } ?> </select> </li> <li> <label for="data">Recruitment Agency</label> <select name="emp_non_agency_id" id="emp_non_agency_id" class="required"> <option value="">Select</option> <?php foreach($agency_list as $agency) { echo "<option value='". $agency['agency_id'] . "'>" . $agency['agency_name'] . "</option>"; } ?> </select> </li> <li> <table class="sort"> <tr> <th align="center">Visa Type</th> <th align="center" style="width:200px;">Issue Date</th> <th align="center" style="width:200px;">Expiry Date</th> <th align="center">Remind Before (in days)</th> <th align="center">Visa No</th> </tr> <tr> <td> <select name="emp_non_visa_type_id" id="emp_non_visa_type_id" class="required"> <option value="">Select</option> <?php foreach($visa_type as $visa) { echo "<option value='". $visa['visa_type_id'] . "'>" . $visa['visa_type_name'] . "</option>"; } ?> </select> </td> <td> <div id="multi"> <input type="text" name="emp_non_date_visa_issue" class="required" id="emp_non_date_visa_issue" style="width:100px;"/> <img src="<?=base_url()?>assets/images/icons/calendar.png" alt="Click to popup the clendar!" /> </div> </td> <td> <div id="multi"> <input type="text" name="emp_non_date_visa_expiry" class="required" id="emp_non_date_visa_expiry" style="width:100px;"/> <img src="<?=base_url()?>assets/images/icons/calendar.png" alt="Click to popup the clendar!" /> </div> </td> <td> <input type="text" name="emp_non_visa_remind_before" class="number" id="emp_non_visa_remind_before" style="width:30px;"/> </td> <td> <input type="text" name="emp_non_visa_no" class="" id="emp_non_visa_no" style="width:100px;"/> </td> </tr> </table> </li> <li> <table class="sort"> <tr> <th align="center">Passport No</th> <th align="center" style="width:200px;">Issue Date</th> <th align="center" style="width:200px;">Expiry Date</th> <th align="center">Remind Before (in days)</th> </tr> <tr> <td> <?php $data = array( 'name' => 'emp_non_passport_no', 'id' => 'emp_non_passport_no', 'class' => 'required' ); echo form_input($data).form_error($data); ?> </td> <td> <div id="multi"> <input class="required" type="text" name="emp_non_date_passport_issue" id="emp_non_date_passport_issue" style="width:100px;"/> <img src="<?=base_url()?>assets/images/icons/calendar.png" alt="Click to popup the clendar!" /> </div> </td> <td> <div id="multi"> <input class="required" type="text" name="emp_non_date_passport_expiry" id="emp_non_date_passport_expiry" style="width:100px;"/> <img src="<?=base_url()?>assets/images/icons/calendar.png" alt="Click to popup the clendar!" /> </div> </td> <td> <input type="text" name="emp_non_passport_remind_before" class="number " id="emp_non_passport_remind_before" style="width:30px;"/> </td> </tr> </table> </li> <li> <label for="data">Agreement (for business Visa)</label> <?php $data = array( 'name' => 'agreement_name', 'id' => 'agreement_name' ); $data1 = array( 'name' => 'agreement_doc', 'id' => 'agreement_doc' ); echo form_input($data).form_error($data); echo form_upload($data1).form_error($data1); ?> </li> <li> <label for="data">Attestation (for RP along with No)</label> <?php $data = array( 'name' => 'attestment_name', 'id' => 'attestment_name' ); $data1 = array( 'name' => 'attestment_doc', 'id' => 'attestment_doc' ); echo form_input($data).form_error($data); echo form_upload($data1).form_error($data1); ?> </li> <li> <input type="hidden" name="tab_name" value="emp_non_main"/> <input type="hidden" name="resfunction" value="search_joining"/> </li> <li> <table class="sort"> <caption>Send Alert for entering Personal Information to</caption> <tr> <th align="center">Select</th> <th align="center">Username</th> <th align="center">Designation</th> </tr> <?php $i=1; $user_list = $this->mastermodel->get_alert_users('1'); foreach ($user_list as $user) { ?> <tr> <td style="width:15px;" > <input type="checkbox" name="select_user_<?=$i;?>" checked /> </td> <td> <input type="hidden" name="user_id_<?=$i;?>" value="<?=$user['id'];?>"/> <?=$user['username'];?> </td> <td> <?=$user['designation_name'];?> </td> </tr> <?php $i++; } ?> </table> </li> <li> <label for="submit"> </label> <button type="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </li> </ul> <?php echo form_close();?> </fieldset>