?
Current Path : /home1/savoy/public_html/savoyglobal.net/rms/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/rms/application/views/report/view_customer_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>Customer Report</h4> </div> </div> <?php $location = $this->mastermodel->getdatas('location', 'location_id', 'asc', 'location_id'); $status = $this->mastermodel->getenumvalues('customer', 'customer_status'); $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('report/generate_report/get_customer_report/xls_customer_report', $attributes); ?> <div class="clean"></div> <div class="grid_6"> <div class="box"> <div class="header main no-icon">Customer Report <span></span> </div> <div class="content no-padding"> <div class="section _100"> <label>Customer Type </label> <div> <select class="chzn-done" name="customer_type" id="customer_type" > <option value="">All</option> <option value="Corporate">Corporate</option> <option value="Individual">Individual</option> </select> </div> </div> <div class="section _100"> <label>Location</label> <div> <select name="customer_location_id" class="chzn-done " id="customer_location_id"> <option value="">All</option> <?php foreach ($location as $list) { ?> <option value="<?= $list['location_id'] ?>"><?= $list['location_name'] ?></option> <?php } ?> </select> </div> </div> <div class="section _100"> <label> Status </label> <div> <select name="customer_status" class="chzn-done" id="status"> <option value="">All</option> <?php foreach ($status['val'] as $row) { ?> <option value="<?= $row ?>"><?= $row ?></option> <?php } ?> </select> </div> </div> </div> </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> <td style="text-align: center"><input type="checkbox" value="customer_no~Customer_Number" name="field_name_<?=$i++;?>" class="reportcheck" /></td> <td>Customer Number</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="customer.customer_type~Customer_Type" name="field_name_<?=$i++;?>" checked class="reportcheck"/></td> <td>Customer Type</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="customer.customer_name~Customer_Name" name="field_name_<?=$i++;?>" checked class="reportcheck"/></td> <td>Customer Name</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="customer_contact_no~Contact_Number" name="field_name_<?=$i++;?>" checked class="reportcheck"/></td> <td>Contact Number</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="customer_fax~Fax" name="field_name_<?=$i++;?>" class="reportcheck" /></td> <td>Fax</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="customer_email~E_Mail" name="field_name_<?=$i++;?>" checked class="reportcheck" /></td> <td>E Mail</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="customer_status~Status" name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Status</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="customer_address~Address" name="field_name_<?=$i++;?>" checked class="reportcheck"/></td> <td>Address</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="customer_pobox~P.O_Box" name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>P.O Box</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="location.location_name~Location" name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Location</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="customer_country~Country" name="field_name_<?=$i++;?>" checked class="reportcheck"/></td> <td>Country</td> </tr> </table> </div> </div> </div> <input type="hidden" name="field_count" value="<?=$i;?>"/> <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> <div style="display: none"> <div id="color"></div> </div> <?php