@extends('layouts.app') @section('title', __('Monthly Report')) @section('content')
@include('layouts.leftside-menubar')
@include('components.pages-bar',['pageTitle' =>''. trans('Manage Accounts').' / '.trans('Monthly Report').'']) @include('components.sectionbar.reports-bar')
{!! Form::open(array('route' => 'accounts.monthlyreport', 'method' => 'POST', 'role' =>'form','enctype'=>'multipart/form-data', 'class' => 'needs-validation')) !!}
{!! Form::label('section', trans('Section'), ['class' => 'control-label']) !!} {!! Form::select('section', $pluckSection , $section?? null , ['class' => 'select2 form-control','required','onchange'=>'getStudentsBySection(this.value,1)','placeholder'=>trans('Choose')]) !!} @error('section') {{ $message }} @enderror
{!! Form::select('student',$pluckStudent ?? array(), $student?? null, array('id' => 'student', 'class' => 'form-control select2','required')) !!} @error('student') {{ $message }} @enderror
{!! Form::text('year', $year ?? date('Y'), array('id' => 'year', 'class' => 'form-control datepicker','autocomplete' => 'off')) !!} @error('year') {{ $message }} @enderror
{{--@if (isset($payments) && $payments->count())
@lang('Download ')
@endif--}}
{!! Form::close() !!}
@isset($payments)
@lang('Print Date') :
@php($section = App\Section::find($section))
@lang('Section') {{$section->class->name .' - '. $section->section_number}}   @lang('Student') - @if ($student == 'all') @lang('All') @else @php($student = (new App\User)->getUser($student)) {{$student->name}} @endif @lang('Payment Report Year') {{$year}}  
@if($payments->count())
@foreach($payments as $key=> $payment) @foreach($payment as $field=> $value) @endforeach @break($loop->first) @endforeach @for($month=1;$month<=12;$month++) @endfor @php($total_due=$total_paid=0) @foreach($payments as $key=> $payment) @foreach($payment as $field=> $value) @if ($field == 'Total Due')
Warning: Undefined variable $value in /home/ipsitaltd/public_html/public/latestblcf/resources/views/accounts/monthlyreport.blade.php on line 140

Fatal error: Uncaught Error: Class "App\Fee" not found in /home/ipsitaltd/public_html/public/latestblcf/resources/views/accounts/monthlyreport.blade.php:140 Stack trace: #0 {main} thrown in /home/ipsitaltd/public_html/public/latestblcf/resources/views/accounts/monthlyreport.blade.php on line 140
#{{$field}}@lang('Current Due'){{date('F', mktime(0, 0, 0, $month, 10))}}
{{$loop->index +1}}