@extends('layouts.master') @section('page_title', 'Manage Payments') @section('content')
Select year
{!! Qs::getPanelOptions() !!}
@csrf
@if($selected)
Manage Payments for {{ $year }} Session
{!! Qs::getPanelOptions() !!}
@foreach($payments as $p) @endforeach
# Title Amount Ref_No Class Method Info Action
{{ $loop->iteration }} {{ $p->title }} {{ $p->amount }} {{ $p->ref_no }} {{ $p->my_class_id ? $p->my_class->name : '' }} {{ ucwords($p->method) }} {{ $p->description }}
@foreach($my_classes as $mc)
@foreach($payments->where('my_class_id', $mc->id) as $p) @endforeach
# Title Amount Ref_No Class Method Info Action
{{ $loop->iteration }} {{ $p->title }} {{ $p->amount }} {{ $p->ref_no }} {{ $p->my_class_id ? $p->my_class->name : '' }} {{ ucwords($p->method) }} {{ $p->description }}
@endforeach
@endif {{--Payments List Ends--}} @endsection