?
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_franchisee_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_franchisee_report/_franchisee_report/view', $attributes); $franchisee = $this->franchiseemodel->search_franchisee(); ?> <input type="hidden" name="report_name" value=" Franchisee Report" /> <h3 class="form-section"> Franchisee Report</h3> <table class="table table-striped table-hover table-bordered" id="sample_5" style="background-color: white;"> <tr> <td> Franchisee Name </td> <td> <select name="franchisee_id" class="" id="franchisee_id"> <option value="">All</option> <?php foreach ($franchisee['results']->result_array() as $list) { ?> <option value="<?= $list['franchisee_id'] ?>"><?= $list['franchisee_name'] ?></option> <?php } ?> </select> </td> </tr> </table> <div class="span12"> <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" name="field_name_<?= $i++; ?>" class="reportcheck" checked /></td> <td>Franchisee Name</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" name="field_name_<?= $i++; ?>" checked class="reportcheck"/></td> <td>Address</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" name="field_name_<?= $i++; ?>" checked class="reportcheck"/></td> <td> Contact No</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" name="field_name_<?= $i++; ?>" class="reportcheck"/></td> <td>Email</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" name="field_name_<?= $i++; ?>" class="reportcheck"/></td> <td>Website</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" name="field_name_<?= $i++; ?>" class="reportcheck" checked /></td> <td>Remarks</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" name="field_name_<?= $i++; ?>" class="reportcheck"/></td> <td>Course Code</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" name="field_name_<?= $i++; ?>" class="reportcheck"/></td> <td>Course 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="form-actions"> <button style="float: right;margin-left: 10px;" type="button" class="clickimage"onclick="generate_pdf('report/generate_report/get_franchisee_report/_franchisee_report/view/')" >Generate</button> <button style="float: right;margin-left: 10px;" type="submit" class="clickimage" onclick="generateReport('report/generate_report/get_franchisee_report/_franchisee_report/xls/')" >XLS</button> <button style="float: right;margin-left: 10px;" type="submit" class="clickimage" onclick="generateReport('report/generate_report/get_franchisee_report/_franchisee_report/pdf/')" >PDF</button> </div> <?php echo form_close(); ?> <!-- END FORM--> <div id="loadresult"></div> <div id="report_div"></div> </div> </div> </div> </div>