?
Current Path : /home1/savoy/www/savoyglobal.net/sgms/application/views/Administration/ |
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/sgms/application/views/Administration/single_site_shifting.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('administration','viewinadministrationsearch','search_site_shifting','view_site_shifting','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading">Site Allotment Details</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('',$attributes); ?> <ul> <li> <?php $site_list = $this->onboardingmodel->get_emp_site_info($viewinfo->site_id); ?> <table class="sort"> <caption><?=$viewinfo->site_name;?></caption> <?php $batch_code = ''; foreach($site_list as $site) { if($site['emp_non_no'][0]==',') { $site['emp_non_no']=substr($site['emp_non_no'], 1); } $site['emp_non_no'] = str_replace(',',', ', $site['emp_non_no']); $trade_name = $this->mastermodel->get_data_srow('trade',$site['emp_non_trade_id'],'trade_id'); if($batch_code != $site['batch_code']) { ?> <tr><th colspan="4" style="text-align: center; background-color: #cbe7ea; " align="center">Batch Code - <?=$site['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><?=$site['emp_non_full_name'];?></td> <td><?=$site['emp_non_no'];?></td> <td><?=$trade_name->trade_name;?></td> <td><?=$this->mastermodel->convertdatenormalformat($site['site_allotment_date']);?></td> </tr> <?php $batch_code = $site['batch_code'] ; } ?> </table> </li> </ul> <?php echo form_close();?> </fieldset>