?
Current Path : /home1/savoy/public_html/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/public_html/savoyglobal.net/rms/application/views/building_management/edit_misuse.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('bm','viewinbmsearch','search_misuse','view_misuse','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Updating Misuse Details</h4> </div> </div> <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> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('bm/addinbm/update_misuse/view_misuse/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> Misuse Code</label> <div class="single_page"> <?=$viewinfo->misuse_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->misuse_lease_id,'lease_id'); echo $lease->lease_agreement_code; ?> </div> <input type="hidden" name="lease_id" id="lease_id" value="<?=$viewinfo->misuse_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> Date</label> <div> <input name="misuse_date" id="date" type="dateonly" class="required" value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->misuse_date)?>"> </div> </div> <div class="section _100"> <label> Description</label> <div> <textarea name="misuse_description" id="misuse_description"><?=$viewinfo->misuse_description?></textarea> </div> </div> <div class="section _100"> <label> Deduction Amount</label> <div> <input type="text" name="misuse_deduction_amount" class="auto" id="misuse_deduction_amount" value="<?=$viewinfo->misuse_deduction_amount?>" /> </div> </div> </div> <div class="actions"> <div class="actions-left"> <input type="reset"> <input type="hidden" name="misuse_id" value="<?=$viewinfo->misuse_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(); ?>