?
Current Path : /home1/savoy/public_html/savoyglobal.net/sibs_draft/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/sibs_draft/system/application/views/HR/loadallemp.php |
<script type="text/javascript" src="<?= base_url() ?>/assets/js/autonumeric.js"></script> <script type="text/javascript"> jQuery(document).ready(function () { $("input.autop").autoNumeric({ mNum: 2, mDec: 0 }); $("input.auto").autoNumeric(); }); </script> <div id="checkloading"></div> <table class="sort" cellpadding="0" cellspacing="0"> <caption>Staff <!-- <input style="float: right" type="button" value="Add Salary Details" class="clickimage slslip" onclick="//setSlaray()"/>--> </caption> <thead> <tr> <th><input type="checkbox" name="checksalempdet" id="checksalempdet" onclick="checksalempdetfunc()" value="1"/></th> <th>Sl No.</th> <th>Employee no</th> <th>Name</th> <th>Designation</th> <th>Department</th> <th width="15%" class="last">Action</th> </tr> </thead> <tbody> <?php $z = 1; $no = 1; foreach ($viewinfo as $row) { if ($z % 2 == 0) { $alt = "alt"; } else { $alt = "alt1"; } $stfemp = $this->mastermodel->get_data_srow('staffemployeedetails', $row['id'], 'staffid'); $desg = $this->mastermodel->get_data_srow('designation', $stfemp->designationid, 'id'); $dept = $this->mastermodel->get_data_srow('department', $stfemp->deptid, 'id'); echo '<tr class="' . $alt . '"> <td> <input type="checkbox" name="salempdet[]" id="salempdet_' . $no . '" onclick="checksalarymonthind(' . $no . ')" value="' . $row['id'] . '"/> </td> <td>' . $no . '</td> <td>' . $row['employeeid'] . '</td> <td>' . $row['name'] . '</td> <td>'; if (!empty($desg)) { echo $desg->designation; } echo '</td> <td>'; if (!empty($dept)) { echo $dept->departmentname; } echo '</td><td>'; $value = '1~' . $row['id'] . '~' . $row['employeeid']; ?> <div id="console_fronticons" style="float:left"> <!--div class="fronticons"> <img id="saldetexample" src="<?= base_url() ?>/assets/images/saldet.png" title="Salary Details" width="20" height="20" alt="Salary Details" align = "center" class="clickimage slslip" onclick="viewsalaryslip(<?= $row['id'] ?>)" /> </div--> <div class="fronticons"> <img src="<?= base_url() ?>/assets/images/add1.png" title="Add Salary Details" width="20" height="20" alt="Add Salary Details" align = "center" class="clickimage sldetails "id="minus_<?= $row['id'] ?>" onclick="viewsalarydetails(<?= $row['id'] ?>,<?=$no?>)" /> </div> </div> <?php echo '</td> </tr> <tr id="staff_' . $row['id'] . '" style="display:none;"><td colspan="7"></td> </tr>'; $no++; $z++; } echo '<input type="hidden" name="empcount" id="empcount" value="' . $no . '"/>'; ?> </tbody> </table> <div style="display:none"> <div id="staffsaldetdiv"> </div> </div>