?
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/single_student.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <script type="text/javascript"> function fee_accounts(fee_id) { displayformdata1('student','edit_fee',fee_id,'fee','fee_id','fee_setting','') } </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_student','view_student','<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4> Student Details</h4> </div> </div> <?php $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('student/addinstudent/update_student/view_student/1', $attributes); ?> <div class="grid_6"> <div class="box"> <div class="header main">Personal Details </div> <div class="content no-padding"> <div class="section _100"> <label>Student No</label> <div class="single_page"> <?= $student->reg_no; ?> </div> </div> <div class="section _100"> <label>Photo</label> <div> <?php if ($student->photo != '') { ?> <img width="130" height="120" src="<?= base_url() ?>/assets/uploads/student_photo/<?= $student->photo; ?>" alt="" /> <?php } ?> </div> </div> <div class="section _100"> <label>First Name</label> <div class="single_page"> <?= $student->first_name; ?> </div> </div> <div class="section _100"> <label>Last Name</label> <div class="single_page"> <?= $student->last_name; ?> </div> </div> <div class="section _100"> <label>Gender</label> <div class="single_page"> <?= $student->gender ?> </div> </div> <div class="section _100"> <label>Date of Birth </label> <div class="single_page"> <?= $this->mastermodel->convertdatenormalformat($student->dob) ?> </div> </div> <div class="section _100"> <label>Age</label> <div class="single_page"> <?php /* 'yyyy-mm-dd format' */ $age_details = $this->mastermodel->getAgeDetails($student->dob); echo $age_details['in_words']; ?> </div> </div> <div class="section _100"> <label>Admission Date </label> <div class="single_page"> <?= $this->mastermodel->convertdatenormalformat($student->admission_date) ?> </div> </div> <div class="section _100"> <label>Nationality </label> <div class="single_page"> <?php $nationality=$this->mastermodel->getSingleFieldValue('nationality', 'nationality_name', 'nationality_id', $student->nationality_id); echo $nationality; ?> </div> </div> </div> </div> </div> <div class="grid_6"> <div class="box"> <div class="header main">Personal Details</div> <div class="content no-padding"> <div class="section _100"> <label>Qatar ID NO</label> <div class="single_page"> <?= $student->qatar_id ?> </div> </div> <div class="section _100"> <label>Blood Group</label> <div class="single_page"> <?= $student->blood_group ?> </div> </div> <div class="section _100"> <label>Previous medical illness / Allergy</label> <div class="single_page"> <?= $student->previous_medical_illness ?> </div> </div> <div class="section _100"> <label>Address</label> <div class="single_page"> <?= $student->address ?> </div> </div> </div> </div> </div> <div class="clear"></div> <div class="grid_6" > <div class="box"> <div class="header main">Parents Details</div> <div class="content no-padding"> <div class="section _100"> <label>Father Name</label> <div class="single_page"> <?= $parent->father_name; ?> </div> </div> <div class="section _100"> <label>Qatar ID NO</label> <div class="single_page"> <?= $parent->father_qatar_id_no; ?> </div> </div> <div class="section _100"> <label>Occupation</label> <div class="single_page"> <?= $parent->father_occupation; ?> </div> </div> <div class="section _100"> <label>Mobile No</label> <div class="single_page"> <?= $parent->father_mobile_no; ?> </div> </div> <div class="section _100"> <label>Office No</label> <div class="single_page"> <?= $parent->father_ofc_no; ?> </div> </div> <div class="section _100"> <label>Residence No</label> <div class="single_page"> <?= $parent->father_residence_no; ?> </div> </div> <div class="section _100"> <label>Email ID</label> <div class="single_page"> <?= $parent->father_email; ?> </div> </div> </div> </div> </div> <div class="grid_6" > <div class="box"> <div class="header main">Parents Details</div> <div class="content no-padding"> <div class="section _100"> <label>Mother's name</label> <div class="single_page"> <?= $parent->mother_name; ?> </div> </div> <div class="section _100"> <label>Qatar ID NO</label> <div class="single_page"> <?= $parent->mother_qatar_id_no; ?> </div> </div> <div class="section _100"> <label>Occupation</label> <div class="single_page"> <?= $parent->mother_occupation; ?> </div> </div> <div class="section _100"> <label>Mobile No</label> <div class="single_page"> <?= $parent->mother_mobile_no; ?> </div> </div> <div class="section _100"> <label>Office No</label> <div class="single_page"> <?= $parent->mother_ofc_no; ?> </div> </div> <div class="section _100"> <label>Residence No</label> <div class="single_page"> <?= $parent->mother_residence_no; ?> </div> </div> <div class="section _100"> <label>Email ID</label> <div class="single_page"> <?= $parent->mother_email; ?> </div> </div> <div class="section _100"> <label>Emergency Contact No</label> <div class="single_page"> <?= $parent->emergency_contact_no; ?> </div> </div> </div> </div> </div> <div class="grid_12" > <div class="box"> <div class="content no-padding"> <div class="header main">Sibling Details</div> <table class="table"> <tr> <th>Student Id no</th> <th>Student Name</th> </tr> <?php $sibling = $this->mastermodel->get_data('parent_student', $parent->parent_id, 'parent_id'); foreach ($sibling as $row) { $sibling_det = $this->mastermodel->get_data_srow('student', $row['student_id'], 'student_id'); if (!empty($sibling_det)) { if ($student->student_id != $sibling_det->student_id) { ?> <tr> <td> <?= $sibling_det->reg_no ?> </td> <td > <?= $sibling_det->first_name . ' ' . $sibling_det->last_name ?> </td> </tr> <?php } } } ?> </table> </div> </div> </div> <div class="grid_12" > <div class="box"> <div class="content no-padding"> <div class="header main">Class Allocation Details</div> <table class="table"> <tr> <th>Class name</th> <th>Term name</th> <th>Number of days</th> <th>Class allocation date</th> </tr> <?php foreach($student_class as $list) { $term_name = $this->mastermodel->get_data_srow('term', $list['term_id'] ,'term_id'); $class_name_code = $this->mastermodel->get_data_srow('class_name' , $list['class_name_id'] , 'class_name_id'); ?> <tr> <td style="text-align: center;"><?= $class_name_code->class_name_code; ?></td> <td style="text-align: center;"><?= $term_name->term_name; ?></td> <td style="text-align: center;"><?= $list['no_of_days']; ?></td> <td style="text-align: center;"><?= $this->mastermodel->convertdatenormalformat($list['class_allocation_date']); ?></td> </tr> <?php } ?> </table> </div> </div> </div> <div class="grid_12" > <div class="box"> <div class="content no-padding"> <div class="header main">Fee Details</div> <table class="table"> <tr> <th>Recept number</th> <th>Fee date</th> <th>Total amount</th> <th>Remark</th> <th style="width:20%;">Action</th> </tr> <?php $fee = $this->mastermodel->get_data_joined('fee', 'student_class', 'student_class_id', 'student_class_id', $student->student_id, 'student_id'); if(isset($fee)){ foreach ($fee as $list) { ?> <tr> <td style="text-align: center;"><?= $list['fee_receipt_no']?></td> <td style="text-align: center;"><?= $this->mastermodel->convertdatenormalformat($list['fee_date']) ?></td> <td style="text-align: center;"><?= $list['total_amount'] ?></td> <td style="text-align: center;"><?= $list['remarks'] ?></td> <td style="text-align: center;"> <div class="elements"><?= anchor("student/feereceipt/".$list['fee_id'], '<img src="' . base_url() . '/assets/images/pdf.png" title="PDF" width="20" height="20">', 'title="Receipt"'); ?></div> <?php if ($list['journal_id'] == 0) { ?> <div class="elements"> <img src="<?= base_url() ?>assets/images/saldet.png" title="Reciept Voucher Post" width="20" height="20" alt="Edit" align = "center" class="inliexample2" onclick="fee_accounts('<?= $list['fee_id']; ?>')" alt="" /> </div> <!-- <div class="elements"><img src="<?= base_url() ?>assets/images/delete-icon.png" title="Delete" width="20" height="20" onclick="deletedata('fee',<?= $row->fee_id; ?>,'fee_id','student','viewinstudentsearch','search_fee_posted','view_fee_posted','<?= $table ?>','<?= $field ?>')" alt="Delete" align = "center"/></div>--> <?php } else { ?> <div class="elements"> <img src="<?= base_url() ?>/assets/images/view-icon.png" id="editclass" title="View" width="20" height="20" alt="View Entry" align = "center" onclick="view_fee(<?= $list['journal_id'] ?>, 'search_fee', 'view_fee')" style="cursor: pointer" class="clickimage1" /> </div> <?php } ?> </td> </tr> <?php } } ?> </table> </div> </div> </div> <?php // var_dump($fee); ?> <?php echo form_close(); ?> <?php $data['master_id'] = $student->student_id; $data['controller'] = 'student'; $data['controller_function'] = 'viewinstudentsearch'; $data['page'] = 'view_student'; $data['model_function'] = 'search_student'; $this->load->view('master/uploaded_files', $data); echo form_close(); ?> <div class="actions-left"> <div style="display:none"> <div id="empdiv"></div> </div> <div style="display:none"> <div id="uploaddiv"></div> </div> </div>