?
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/single_camp_allotment.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_camp_allotment','view_camp_allotment','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Camp Allotment Details</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('',$attributes); ?> <ul> <li> <?php $camp_list = $this->onboardingmodel->get_emp_camp_info($viewinfo->camp_id); ?> <table class="sort"> <caption><?=$viewinfo->camp_name;?></caption> <?php $batch_code = ''; foreach($camp_list as $camp) { if($camp['emp_non_no'][0]==',') { $camp['emp_non_no']=substr($camp['emp_non_no'], 1); } $camp['emp_non_no'] = str_replace(',',', ', $camp['emp_non_no']); $trade_name = $this->mastermodel->get_data_srow('trade',$camp['emp_non_trade_id'],'trade_id'); if($batch_code != $camp['batch_code']) { ?> <tr><th colspan="4" style="text-align: center; background-color: #cbe7ea; " align="center">Batch Code - <?=$camp['batch_code'];?></th></tr> <tr> <th>Employee Name</th> <th>Employee No</th> <th>Trade Name</th> <th>Alloted Date</th> </tr> <?php } ?> <tr> <td><?=$camp['emp_non_full_name'];?></td> <td><?=$camp['emp_non_no'];?></td> <td><?=$trade_name->trade_name;?></td> <td><?=$this->mastermodel->convertdatenormalformat($camp['camp_allotment_date']);?></td> </tr> <?php $batch_code = $camp['batch_code'] ; } ?> </table> </li> </ul> <?php echo form_close();?> </fieldset>