?
Current Path : /home1/savoy/public_html/savoyglobal.net/cocorico/application/views/report/ |
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/cocorico/application/views/report/view_salary_report.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="row-fluid"> <div class="tab-pane " id="tab_2"> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i></div> <div class="tools"> <a href="#" onclick="viewdata('report','viewinreportsearch','search_report','view_report','<?= $_SESSION['pagenum']; ?>')" class="remove"></a> </div> </div> <div class="portlet-body form"> <!-- BEGIN FORM--> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate'); $employee=$this->hrmodel->search_employee(); echo form_open('report/generate_report/get_salary_report/_report', $attributes); ?> <div class="row-fluid"> <div class="span6"> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-check"></i>Salary Details Report</div> </div> <div class="portlet-body"> <table class="table table-striped table-hover table-bordered" id="sample_5" style="background-color: white;"> <tr> <td> From Date </td> <td> <input name="start_date" id="date1" type="text" class="calfocus" /> </td> </tr> <tr> <td> To Date </td> <td> <input name="end_date" id="date" type="text" class="calfocus" /> </td> </tr> <tr> <td> Employee Name </td> <td> <select name="employee_id" class="" id="employee_name"> <option value="">All</option> <?php foreach ($employee['results']->result_array() as $list) { ?> <option value="<?= $list['employee_id'] ?>"><?= $list['employee_name'] ?></option> <?php } ?> </select> </td> </tr> </table> </div> </div> </div> <div class="span6"> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-check"></i> Report Fields</div> </div> <div class="portlet-body"> <table class="table table-striped table-hover table-bordered" id="sample_5" style="background-color: white;"> <tr> <th style="text-align: center"><input type="checkbox" id="checkall" name="checkall" class="reportcheck" onchange="field_check_all()"/></th> <th style="text-align: center">Report Fields</th> </tr> <?php $i=1; ?> <tr> <td style="text-align: center"><input type="checkbox" value="employee_name~Employee_Name" name="field_name_<?=$i++;?>" class="reportcheck" checked /></td> <td>Employee Name</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="salary_date~Salary_Date" name="field_name_<?=$i++;?>" checked class="reportcheck"/></td> <td> Salary Date</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="pay_date~Pay_Date" name="field_name_<?=$i++;?>" checked class="reportcheck"/></td> <td>Pay Date</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="basic_salary~Basic_Salary" name="field_name_<?=$i++;?>" class="reportcheck" checked /></td> <td>Basic Salary</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="allowance_amount~Allowance_Amount" name="field_name_<?=$i++;?>" class="reportcheck" checked/></td> <td>Allowance Amount</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="deduction_amount~Deduction_Amount" name="field_name_<?=$i++;?>" class="reportcheck" checked/></td> <td>Deduction Amount</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="net_payment~Net_Amount" name="field_name_<?=$i++;?>" class="reportcheck" checked/></td> <td>Net Amount</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="paid_amount~Paid_Amount" name="field_name_<?=$i++;?>" class="reportcheck" checked/></td> <td>Paid Amount</td> </tr> </table> </div> </div> </div> </div> <input type="hidden" name="field_count" value="<?=$i;?>"/> <input type="hidden" name="report_type" value="view"/> <input type="hidden" name="report_name" value="Salary Report"/> <div class="form-actions"> <button style="float: right;margin-left: 10px;" type="button" class="clickimage"onclick="generate_pdf('report/generate_report/get_salary_report/_report/view/')" >Generate</button> <button style="float: right;margin-left: 10px;" type="submit" class="clickimage" onclick="generateReport('report/generate_report/get_salary_report/_report/xls/')" >XLS</button> <button style="float: right;margin-left: 10px;" type="submit" class="clickimage" onclick="generateReport('report/generate_report/get_salary_report/_report/pdf/')" >PDF</button> </div> <?php echo form_close(); ?> <!-- END FORM--> <div id="loadresult"></div> <div id="report_div"></div> </div> </div> </div> </div>