?
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_cancellation_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_cancellation_report/_report/view', $attributes); $batch = $this->mastermodel->search_batch(); $course = $this->mastermodel->search_course(); $student = $this->studentmodel->search_student(); $school = $this->mastermodel->search_school(); ?> <div class="row-fluid"> <div class="span6"> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-check"></i> Cancellation Report</div> </div> <div class="portlet-body"> <input type="hidden" name="report_name" value=" Cancellation Report" /> <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" class=" " id="batch_id"> <option value="">All</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</th></tr> <tr> <td> Student </td> <td> <select name="student_id" class=" " id="student_id"> <option value="">All</option> <?php foreach ($student['results']->result_array() as $list) { ?> <option value="<?= $list['student_id'] ?>"><?= $list['first_name'] . ' ' . $list['last_name'] . '-' . $list['gender'] ?></option> <?php } ?> </select> </td> </tr> <tr><th colspan='2' style="text-align: center"> Search by Father's Mobile No </th></tr> <tr> <td> Mobile No </td> <td> <select name="father_mobile_no" class=" " id="father_mobile_no"> <option value="">All</option> <?php foreach ($student['results']->result_array() as $list) { ?> <option value="<?= $list['father_mobile_no'] ?>"><?= $list['father_mobile_no'] ?></option> <?php } ?> </select> </td> </tr> <tr><th colspan='2' style="text-align: center"> Search by Mother's Mobile No </th></tr> <tr> <td> Mobile No </td> <td> <select name="mother_mobile_no" class=" " id="mother_mobile_no"> <option value="">All</option> <?php foreach ($student['results']->result_array() as $list1) { ?> <option value="<?= $list1['mother_mobile_no'] ?>"><?= $list1['mother_mobile_no'] ?></option> <?php } ?> </select> </td> </tr> <tr><th colspan='2' style="text-align: center"> Search by Cancellation Date</th></tr> <tr> <td> From Date </td> <td> <input name="from_date" id="date1" type="text" class="calfocus" /> </td> </tr> <tr> <td> To Date </td> <td> <input name="to_date" id="date" type="text" class="calfocus" /> </td> </tr> <tr><th colspan='2' style="text-align: center"> Search by School</th></tr> <tr> <td> School </td> <td> <select name="school_name" class=" " id="school_name"> <option value="">All</option> <?php foreach ($school['results']->result_array() as $list) { ?> <option value="<?= $list['school_name'] ?>"><?= $list['school_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="reg_no~Reg_No" checked name="field_name_<?= $i++; ?>" class="reportcheck" /></td> <td>Student No</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="first_name~First_Name" name="field_name_<?= $i++; ?>" checked class="reportcheck"/></td> <td>First Name</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="last_name~Last_Name" name="field_name_<?= $i++; ?>" checked class="reportcheck"/></td> <td>Last Name</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="gender~Gender" name="field_name_<?= $i++; ?>" checked class="reportcheck"/></td> <td>Gender</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" checked value="batch_no~Batch_Code" name="field_name_<?= $i++; ?>" class="reportcheck" /></td> <td>Batch Code</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" checked value="nationality~Nationality" name="field_name_<?= $i++; ?>" class="reportcheck" /></td> <td>Nationality</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="refund_amount~Refund_Amount" name="field_name_<?= $i++; ?>" class="reportcheck" /></td> <td>Refund Amount</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" checked value="cancellation_date~Cancellation_Date" name="field_name_<?= $i++; ?>" class="reportcheck"/></td> <td>Cancellation Date</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="remarks~Remarks" name="field_name_<?= $i++; ?>" class="reportcheck"/></td> <td>Remarks</td> </tr> </table> </div> </div> </div> </div> <input type="hidden" name="field_count" value="<?= $i; ?>"/> <input type="hidden" name="report_type" value="view"/> <div class="form-actions"> <button style="float: right;margin-left: 10px;" type="button" class="clickimage"onclick="generate_pdf('report/generate_report/get_cancellation_report/_report/view/')" >Generate</button> <button style="float: right;margin-left: 10px;" type="submit" class="clickimage" onclick="generateReport('report/generate_report/get_cancellation_report/_report/xls/')" >XLS</button> <button style="float: right;margin-left: 10px;" type="submit" class="clickimage" onclick="generateReport('report/generate_report/get_cancellation_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>