first commit
This commit is contained in:
36
resources/views/crud/generated/options/show.blade.php
Normal file
36
resources/views/crud/generated/options/show.blade.php
Normal file
@ -0,0 +1,36 @@
|
||||
@extends('backend.template')
|
||||
@section('content')
|
||||
<div class='card'>
|
||||
<div class='card-header d-flex justify-content-between align-items-center'>
|
||||
<h2><?php echo label('View Details'); ?></h2>
|
||||
<?php createButton('btn-primary btn-cancel', '', 'Back to List', route('options.index')); ?>
|
||||
</div>
|
||||
<div class='card-body'>
|
||||
<p><b>Students Name : </b> <span>{!! getFieldData('tbl_students', 'name', 'student_id', $student_id) !!}</span></p>
|
||||
</div>
|
||||
<div class='card-body'>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 5%;">S.N.</th>
|
||||
<th style="width: 20%;">Programs</th>
|
||||
<th>Advice</th>
|
||||
<th>Description</th>
|
||||
<!-- Add more table headers as needed -->
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@php $serialNumber = 1; @endphp
|
||||
@foreach ($data as $option)
|
||||
<tr>
|
||||
<td>{{ $serialNumber++ }}</td>
|
||||
<td style="width: 30%;">{{ getFieldData('tbl_programs', 'title', 'program_id', $option->programs_id) }}</td>
|
||||
<td>{{ $option->advice }}</td>
|
||||
<td>{{ $option->description }}</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
Reference in New Issue
Block a user