?
Current Path : /home1/savoy/public_html/savoyglobal.net/sec/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/sec/application/views/report/view_attendance_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'); echo form_open('report/generate_report/get_attendance_report/_attendance_report', $attributes); $batch = $this->mastermodel->search_batch(); ?> <div class="row-fluid"> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-check"></i> Attendance Report</div> </div> <div class="portlet-body"> <table class="table table-striped table-hover table-bordered" id="sample_5" style="background-color: white;"> <tr><th colspan='2' style="text-align: center"> Search by Batch</th></tr> <tr> <td> Batch </td> <td> <select name="batch_id" id="batch_id" class="required"> <option value="">Select</option> <?php foreach ($batch['results']->result_array() as $list) { ?> <option value="<?= $list['batch_id'] ?>"><?= $list['batch_no'] ?></option> <?php } ?> </select> </td> </tr> <tr><th colspan='2' style="text-align: center"> Search by Student Type</th></tr> <tr> <td> Student Type </td> <td> <select class="chzn-done" name="student_type" id="student_type"> <option value="">All</option> <option value="active">Active</option> <option value="deactivated">Deactivated</option> <option value="cancelled">Cancelled</option> </select> </td> </tr> <tr><th colspan='2' style="text-align: center"> Search by Attendance Date</th></tr> <tr> <td> From Date </td> <td> <input name="from_date" id="date1" type="text" class="required calfocus" /> </td> </tr> <tr> <td> To Date </td> <td> <input name="to_date" id="date" type="text" class="required calfocus" /> </td> </tr> </table> </div> </div> </div> <div class="form-actions"> <button style="float: right;margin-left: 10px;" type="button" class="clickimage" onclick="generate_pdf('report/generate_report/get_attendance_report/_attendance_report/view/')" >Generate</button> <button style="float: right;margin-left: 10px;" type="submit" class="clickimage" onclick="generateReport('report/generate_report/get_attendance_report/_attendance_report/xls/')" >XLS</button> <button style="float: right;margin-left: 10px;" type="submit" class="clickimage" onclick="generateReport('report/generate_report/get_attendance_report/_attendance_report/pdf/')" >PDF</button> </div> <input type="hidden" name="report_type" value="xls"/> <?php echo form_close(); ?> <!-- END FORM--> <div id="loadresult"></div> <div id="report_div"></div> </div> </div> </div> </div>