?
Current Path : /home1/savoy/public_html/savoyglobal.net/sgms/draft/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/sgms/draft/application/views/HR/loadunpostedsalary.php |
<script type="text/javascript"> jQuery(document).ready(function() { $('#validateform :checkbox').click(function() { checkallcheckbox(); }); checkunpostedsal(); }); </script> <?php $attributes = array('id' => 'validateform' ,'class'=>'customForm'); echo form_open('hr/addinhr/insert_multiple_posted_salary_payment/view_payslip/1',$attributes); ?> <ul> <li> <table class="sort" cellpadding="0" cellspacing="0"> <caption>Employee</caption> <thead> <tr> <th><input type="checkbox" style="width: 20px;" checked name="checksalempdet" id="checksalempdet" onclick="checkunpostedsal()" 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> <?php $z=1; $no=1; foreach ($viewinfo as $row) { if($z%2==0) $alt="alt"; else $alt="alt1"; $emp=$this->mastermodel->get_data_srow('employee',$row['employee_id'],'employee_id'); $desg = $this->mastermodel->get_data_srow('designation',$emp->employee_designation_id,'designation_id'); $dept= $this->mastermodel->get_data_srow('department',$emp->employee_department_id,'department_id'); echo '<tr class="'.$alt.'"> <td><input type="checkbox" style="width: 20px;" name="salempdet[]" id="salempdet_'.$no.'" value="'.$row['employee_salary_slip_id'].'"/></td> <td>'.$no.'</td> <td>'.$row['employee_no'].'</td><td>';?> <?php echo $row['employee_name']?> <?php echo '</td> <td>';if(!empty($desg)) { echo $desg->designation_name; } echo '</td> <td>'; if(!empty($dept)) { echo $dept->department_name; } echo '</td>'; echo '<td >'; ?> <div id="console_fronticons"> <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="viewunpostedpayslip(<?=$row['employee_salary_slip_id']?>)" alt="" /> </div> </div> <?php echo '</td></tr>' ; $no++; $z++; } echo '<input type="hidden" name="empcount" id="empcount" value="'.$no.'"/>'; ?> </table> <table class="sort"> <caption>Payment Details</caption> <tr> <th>Memo</th><th>From Account</th> </tr> <tr> <td> <?php $data = array( 'name' => 'memo', 'id' => 'memo', 'rows' => '10', 'cols' => '5', 'style' => 'width:80%', ); echo form_textarea($data).form_error($data); ?> </td> <td> <select name="bank_account_code" id="bank_account_code" class="required" style="width:160px"> <option value="">Select</option> <?php $bankacc=$this->mastermodel->getdatas('bank_account'); if(count($bankacc)) { foreach ($bankacc as $key => $acc) { echo "<option value='".$acc['account_code']. "' >" .$acc['account_code'].'-'. $acc['bank_account_name'] . "</option>"; } } ?> </select> </td> </tr> </table> </li> <li> <label for="submit"> </label> <button type="submit" id="button1" class="clickimage" onclick="addformdata('validateform')">Process</button> </li> </ul> <div style="display:none"> <div id="staffsaldetdiv"> </div> </div>