@extends('backEnd.master') @section('title') @lang('accounts.fine_report') @endsection @section('mainContent') @php $setting = generalSetting(); if(!empty($setting->currency_symbol)){ $currency = $setting->currency_symbol; }else{ $currency = '$'; } @endphp

@lang('common.select_criteria')

{{ Form::open(['class' => 'form-horizontal', 'files' => true, 'route' => 'fine-report-search', 'method' => 'POST', 'enctype' => 'multipart/form-data']) }}
@if (moduleStatusCheck('University')) @includeIf( 'university::common.session_faculty_depart_academic_semester_level', ['mt' => 'mt-30', 'hide' => ['USUB'], 'required' => ['USL']] )
@else
loader
@endif
{{ Form::close() }}
@if(isset($fine_info))

@lang('accounts.fine_report')

@php $grand_amount = 0; $grand_total = 0; $grand_fine = 0; @endphp @foreach($fine_info as $students) @foreach($students as $fees_payment) @php $total = 0; @endphp @if($fees_payment->fine>0) @endif @endforeach @endforeach
@lang('fees.payment_id') @lang('common.date') @lang('common.name') @lang('common.class') @lang('fees.fees_type') @lang('accounts.mode') @lang('accounts.fine')
{{$fees_payment->fees_type_id.'/'.$fees_payment->id}} {{$fees_payment->payment_date != ""? dateConvert($fees_payment->payment_date):''}} {{$fees_payment->studentInfo !=""?$fees_payment->studentInfo->full_name:""}} @if($fees_payment->studentInfo!="" && $fees_payment->studentInfo->class!="") {{$fees_payment->studentInfo->class->class_name}} @endif {{$fees_payment->feesType!=""?$fees_payment->feesType->name:""}} {{@$fees_payment->payment_mode}} @php $total = $total + $fees_payment->fine; $grand_fine = $grand_fine + $fees_payment->fine; echo currency_format($fees_payment->fine); @endphp
@lang('fees.grand_total') {{currency_format($grand_fine)}}
@endif
@endsection @include('backEnd.partials.date_range_picker_css_js') @include('backEnd.partials.data_table_js')