?
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_expected_arrival.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_expected_arrival','view_expected_arrival','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Creating new Record</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('onboarding/addinonboarding/insert_expected_arrival/view_expected_arrival/1',$attributes); $trade_list=$this->mastermodel->getdatas('trade','trade_id'); $nationality_list=$this->mastermodel->getdatas('nationality','nationality_id'); ?> <ul> <li> <div id="multi"> <label for="data">Expected Arrival Date</label> <?php $data = array( 'name' => 'expected_arrival_date', 'id' => 'expected_arrival_date', 'class' =>'required' ); 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">Trade</label> <select name="expected_arrival_trade" id="expected_arrival_trade"> <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">No of Employees</label> <?php $data = array( 'name' => 'no_employees', 'id' => 'no_employees', 'class' =>'required number' ); echo form_input($data).form_error($data); ?> </li> <li> <label for="data">Nationality</label> <select name="expected_arrival_nationality" id="expected_arrival_nationality"> <option value="">Select</option> <?php foreach($nationality_list as $nationality) { echo "<option value='". $nationality['nationality_id'] . "'>" . $nationality['nationality_name'] . "</option>"; } ?> </select> <input type="hidden" name="tab_name" value="expected_arrival"/> <input type="hidden" name="resfunction" value="search_expected_arrival"/> </li> <li> <table class="sort"> <caption>Send Reminder to</caption> <tr> <th align="center">Select</th> <th align="center">Username</th> </tr> <?php $i=1; $user_list = $this->mastermodel->getdatas('user','id'); 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> </tr> <?php $i++; } ?> </table> </li> <li> <label for="submit"> </label> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </li> </ul> <?php echo form_close();?> </fieldset>