?
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_service.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); $building_id=$this->mastermodel->get_single_field_value('lease_agreement','lease_building_id','lease_id',$viewinfo->building_service_lease_id); $location_id=$this->mastermodel->get_single_field_value('building_details','building_location_id','building_id',$building_id); ?> <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 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_page','<?=$viewinfo->building_service_id;?>','building_service','building_service_id','edit_service')" alt="" /> </div> <div class="icons"> <img src="<?=base_url()?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('bm','viewinbmsearch','search_service','view_service','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4> Service 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> Code</label> <div class="single_page"> <?=$viewinfo->building_service_code?> </div> </div> <div class="section _100"> <label> Tenancy Agreement No </label> <div class="single_page"> <?php $lease=$this->mastermodel->get_data_srow('lease_agreement',$viewinfo->building_service_lease_id,'lease_id'); echo $lease->lease_agreement_code; ?> </div> <input type="hidden" name="lease_id" id="lease_id" value="<?=$viewinfo->building_service_lease_id?>"/> </div> <div class="section _100" > <label>Building Code</label> <div id="code" class="single_page"> <?=$this->mastermodel->get_single_field_value('building_details','building_code','building_id',$building_id)?> </div> </div> <div class="section _100" > <label> Flat/Room/Villa No</label> <div id="code" class="single_page"> <?=$this->mastermodel->get_single_field_value('lease_agreement','lease_flat_no','lease_id',$viewinfo->building_service_lease_id);?> </div> </div> <div class="section _100" > <label> Location</label> <div id="location1" class="single_page"> <?=$this->mastermodel->get_single_field_value('location','location_name','location_id',$location_id)?> </div> </div> <div class="section _100" > <label> Address</label> <div id="address" class="single_page"> <?=$this->mastermodel->get_single_field_value('building_details','building_address','building_id',$building_id)?> </div> </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> Date</label> <div class="single_page"> <?=$this->mastermodel->convertdatenormalformat($viewinfo->building_service_date)?> </div> </div> <div class="section _100"> <label> Service Offered</label> <div class="single_page"> <?=$viewinfo->building_service_offered?> </div> </div> <div class="section _100"> <label> Service Amount</label> <div class="single_page"> <?=$viewinfo->building_service_amount?> </div> </div> </div> </div> </div> <?php echo form_close(); $data['master_id']=$viewinfo->building_service_id; $data['controller']='bm'; $data['controller_function']='viewinbmysearch'; $data['page']='view_service'; $data['model_function']='search_service'; $this->load->view('master/uploaded_files',$data); ?>