IMMREX7
@extends('schools.school_layout')
@section('content')
<div class="row clearfix">
<div class="col-sm-12">
<div class="card">
<div class="header">
<div class="header">
<h2><strong>Collect Fees</strong></h2>
</div>
<div class="body table-responsive">
{!! Form::open(['method' => 'GET', 'action' => ['School\Hostel\HostelFeeController@index'], 'class' => 'form-horizontal']) !!}
<div class="row clearfix">
<div class="col-sm-3 form-control-label">
<label for="classname">Financial Year</label>
</div>
<div class="col-sm-5">
<div class="form-group">
{!! Form::select('idFinancialYear',fys(),null,['class' => 'form-control show-tick ms']) !!}
</div>
</div>
<div class="col-sm-2">
{!! Form::submit('Search',['class' => 'btn btn-raised btn-primary btn-round waves-effect']) !!}
</div>
</div>
{!! Form::close() !!}
<br>
<table class="table table-bordered table-striped table-hover dataTable js-basic-example">
<thead>
<tr>
<th>EC No.</th>
<th>Name</th>
<th>Father</th>
<th>Class</th>
<th>Section</th>
<th>Floor</th>
<th>Room</th>
<th>Bed</th>
<th>Action</th>
</tr>
</thead>
<tbody>
@foreach($students as $var)
<tr>
<td>{{$var->ecNo}}</td>
<td>{{$var->firstName}} {{$var->middleName}} {{$var->lastName}}</td>
<td>{{$var->father_fname}} {{$var->father_lname}}</td>
<td>{{$var->className}}</td>
<td>{{$var->sectionName}}</td>
<td>{{$var->floorName}}</td>
<td>{{$var->roomName}}</td>
<td>{{$var->bedName}}</td>
<td><a class="btn btn-warning btn-sm" href="{{url('/school/hostel-fees/'.$var->idStudent.'/details')}}">Select</a></td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
@stop
Copyright © 2021 -