?
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_letter.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>DISCIPLINARY LETTER REPORT</h4> </div> </div> <?php $code=$this->mastermodel->getdatas('disciplinary_letter','disciplinary_id','','disciplinary_id'); $lease=$this->mastermodel->get_lease_codes(); $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('report/generate_report/get_letter_report/xls_letter_report', $attributes); ?> <div class="clean"></div> <div class="grid_6"> <div class="box"> <div class="header main no-icon">Disciplinary Letter Report <span></span> </div> <div class="content no-padding"> <div class="section _100"> <label>From Date </label> <div> <input name="start_date" id="date1" type="dateonly" /> </div> </div> <div class="section _100"> <label>To Date</label> <div> <input name="end_date" id="date" type="dateonly" /> </div> </div> <div class="section _100"> <label>Letter Code</label> <div> <select name="disciplinary_code" class=""> <option Value="">All</option> <?php foreach($code as $row) { ?> <option value="<?=$row['disciplinary_code']?>"><?=$row['disciplinary_code']?></option>'; <?php } ?> </select> </div> </div> <div class="section _100"> <label>Tenancy Agreement No</label> <div> <select name="disciplinary_lease_id" class="" > <option value="">All<option> <?php foreach($lease as $row) { ?> <option value="<?=$row['lease_id']?>"><?=$row['tenancy_no']?></option> <?php } ?> </select> </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="disciplinary_code~Letter_Code" name="field_name_<?=$i++;?>" class="reportcheck" checked /></td> <td>Letter Code</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="lease_agreement.lease_agreement_code~Tenancy_Agreement_No" name="field_name_<?=$i++;?>" checked class="reportcheck"/></td> <td>Tenancy Agreement No</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="disciplinary_date~Date" name="field_name_<?=$i++;?>" checked class="reportcheck" /></td> <td>Date</td> </tr> <tr> <td style="text-align: center"><input type="checkbox" value="disciplinary_remarks~Remarks" name="field_name_<?=$i++;?>" class="reportcheck" checked /></td> <td>Remarks</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