?
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_letter.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_letter','view_letter','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Update Disciplinary Letter</h4> </div> </div> <?php $attributes=array('id'=>'validateform','class'=>'validate'); echo form_open('bm/addinbm/update_letter/view_letter/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>Disciplinary Letter Code </label> <div class="single_page"> <?=$viewinfo->disciplinary_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->disciplinary_lease_id,'lease_id'); echo $lease->lease_agreement_code; ?> </div> <input type="hidden" name="lease_id" id="lease_id" value="<?=$viewinfo->disciplinary_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="disciplinary_date" id="date" type="dateonly" class="required" value="<?=$this->mastermodel->convertdatenormalformat($viewinfo->disciplinary_date)?>"> </div> </div> <div class="section _100"> <label> Remarks</label> <div> <textarea name="disciplinary_remarks" id="disciplinary_remarks"><?=$viewinfo->disciplinary_remarks?></textarea> </div> </div> </div> <div class="actions"> <div class="actions-left"> <input type="reset"> <input type="hidden" name="disciplinary_id" value="<?=$viewinfo->disciplinary_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();?>