?
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_penalty.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_penalty','view_penalty','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Update Penalty</h4> </div> </div> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('bm/addinbm/update_penalty/view_penalty/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> Penalty Code </label> <div class="single_page"> <?=$viewinfo->building_penalty_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_penalty_lease_id,'lease_id'); echo $lease->lease_agreement_code; ?> </div> <input type="hidden" name="lease_id" id="lease_id" value="<?=$viewinfo->building_penalty_lease_id?>"/> </div> <div id="building_details"> </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> 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="building_penalty_date" id="date" type="dateonly" class="required" value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->building_penalty_date)?>"> </div> </div> <div class="section _100"> <label> Description</label> <div> <textarea name="building_penalty_description" id="building_penalty_description"><?=$viewinfo->building_penalty_description?></textarea> </div> </div> <div class="section _100"> <label> Amount</label> <div> <input type="text" name="building_penalty_amount" class="auto" id="building_penalty_amount" value="<?=$viewinfo->building_penalty_amount?>"/> </div> </div> <div class="section _100"> <label>Payment Details</label> <div> <textarea name="penalty_amount_details" id="penalty_amount_details"><?=$viewinfo->penalty_amount_details?></textarea> </div> </div> </div> <div class="actions"> <div class="actions-left"> <input type="reset"> <input type="hidden" name="building_penalty_id" value="<?=$viewinfo->building_penalty_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(); ?>