?
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_maintenance_contract.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>Maintenance Contracting Report</h4> </div> </div> <?php $building = $this->mastermodel->getdatas('building_details', 'building_id', 'asc', 'building_id'); $company = $this->mastermodel->getdatas('maintenance_cc', 'maintenance_cc_id', 'asc', 'maintenance_cc_id'); $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('report/generate_report/get_maintenanace_contract_report/xls_maintenance_contract_report', $attributes); ?> <div class="clean"></div> <div class="grid_6"> <div class="box"> <div class="header main no-icon"> Maintenance Contracting 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>Building Name </label> <div> <select name="maintenance_contract_building_id" class=" " id="maintenance_contract_building_id"> <option value="">All</option> <?php foreach ($building as $list) { ?> <option value="<?= $list['building_id'] ?>"><?= $list['building_name'] ?></option> <?php } ?> </select> </div> </div> <div class="section _100"> <label>Maintenance Contracting Company Name </label> <div> <select name="maintenance_contracting_company_id" class="" id="maintenance_contracting_company_id"> <option value="">All</option> <?php foreach ($company as $list) { ?> <option value="<?= $list['maintenance_cc_id'] ?>"><?= $list['maintenance_cc_name'] ?></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><input type="checkbox" value="maintenance_contract_code~Maintenance_Contract_Code" name="field_ name_<?=$i++;?>" class="reportcheck" /></td> <td>Maintenance Contract Code</td> </tr> <tr> <td><input type="checkbox" value="building_name~Building_Name" name="field_name_<?=$i++;?>" checked class="reportcheck"/></td> <td>Building Name</td> </tr> <tr> <td><input type="checkbox" value="maintenance_cc_name~Maintenance Contracting Company Name" name="field_name_<?=$i++;?>" class="reportcheck" /></td> <td>Maintenance Contracting Company Name</td> </tr> <tr> <td><input type="checkbox" value="maintenance_contract_start_date~Maintenance Start Date" name="field_name_<?=$i++;?>" checked class="reportcheck" /></td> <td>Maintenance Start Date</td> </tr> <tr> <td><input type="checkbox" value="maintenance_contract_end_date~Maintenance End Date" name="field_name_<?=$i++;?>" checked class="reportcheck"/></td> <td>Maintenance End Date</td> </tr> <tr> <td><input type="checkbox" value="maintenance_contract_budget~Budget" name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Budget</td> </tr> <tr> <td><input type="checkbox" value="maintenance_contract_amount~Amount" name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Amount</td> </tr> <tr> <td><input type="checkbox" value="maintenance_contract_work_scope~Scope of Work" name="field_name_<?=$i++;?>" class="reportcheck"/></td> <td>Scope of Work</td> </tr> <tr> <td><input type="checkbox" value="maintenance_contract_remarks~Remark" name="field_name_<?=$i++;?>" class="reportcheck"/></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