?
Current Path : /home1/savoy/public_html/oscarerp.com/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/oscarerp.com/application/views/student/single_extra.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="icons_main"> <div class="icons"> <img src="<?= base_url() ?>assets/images/back.png" title="Back" class="clickimage" onclick="viewdata('student','viewinstudentsearch','search_extra','view_extra','<?= $_SESSION['pagenum']; ?>')" alt="Back" align = "center" width="32" height="32" /> </div> <div class="icons_caption"> <h4>DAILY REPORT</h4> </div> </div> <?php $attributes = array('id' => 'validateform', 'class' => 'validate'); echo form_open('student/addinstudent/update_extra/view_extra/1', $attributes); $teacher = $this->mastermodel->getdatas('teacher'); $teacher = $this->mastermodel->get_data('employee', '1', 'employee_teacher'); $physical=$this->mastermodel->get_data_srow('physical',$viewinfo->nutrition_id,'physical_id'); $medical = $this->mastermodel->get_data_srow('medical', $viewinfo->nutrition_id, 'medical_id'); ?> <table class="table"> <tr><th style="text-align: left;padding-left:50px;color: red;">NUTRITION REPORTS</th></tr> </table> <div class="grid_12"> <div class="grid_6"> <div class="box"> <div class="header main">Child Details</div> <div class="content no-padding"> <div class="section _100"> <label>Student Name</label> <div class="single_page"> <?= $this->mastermodel->get_single_field_value('student', 'first_name', 'student_id', $viewinfo->nutrition_student_id) ?> </div> </div> <div class="section _100"> <label>Looked After By</label> <div class="single_page"> <?= $this->mastermodel->get_single_field_value('employee', 'employee_name', 'employee_id', $viewinfo->nutrition_teacher_id); ?> </div> </div> <div class="section _100"> <label> Date</label> <div class="single_page"> <?= $this->mastermodel->convertdatenormalformat($viewinfo->nutrition_date) ?> </div> </div> </div> </div> </div> <div class="grid_6"> <div class="box"> <div class="header main">Arr/ Dep Details</div> <div class="content no-padding"> <div class="section _100"> <label>Child Arrived At</label> <div class="single_page"> <?= substr($viewinfo->nutrition_arrived,0,5) ?> </div> </div> <div class="section _100"> <label> Child Departed At</label> <div class="single_page"> <?= substr($viewinfo->nutrition_departed,0,5) ?> </div> </div> </div> </div> </div> </div> <div class="grid_12" > <div class="grid_6" > <div class="box"> <div class="content no-padding"> <div class="header main">Sleep</div> <table class="table" id="stud_sub"> <tr> <th>From</th> <th>To</th> </tr> <?php $i = 1; $nutrition_sleep = $this->mastermodel->get_data('nutrition_sleep', $viewinfo->nutrition_id, 'nutrition_id'); foreach ($nutrition_sleep as $list) { ?> <tr> <td><?= substr($list['nutrition_sleep_from'], 0, 5); ?></td> <td><?= substr($list['nutrition_sleep_to'], 0, 5); ?></td> </tr> <?php } ?> </table> </div> </div> </div> <div class="grid_6" > <div class="box"> <div class="content no-padding"> <div class="header main"> Food</div> <table class="table" id="stud_sub"> <tr> <th>Time</th> <th>Consumption</th> </tr> <?php $i = 1; $nutrition_food = $this->mastermodel->get_data('nutrition_food', $viewinfo->nutrition_id, 'nutrition_id'); foreach ($nutrition_food as $list) { ?> <tr> <td><?= substr($list['nutrition_food_time'], 0, 5); ?></td> <td><?= $list['nutrition_food_status']; ?></td> </tr> <?php } ?> <tr> <td> <label> Any dislikes?</label> </td> <td> <?= $viewinfo->nutrition_food_dislike ?> </td> </tr> </table> </div> </div> </div> </div> <div class="grid_12" > <div class="grid_6" > <div class="box"> <div class="content no-padding"> <div class="header main">Bottles</div> <table class="table" id="stud_sub"> <tr> <th>Time</th> <th>Amount</th> </tr> <?php $i = 1; $nutrition_bottle = $this->mastermodel->get_data('nutrition_bottle', $viewinfo->nutrition_id, 'nutrition_id'); foreach ($nutrition_bottle as $list) { ?> <tr> <td><?= substr($list['nutrition_bottle_time'], 0, 5); ?></td> <td><?= $list['nutrition_bottle_amount']; ?></td> </tr> <?php } ?> </table> </div> </div> </div> <div class="grid_6" > <div class="box"> <div class="content no-padding"> <div class="header main">Nappies</div> <table class="table" id="stud_sub"> <tr> <th> Time</th> <th> Status</th> <th> Cream Applied? </th> </tr> <?php $i = 1; $nutrition_nappies = $this->mastermodel->get_data('nutrition_nappies', $viewinfo->nutrition_id, 'nutrition_id'); foreach ($nutrition_nappies as $list) { ?> <tr> <td><?= substr($list['nutrition_nappies_time'], 0, 5); ?></td> <td><?= $list['nutrition_nappies_status']; ?></td> <td><?= $list['nutrition_nappies_cream']; ?></td> </tr> <?php } ?> </table> </div> </div> </div> </div> <div class="grid_12"> <div class="grid_6"> <div class="box"> <div class="header main">Other </div> <div class="content no-padding"> <!-- <div class="section _100"> <label> Any dislike?</label> <div> <?= $viewinfo->nutrition_food_dislike ?> </div> </div>--> <div class="section _100"> <label>Outside Play/Indoor Activities</label> <div class="single_page"> <?= $viewinfo->nutrition_play ?> </div> </div> </div> </div> </div> <div class="grid_6"> <div class="box"> <div class="header main">Other </div> <div class="content no-padding"> <div class="section _100"> <label>Requirements</label> <div class="single_page"> <?= $viewinfo->nutrition_requirement ?> </div> </div> </div> </div> </div> </div> <!--<div class="grid_12"> <div class="box"> <div class="actions"> <div class="actions-left"> <button type="submit" id="submitt" class="clickimage">Preview</button> </div> <div class="actions-right"> <button type="submit" id="submitt" class="clickimage">Nutrition Report</button> </div> </div> </div> </div>--> <table class="table"> <tr><th style="text-align: left;padding-left:50px;padding-top:30px;color: red;">PHYSICAL REPORTS</th></tr> </table> <div class="grid_12"> <div class="grid_6"> <div class="box"> <div class="header main">Physical Details </div> <div class="content no-padding"> <div class="section _100"> <label> Child appeared to be </label> <div class="single_page"> <?= $physical->physical_status ?> </div> </div> <div class="section _100"> <label> Essentials Required </label> <div class="single_page"> <?= $physical->physical_essentials ?> </div> </div> <div class="section _100"> <label>Essentials Other</label> <div class="single_page"> <?= $physical->physical_essentials_other ?> </div> </div> <div class="section _100"> <label>Nappies or Toileting</label> <div class="single_page"> <?= $physical->physical_nappies ?> </div> </div> </div> </div> </div> <div class="grid_6"> <div class="box"> <div class="header main">Physical Details </div> <div class="content no-padding"> <div class="section _100"> <label> Play and Learning</label> <div class="single_page"> <?= $physical->physical_learning ?> </div> </div> <div class="section _100"> <label> Any Comments</label> <div class="single_page"> <?= $physical->physical_meal_comments ?> </div> </div> </div> </div> </div> </div> <table class="table"> <tr><th style="text-align: left;padding-left:50px;padding-top:30px;color: red;">MEDICAL REPORTS</th></tr> </table> <div class="grid_6"> <div class="box"> <div class="header main">Medical Details </div> <div class="content no-padding"> <div class="section _100"> <label>Health Status</label> <div> <?= $medical->medical_health_status; ?> </div> </div> <div class="section _100"> <label>Medication</label> <div> <?= $medical->medical_medication; ?> </div> </div> </div> </div> </div> <div class="grid_6"> <div class="box"> <div class="header main">Medical Details </div> <div class="content no-padding"> <div class="section _100"> <label>Special Requirements</label> <div> <?= $medical->medical_special_requirements; ?> </div> </div> <div class="section _100"> <label>Notes</label> <div> <?= $medical->medical_notes; ?> </div> </div> </div> </div> </div> <!--<div class="grid_12"> <div class="box"> <div class="actions"> <div class="actions-left"> <button type="submit" id="submitt" class="clickimage">Preview</button> </div> <div class="actions-right"> <button type="submit" id="submitt" class="clickimage">Physical Report</button> </div> </div> </div> </div>--> <!--<table class="table"> <tr><th style="text-align: left;padding-left:50px;padding-top:30px;color: red;">MEDICAL REPORTS</th></tr> </table>--> <!--<div class="grid_12"> <div class="box"> <div class="actions"> <div class="actions-left"> <button type="submit" id="submitt" class="clickimage">Preview</button> </div> <div class="actions-right"> <button type="submit" id="submitt" class="clickimage">Medical Report</button> </div> </div> </div> </div>--> <br/><br/>