?
Current Path : /home1/savoy/public_html/savoyglobal.net/rms/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/rms/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); ?> <div class="grid_12" > <div class="box"> <div class="header main">Employee</div> <div class="content no-padding" > <table class="table" cellpadding="0" cellspacing="0"> <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'); ?> <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> <?= $row['employee_name']?> </td> <td><?php if(!empty($desg)) { echo $desg->designation_name; } ?></td> <td><?php if(!empty($dept)) { echo $dept->department_name; }?></td> <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> </td></tr> <?php $no++; $z++; } echo '<input type="hidden" name="empcount" id="empcount" value="'.$no.'"/>'; ?> </table> </div> </div> </div> <div class="grid_12" > <div class="box"> <div class="header main">Payment Details</div> <div class="content no-padding" > <table class="table"> <tr> <th>Memo</th><th>From Account</th> </tr> <tr> <td> <?php $data = array( 'name' => 'memo', 'id' => 'memo', 'style' => 'width:90%;height:80px', ); echo form_textarea($data).form_error($data); ?> </td> <td> <select name="bank_account_code" id="bank_account_code" class="" style="width:160px"> <option value="">Select</option> <?php $bankacc=$this->mastermodel->getdatas('finance_bank_account'); if(count($bankacc)) { foreach ($bankacc as $key => $acc) { echo "<option value='".$acc['chart_account_code']. "' >" .$acc['chart_account_code'].'-'. $acc['bank_name'] . "</option>"; } } ?> </select> </td> </tr> </table> </div> </div> </div> <div class="grid_12 "> <div class="box"> <div class="actions"> <div class="actions-left"> <div style="display:none"> <div id="empdiv"></div> </div> </div> <div class="actions-right"> <button type="submit" class="clickimage" onclick="addformdata('validateform')">Process</button> <!--<button type="submit" id="button1" class="clickimage" onclick="addformdata('validateform')">Process</button>--> </div> </div> </div> </div> <div style="display: none;"> <div id="staffsaldetdiv"></div> </div> <?php echo form_close();?>