?
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_parents_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_parents_report/_parents_report', $attributes); $student=$this->studentmodel->search_student(); $class = $this->mastermodel->search_class_name(); ?> <div class="row-fluid"> <div class="span6"> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-check"></i> Parents Report</div> </div> <div class="portlet-body"> <input type="hidden" name="report_name" value=" Parents 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 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 Class</th></tr> <tr> <td> Class </td> <td> <select name="class_name_id" class=" " id="class_name_id"> <option value="">All</option> <?php foreach ($class['results']->result_array() as $list) { ?> <option value="<?= $list['class_name_id'] ?>"><?= $list['class_name_code'] ?></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="chosen" 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> </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><th colspan='2' style="text-align: left"> Father Details</th></tr>--> <tr> <td style="text-align: center"><input type="checkbox" checked value="father_name~Father_Name" name="field_name_<?=$i++;?>" class="reportcheck" /></td> <td>Father Name</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="father_qatar_id_no~Qatar ID NO" name="field_name_<?=$i++;?>" checked class="reportcheck"/></td> <td>Father's Qatar ID NO</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="father_occupation~Father's Occupation" name="field_name_<?=$i++;?>" checked class="reportcheck"/></td> <td>Father's Occupation</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="father_mobile_no~ Father's Mobile No" name="field_name_<?=$i++;?>" checked class="reportcheck"/></td> <td> Father's Mobile No</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="father_ofc_no~Father's Office No" name="field_name_<?=$i++;?>" checked class="reportcheck" /></td> <td>Father's Office No</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="father_residence_no~Mobile No" name="field_name_<?=$i++;?>" checked class="reportcheck" /></td> <td>Father's Residence No</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="father_email~Father's Email ID" name="field_name_<?=$i++;?>" checked class="reportcheck"/></td> <td>Father's Email ID</td> </tr> <!-- <tr><th colspan='2' style="text-align: left"> Mother Details</th></tr>--> <tr> <td style="text-align: center"><input type="checkbox" value="mother_name~Mother Name" name="field_name_<?=$i++;?>" checked class="reportcheck" /></td> <td>Mother Name</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="mother_qatar_id_no~Mother's Qatar Id" name="field_name_<?=$i++;?>" checked class="reportcheck"/></td> <td>Mother's Qatar Id</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="mother_occupation~Mobile No" name="field_name_<?=$i++;?>" checked class="reportcheck"/></td> <td>Mother's Occupation</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="mother_mobile_no~Mother's Mobile No" name="field_name_<?=$i++;?>" checked checked class="reportcheck"/></td> <td>Mother's Mobile No</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="mother_ofc_no~Mother's Office No" name="field_name_<?=$i++;?>" checked class="reportcheck" /></td> <td>Mother's Office No</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="mother_residence_no~Mother's Residence No" name="field_name_<?=$i++;?>" checked checked class="reportcheck" /></td> <td>Mother's Residence No</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="mother_email~Mother's Email ID" name="field_name_<?=$i++;?>" checked class="reportcheck"/></td> <td>Mother's Email ID</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="emergency_contact_no~Emergency Contact No" name="field_name_<?=$i++;?>"checked class="reportcheck"/></td> <td>Emergency Contact No</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="first_name~Student Name" name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Student Name</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="reg_no~Reg No" name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Reg No</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="gender~Gender" name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Gender</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="class_name~Class Name" name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Class Name</td> </tr> </table> </div> </div> </div> </div> <input type="hidden" name="field_count" value="<?= $i; ?>"/> <input type="hidden" name="report_type" value="xls"/> <div class="form-actions"> <!-- <button style="float: right;margin-left: 10px;" type="button" class="clickimage"onclick="generate_pdf('report/generate_report/get_parents_report/_parents_report/view/')" >Generate</button>--> <button style="float: right;margin-left: 10px;" type="submit" class="clickimage" onclick="generateReport('report/generate_report/get_parents_report/_parents_report/xls/')" >XLS</button> <button style="float: right;margin-left: 10px;" type="submit" class="clickimage" onclick="generateReport('report/generate_report/get_parents_report/_parents_report/pdf/')" >PDF</button> </div> <?php echo form_close(); ?> <!-- END FORM--> <div id="loadresult"></div> <div id="report_div"></div> </div> </div> </div> </div>