?
Current Path : /home1/savoy/www/savoyglobal.net/rms/application/views/building_management/ |
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/savoyglobal.net/rms/application/views/building_management/single_extension.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <script type="text/javascript"> $(document).ready(function() { var id=document.getElementById('lease_id').value; $("#building_details").load("<?= site_url()?>"+'/bm/load_building_details/' +id); }); </script> <div class="icons_main"> <div class="icons"> <img src="<?=base_url()?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('bm','viewinbmsearch','search_extension','view_extension','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons single_icon"> <img src="<?=base_url()?>assets/images/edit-icon.gif" title="Edit" width="25" height="25" alt="Edit" align = "center" class="clickimage" onclick="editformdata('bm','edit_extension','<?=$viewinfo->extension_id;?>','extension','extension_id','edit_extension')" alt="" /> </div> <div class="icons_caption"> <h4> Renewal Details</h4> </div> </div> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('',$attributes); ?> <div class="grid_6"> <div class="box"> <div class="header"> <span></span> </div> <div class="content no-padding"> <div class="section _100"> <label>Extension Code </label> <div class="single_page"> <?=$viewinfo->extension_code?> </div> </div> <div class="section _100"> <label> Lease Code </label> <div class="single_page"> <?=$lease->lease_agreement_code?> </div> <input type="hidden" name="lease_id" id="lease_id" value="<?=$lease->lease_id?>"/> </div> <div id="building_details"></div> <div class="section _100"> <label> Customer Name </label> <div class="single_page"> <?=$this->mastermodel->get_single_field_value('customer','customer_name','customer_id',$lease->lease_customer_id)?> </div> </div> <div class="section _100"> <label> Previous Contract Start Date</label> <div class="single_page"> <?=$this->mastermodel->convertdatenormalformat($lease->lease_start_date)?> </div> </div> <div class="section _100"> <label> Previous Contract End Date</label> <div class="single_page"> <?=$this->mastermodel->convertdatenormalformat($lease->lease_end_date)?> </div> </div> </div> </div> </div> <div class="grid_6"> <div class="box"> <div class="header"> <span></span> </div> <div class="content no-padding"> <div class="section _100"> <label> Previous Rent</label> <div class="single_page"> <?=$lease->lease_rent_amount?> </div> </div> <div class="section _100"> <label> Renewal Contract Start Date</label> <div class="single_page"> <?=$this->mastermodel->convertdatenormalformat($viewinfo->renewal_contract_start_date)?> </div> </div> <div class="section _100"> <label> Renewal Contract End Date</label> <div class="single_page"> <?=$this->mastermodel->convertdatenormalformat($viewinfo->renewal_contract_end_date)?> </div> </div> <div class="section _100"> <label> Current Rent</label> <div class="single_page"> <?=$viewinfo->extension_current_rent?> </div> </div> </div> </div> </div> <div class="grid_12"> <div class="box"> <div class="content no-padding"> <div class="header main">Appliance Allocation </div> <table class="table"> <tr> <th>Appliance</th> <th>Date</th> <th>Remarks</th> </tr> <?php if(!empty($details)) { foreach($details as $row) { ?> <tr> <td> <?=$this->mastermodel->get_single_field_value('appliance','appliance_type','appliance_id',$row['extension_appliance_id'])?> </td> <td><?=$this->mastermodel->convertdatenormalformat($row['extension_appliance_date'])?></td> <td><?=$row['extension_appliance_remarks']?></td> </tr> <?php } } ?> </table> </div> </div> </div> <?php echo form_close(); $data['master_id']=$viewinfo->extension_id; $data['controller']='bm'; $data['controller_function']='viewinbmysearch'; $data['page']='view_extension'; $data['model_function']='search_extension'; $this->load->view('master/uploaded_files',$data); ?>