?
Current Path : /home1/savoy/public_html/savoyglobal.net/oscardraft/application/views/student/ |
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/oscardraft/application/views/student/edit_cancellation.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <script src="<?= base_url() ?>assets/js/jquery.autocomplete.js"></script> <div class="icons_main"> <div class="icons"> <img src="<?= base_url() ?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('student','viewinstudentsearch','search_cancellation','view_cancellation','<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>Updating Student Cancellation</h4> </div> </div> <?php $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('student/addinstudent/update_cancellation/view_cancellation/1', $attributes); $students_name = $this->mastermodel->get_data_srow_joined('student', 'nationality', 'nationality_id', 'nationality_id',$viewinfo->student_id, 'student_id'); ?> <div class="grid_6"> <div class="box"> <div class="header main"> </div> <div class="content no-padding"> <div class="section _100"> <label>Class Name</label> <div class="single_page"> <?= $this->mastermodel->get_single_joined_value('class_name_code', 'class_name', 'student_class', 'class_name_id', 'class_name_id', 'student_class_id', $viewinfo->student_class_id) ?> </div> </div> <div class="section _100"> <label>Student</label> <div class="single_page"> <?= $students_name->first_name . ' ' . $students_name->last_name ?> </div> </div> <div class="section _100" > <label>Student No</label> <div id="reg_no" class="single_page"> <?= $students_name->reg_no ?> </div> </div> <div class="section _100" > <label>Gender</label> <div id="reg_no" class="single_page"> <?= $students_name->gender ?> </div> </div> <div class="section _100" > <label>Nationality</label> <div id="nationality" class="single_page"> <?= $students_name->nationality_name ?> </div> </div> <div class="section _100"> <label>Age</label> <div class="single_page"> <?php /* 'yyyy-mm-dd format' */ $age_details = $this->mastermodel->getAgeDetails($students_name->dob); echo $age_details['in_words']; ?> </div> </div> <div class="section _100" > <label> Paid Amount</label> <div id="paid_amount" class="single_page"> </div> </div> <div class="section _100"> <label>Refund Amount</label> <div> <input name="refund_amount" id="refund_amount" class="number auto" type="text" value="<?= $viewinfo->refund_amount ?>"/> </div> </div> <div class="section _100"> <label>Cancellation Date</label> <div> <?php $data = array( 'name' => 'cancellation_date', 'id' => 'cancellation_date', 'class' => 'required calfocus', 'value' => $this->mastermodel->convertdatenormalformat($viewinfo->cancellation_date) ); echo form_input($data) . form_error($data); ?> <!--<input class="required" name="cancellation_date" id="cancellation_date" type="dateonly" value="<?= $this->mastermodel->convertdatenormalformat($viewinfo->cancellation_date) ?>" />--> </div> </div> <div class="section _100"> <label>Remarks </label> <div> <textarea name="remarks" id="remarks" type="text"><?= $viewinfo->remarks ?></textarea> </div> </div> </div> <div class="actions"> <div class="actions-left"> <input type="reset"> <input type="hidden" name="cancellation_id" id="cancellation_id" value="<?= $viewinfo->cancellation_id ?>"/> </div> <div class="actions-right"> <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Save</button> </div> </div> </div> </div> <?php echo form_close(); ?>