?
Current Path : /home1/savoy/public_html/savoyglobal.net/sec/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/sec/application/views/student/add_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> <script type="text/javascript"> $(document).ready(function() { suggestBatch('#batch'); }); function check_batch() { var batch=$("#batch_id").val(); if(batch=='') alert('Select Batch First') } </script> <div class="row-fluid"> <div class="tab-pane " id="tab_2"> <div class="portlet box blue"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i>Creating New 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/insert_cancellation/view_cancellation/1', $attributes); ?> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Batch Code / Name </label> <div class="controls"> <input type="text" name="batch" id="batch" data-id='batch_id' value='' class="required span12" onchange="empty_text('batch,#batch_id,#student,#student_id')" /> <input type="hidden" name="batch_id" id="batch_id" /> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Student</label> <div class="controls"> <input type="text" placeholder="Select Batch first" name="student" id="student" data-id='student_id' value='' class="required span12" onchange="empty_text('student,#student_id')" /> <input type="hidden" name="student_id" id="student_id" class="required" /> <input type="hidden" name="student_batch_id" id="student_batch_id" /> </div> </div> </div> </div> <div style="display: none" id="detail1"> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Student No</label><span class="text bold"> <div class="controls" id="reg_no"> </div></span> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Gender</label> <span class="text bold"><div class="controls" id="gender"> </div></span> </div> </div> </div> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Nationality</label> <span class="text bold"><div class="controls" id="nationality"> </div></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" type="text" class=" span12auto" /> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Cancellation Date</label> <div class="controls"> <input class="required calfocus span12" name="cancellation_date" id="cancellation_date" type="text" /> </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"></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"/> <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>