BBnepal-Accounts/application/views/student/hostel.php
Sampanna Rimal 9cd05ef3cb commitall
2024-07-10 18:28:19 +05:45

61 lines
2.0 KiB
PHP

<main class="common_margin" id="main">
<div class="main-wrap w-100">
<div class="my-info-inner w-100">
<!-- <div class="payment-selection-wrap">
<div class="hostel_img">
<h4>Would You like to have hostel facility ?</h4>
<a href="<?= base_url() ?>student/hostel-fee" class="join-class-btn">Yes, Continue</a>
<img src="<?= base_url() ?>assets_student/images/hostel-img.png" />
</div>
</div> -->
<div class="row">
<div class="col-md-2 col-12">
<span style="font-weight : 600">Batch : </span>
</div>
<div class="col-md-6 col-12">
<span class="ml-3"><?= $course_details['b_name'] ?></span>
</div>
</div>
<div class="row mt-2 mb-5">
<div class="col-md-2 col-12">
<span style="font-weight : 600">Course : </span>
</div>
<div class="col-md-6 col-12">
<span class="ml-3"><?= $course_details['course_name'] ?></span>
</div>
</div>
<?php if(!empty($hostel_details)) { ?>
<div class="subject_lhead">Hostel Details</div>
<div style="width:50%" class="mt-2">
<table class="table table-bordered">
<thead>
<tr>
<th>#</th>
<th>Hostel Type</th>
<th>Amount</th>
</tr>
</thead>
<tbody>
<?php foreach ($hostel_details as $key => $value) { ?>
<tr>
<td><?= $key + 1 ?></td>
<td><?= $value['fee_values'] ?></td>
<td><?= $value['amount'] ?></td>
</tr>
<?php } ?>
</tbody>
</table>
</div>
<?php } else {
echo '<p>Hostel Fees has not been created for student\'s batch and course</p>';
} ?>
</div>
</div>
</main>