@extends('layouts.parents.master') @section('title') {{studentCommonName(auth()->guard('student')->user()->username).__(' | DFE Ledger')}} @endsection @section('headerTitle') {{__('DFE Ledgers')}} @endsection @section('content')
@php $i=0; @endphp @foreach ($responseData['sessionYears'] as $sessionYear) @php if(request()->has('sessionYear')) { $className = request()->sessionYear == $sessionYear->month ? 'bg-gradient-success' : 'bg-gradient-primary'; } else { $className = $i == 0 ? 'bg-gradient-success' : 'bg-gradient-primary'; } $i++; @endphp @endforeach
@foreach ($responseData['firstYear'] as $key) @endforeach
Description({{$responseData['firstYear'][0]->month??''}}) Fee Received Balance
{{ date('d-M-Y', strtotime($key->date))}}
{{$key->desc}}
{{ $key->debit }} {{ $key->credit }} {{ $key->balance }}
@endsection @push('web-scripts') @endpush