?
Current Path : /home1/savoy/public_html/savoyglobal.net/drafthr/system/application/views/HR/ |
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/drafthr/system/application/views/HR/singlecomstaff.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');?> <?php /* * To change this template, choose Tools | Templates * and open the template in the editor. */ $stfemp=$this->mastermodel->get_data_srow('staffemployeedetails',$staffid,'staffid'); $staffsalaryid=""; $data = $this->hrmodel->get_sal_data('staffsalary',$staffid,date("d-m-Y")); $staffsalaryid = $data->id; ?> <div class="select-bar"> <label> <img src="<?=base_url()?>/assets/images/backbutton.png" title="Back" class="clickimage" onclick="loadstaff('<?=$_SESSION['pagenum']?>','<?=$_SESSION['searchoption']?>','<?=$_SESSION['searchtxt']?>')" alt="Back" align = "center" width="25" height="25" /></label> </div> <img src="<?=base_url()?>assets/images/leav_white.jpg" class = "clickimage" title="Leave" alt="Leave" align = "right" onclick="leavestaff(<?=$staffid?>)" /> <img src="<?=base_url()?>assets/images/com_white.jpg" class = "clickimage" title="Commission" alt="Commission" align = "right" onclick="comstaff('$staffid')" /> <img src="<?=base_url()?>assets/images/sal_white.jpg" class = "clickimage" title="Salary" alt="Salary" align = "right" <?if ($staffsalaryid != ""){ ?>onclick="singstafsal(<?=$staffsalaryid?>)"<?php } else { ?> onclick="alert('Employee Salary not Set');" <?php } ?>/> <img src="<?=base_url()?>assets/images/per_white.jpg" class = "clickimage" title="Personal" alt="Personal" align = "right" onclick="singlestaff(0,<?=$staffid?>)" /> <br><br><br><fieldset> <ul> <li> <table class="sort" cellpadding="0" cellspacing="0" align="right" ><caption>Commission Settings</caption> <thead><tr> <th>Type of Cover</th> <th>New Policy(%)</th> <th>Renewal(%)</th> </tr><?php foreach($viewinfo as $updata) { $covername=$this->mastermodel->get_data_srow('covers',$updata['cover_id'],'id'); ?> <tr> <td width="200px"><?=$covername->cover;?></td> <td><?= $updata['newpolicy'];?></td> <td><?= $updata['renewal'];?></td> </tr> <?php } ?> </table></li> </ul> </fieldset>