?
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/edit_service.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_service','view_service','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Updating Service Details</h4> </div> </div> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('bm/addinbm/update_service/view_service/1',$attributes); ?> <div class="grid_6"> <div class="box"> <div class="header"> <span></span> </div> <div class="content no-padding"> <div class="section _100"> <label> Service 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> 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 id="building_details"> </div> <div class="section _100"> <label> Date</label> <div> <input name="building_service_date" id="date" type="dateonly" class="required" value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->building_service_date)?>"> </div> </div> <div class="section _100"> <label> Service Offered</label> <div> <textarea name="building_service_offered" id="building_service_offered"><?=$viewinfo->building_service_offered?></textarea> </div> </div> <div class="section _100"> <label> Service Amount</label> <div> <input type="text" name="building_service_amount" class="auto" id="building_service_amount" value="<?=$viewinfo->building_service_amount?>" /> </div> </div> </div> <div class="actions"> <div class="actions-left"> <input type="reset"> <input type="hidden" name="building_service_id" value="<?=$viewinfo->building_service_id?>"/> </div> <div class="actions-right"> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Update</button> </div> </div> </div> </div> <?php echo form_close(); ?>