?
Current Path : /home1/savoy/www/oscarerp.com/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/www/oscarerp.com/application/views/report/view_parents_report.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="icons_main"> <div class="icons"> <img src="<?=base_url()?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('report','viewinreportsearch','search_report','view_report','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Parents Report</h4> </div> </div> <?php $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('report/generate_report/get_parents_report/_parents_report', $attributes); $student=$this->mastermodel->getdatas('student','student_id'); $class = $this->mastermodel->getdatas('class_name', 'class_name_id'); ?> <div class="clean"></div> <div class="grid_6"> <div class="box"> <div class="header main no-icon">Parents Report <span></span> </div> <div class="content no-padding"> <input type="hidden" name="report_name" value=" Parents Report" /> <table class="table"> <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 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 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="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> </table> </div> </div> </div> <div class="grid_6"> <div class="box"> <div class="header main no-icon">Report Field <span></span> </div> <div class="content no-padding"> <table class="table"> <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="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="last_name~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="gender~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" name="field_name_<?=$i++;?>" class="reportcheck" /></td> <td>Father's Office No</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" name="field_name_<?=$i++;?>" checked class="reportcheck" /></td> <td>Father's Residence No</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" name="field_name_<?=$i++;?>" 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" name="field_name_<?=$i++;?>" class="reportcheck" /></td> <td>Mother Name</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" name="field_name_<?=$i++;?>" checked class="reportcheck"/></td> <td>Mother's Qatar Id</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" name="field_name_<?=$i++;?>" checked class="reportcheck"/></td> <td>Mother's Occupation</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" name="field_name_<?=$i++;?>" checked class="reportcheck"/></td> <td>Mother's Mobile No</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" name="field_name_<?=$i++;?>" class="reportcheck" /></td> <td>Mother's Office No</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" name="field_name_<?=$i++;?>" checked class="reportcheck" /></td> <td>Mother's Residence No</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Mother's Email ID</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Emergency Contact No</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Student Name</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Reg No</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Gender</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Class Name</td> </tr> </table> </div> </div> </div> <input type="hidden" name="field_count" value="<?=$i;?>"/> <input type="hidden" name="report_type" value="xls"/> <div class="grid_12"> <div class="box"> <div class="actions"> <div class="actions-left"> <input type="reset"> </div> <div class="actions-right"> <button style="margin-left: 130px;" type="submit" id="submit" class="clickimage" >Generate</button> </div> </div> </div> </div> <?php echo form_close(); ?> <div id="loadresult"></div> <?php