@extends('layouts.adminapp') @section('title') {{ __('lng.StudentDetails') }} - {{ __('lng.PayFee') }} @endsection @section('active_student', 'active') @section('open_student', 'open') @section('active_pay_fee', 'active') @section('content')

{{ __('lng.PayFee') }}

{{ $Student->name }}
{{ __('lng.Back') }}

{{ $Student->place }} {{ $Student->mobile }} {{ $Student->Class->title ?? '' }}

@if ($Balance > 0)

{{ __('lng.BalanceAmount') }}

@currency($Balance)

@else

{{ __('lng.AdvanceAmount') }}

@currency(abs($Balance))

@endif

{{ __('lng.BatchYear') }}

{{ $Student->batch_year }}

{{ __('lng.PayFeeDetails') }}
@php $si = 0; $PayAmout = $PayedAmount; @endphp @foreach ($SetFees as $Fee) @php $month = date('F-Y', strtotime($Fee->month)); $PayAmout -= $Fee->amount + $Fee->additional_charge; @endphp @endforeach
{{ __('lng.SiNo') }} {{ __('lng.Date') }} {{ __('lng.Amount') }} {{ __('lng.Paid') }}
{{ ++$si }} {{ $month }} @currency($Fee->amount + $Fee->additional_charge) = 0) checked @endif readonly>
{{ __('lng.PayHistory') }}
@php $si=0; @endphp @foreach ($PayFees as $PayFee) @php $Date = date("d-m-y",strtotime($PayFee->date));@endphp @endforeach
{{ __('lng.SiNo') }} {{ __('lng.Month') }} {{ __('lng.PayAmount') }} {{ __('lng.Action') }}
{{ ++$si }} {{ $Date }} @currency($PayFee->amount)
@csrf @method('delete')
@endsection