?
Current Path : /home1/savoy/www/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/www/savoyglobal.net/hr/application/views/Onboarding/edit_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">Updating Record</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('onboarding/addinonboarding/update_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', 'value' => $this->mastermodel->convertdatenormalformat($viewinfo->expected_arrival_date) ); 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'] . "'";if($viewinfo->expected_arrival_trade == $trade['trade_id'] ){echo "selected";} echo ">" . $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', 'value' => $viewinfo->no_employees ); 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'] . "'";if($viewinfo->expected_arrival_nationality == $nationality['nationality_id'] ){echo "selected";} echo ">" . $nationality['nationality_name'] . "</option>"; } ?> </select> <input type="hidden" name="tab_name" value="expected_arrival"/> <input type="hidden" name="resfunction" value="search_expected_arrival"/> <input type="hidden" name="expected_arrival_id" value="<?=$id;?>"/> <li> <label for="submit"> </label> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </li> </ul> <?php echo form_close();?> </fieldset>