IMMREX7

aku nok ndi : /home/spdtg/www/schoolmis/resources/views/schools/buses/
File Up :
aku nok ndi : /home/spdtg/www/schoolmis/resources/views/schools/buses/studentbusfee.blade.php

@extends('schools.school_layout')
@section('content')
<div class="row clearfix">
    <div class="col-sm-12">
        <div class="card">
            <div class="header">
                <h2><strong>Pay Transport Fees</strong></h2>
            </div>
            <div class="body table-responsive">
                {!! Form::open(['method' => 'GET',  'action' => ['School\BusFeepaymentController@index'], 'class' => 'form-horizontal']) !!}
                <div class="row clearfix">
                    <div class="col-sm-2"></div>
                    <div class="col-sm-2 form-control-label">
                        <label for="classname">Financial Year</label>
                    </div>
                    <div class="col-sm-3">
                        <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 js-basic-example dataTable">
                    <thead>
                        <tr>
                            <th>Photo</th>
                            <th>EC No.</th>
                            <th>Name</th>
                            <th>Father</th>
                            <th>Class</th>
                            <th>Section</th>
                            <th>Mobile</th>
                            <th>Route Name</th>
                            <th>Stop Name</th>
                            <th>Action</th>
                        </tr>
                    </thead>
                    <tbody>
                        @foreach($stdtransport as $value)
                        @if(isset($value->student))
                        @if($value->student->isActive == "Y")
                        <tr>
                            <th scope="row">
                                <img src="{{ asset('storage/schools/'.$value->idSchool.'/students/'.$value->student->photo)}}" height="60">
                            </th>
                            <td>{{$value->student->ecNo}}</td>
                            <td>{{$value->student->firstName}} {{$value->student->middleName}} {{$value->student->lastName}}</td>
                            <td>{{$value->student->father_fname}} {{$value->student->father_lname or ''}}</td>
                            <td>{{$value->student->classM->className}}</td>
                            <td>{{$value->student->section->sectionName}}</td>
                            <td>{{$value->student->father_mobile}}</td>
                            <td>{{$value->route->routeName}}</td>
                            <td>{{$value->stop->stopName}}</td>
                            <td>
                                <a href='{{url('/school/busfees/'.$value->idStdTransport.'/details')}}'  class="btn btn-sm btn-warning" target="_blank"><i class="fa fa-edit"></i>Select</a>
                            </td>
                        </tr>
                                @endif
                                @endif
                        @endforeach
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
@stop

Copyright © 2021 - 2025 IMMREX7