?
Current Path : /home1/savoy/www/savoyglobal.net/eldertree/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/www/savoyglobal.net/eldertree/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/scripts/jquery.autocomplete.js"></script> <div class="row-fluid"> <div class="tab-pane " id="tab_2"> <div class="portlet box yellow"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i>Updating Student Cancellation</div> <div class="tools"> <a href="#" onclick="viewdata('student','viewinstudentsearch','search_cancellation','view_cancellation','<?= $_SESSION['pagenum']; ?>')" class="remove"></a> </div> </div> <div class="portlet-body form"> <!-- BEGIN FORM--> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal 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="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Class Name </label> <div class="controls"> <span class="text bold"><?= $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) ?></span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Student</label> <div class="controls"><span class="text bold"> <?= $students_name->first_name . ' ' . $students_name->last_name ?> </span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Student Reg No</label> <div class="controls" id="reg_no"><span class="text bold"> <?= $students_name->reg_no ?> </span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Gender</label> <div class="controls" id="gender"><span class="text bold"> <?= $students_name->gender ?> </span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Nationality</label> <div class="controls" id="nationality"><span class="text bold"> <?= $students_name->nationality_name ?> </span> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Age</label> <div class="controls" ><span class="text bold"> <?php $age_details = $this->mastermodel->getAgeDetails($students_name->dob); echo $age_details['in_words']; ?></span> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Refund Amount</label> <div class="controls"> <input name="refund_amount" id="refund_amount" class="number auto span12" type="text" value="<?= $viewinfo->refund_amount ?>"/> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Cancellation Date</label> <div class="controls"> <?php $data = array( 'name' => 'cancellation_date', 'id' => 'cancellation_date', 'class' => 'required calfocus span12', 'value' => $this->mastermodel->convertdatenormalformat($viewinfo->cancellation_date) ); echo form_input($data) . form_error($data); ?> </div> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Remarks</label> <div class="controls"> <textarea name="remarks" id="remarks" class="span12" type="text"><?= $viewinfo->remarks ?></textarea> </div> </div> </div> </div> <div class="form-actions"> <input type="hidden" name="tab_name" value="cancellation"/> <input type="hidden" name="resfunction" value="search_cancellation"/> <input type="hidden" name="cancellation_id" id="cancellation_id" value="<?= $viewinfo->cancellation_id ?>"/> <button type="submit" onclick="addformdata('validateform')" class="btn blue"><i class="icon-ok"></i> Save</button> <button type="button" onclick="viewdata('student','viewinstudentsearch','search_cancellation','view_cancellation','<?= $_SESSION['pagenum']; ?>')" class="btn">Cancel</button> </div> <?php echo form_close(); ?> <!-- END FORM--> </div> </div> </div> </div>