?
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_batch_checklist.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">Batch Checklist</span> </div> <fieldset> <?php //$employee_list = $this->mastermodel->get_data('employee_non_main',$viewinfo->id,'batch_id','emp_non_full_name'); $employee_list = $this->onboardingmodel->get_all_employees_batch($viewinfo->id); $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('',$attributes); ?> <ul> <table class="sort"> <caption>Batch Code - <?=$viewinfo->batch_code;?></caption> <tr> <th align="center">Employee Name</th> <th align="center">Employee No</th> <th align="center">Trade</th> <th align="center">Personal Details</th> <th align="center">Camp Allotment</th> <th align="center">Site Allotment</th> <th align="center">Tools & Equipments</th> </tr> <?php foreach($employee_list as $employee) { //$trade_name = $this->mastermodel->get_data_srow('trade',$employee['emp_non_trade_id'],'trade_id'); $checked_personal = $this->mastermodel->number_rows('emp_non_personal','emp_non_id',$employee['emp_non_id']); $checked_camp = $this->mastermodel->number_rows('camp_allotment','employee_id',$employee['emp_non_id']); $checked_site = $this->mastermodel->number_rows('site_allotment','employee_id',$employee['emp_non_id']); $checked_item = $this->mastermodel->number_rows('item_tool_allotment','employee_id',$employee['emp_non_id']); ?> <tr> <td><?=$employee['emp_non_full_name'];?></td> <td><?=$employee['emp_non_no'];?></td> <td><?=$employee['trade_name'];?></td> <td> <?php if($checked_personal == 0) { ?> <img src="<?=base_url()?>assets/images/icons/close.png" alt=""/> <?php } ?> </td> <td> <?php if($checked_camp == 0) { ?> <img src="<?=base_url()?>assets/images/icons/close.png" alt=""/> <?php } ?> </td> <td> <?php if($checked_site == 0) { ?> <img src="<?=base_url()?>assets/images/icons/close.png" alt=""/> <?php } ?> </td> <td> <?php if($checked_item == 0) { ?> <img src="<?=base_url()?>assets/images/icons/close.png" alt=""/> <?php } ?> </td> </tr> <?php } ?> </table> </ul> <?php echo form_close();?> </fieldset>