@extends('layouts.userLayout') @section('content') {{-- --}}
@include('user.partials.flash_messages') {{--

{{ @$class->title}}

--}}

Admission Fee Details

One time payment for class enrollment

Admission Fee Amount {{ @$currencySymbol }}{{ @$admissionFees->admission_fee ? number_format($admissionFees->admission_fee) : '' }}
Discount Applied @if (@$admissionFees->is_discount == 1) @php if ( @$admissionFees->discount_type == 'percent' ) { $discountAmount = (@$admissionFees->admission_fee * @$admissionFees->discount) / 100; } else { $discountAmount = @$admissionFees->discount; } @endphp @if (@$admissionFees->discount_type == 'percent') - {{ $currencySymbol }}{{ number_format($discountAmount, 2) }} ({{ @$admissionFees->discount }}%) @else - {{ $currencySymbol }}{{ number_format($discountAmount, 2) }} @endif @else - {{ $currencySymbol }}0.00 (0%) @endif
Total Payable Amount {{ @$currencySymbol }}{{ @$admissionFees->discount_price ? number_format($admissionFees->discount_price) : number_format($admissionFees->admission_fee) }}
@if (@$admissionFees->admission_fee_status == 0)
Status: Pending
Pay Now
@else
Status: Paid on {{ @$admissionFees->paid_on }}
@if (!empty($admissionFees->transaction_id)) Invoice @endif
@endif
Admission fee is mandatory to confirm your seat in this class
@foreach ($classFee as $k => $row) @endforeach
Month Fee Amount Status Action
@if (!empty($row->from_month) && !empty($row->to_month)) @if ($row->from_month == $row->to_month) {{ $row->from_month }} {{ $row->year }} @else {{ $row->from_month }} - {{ $row->to_month }} {{ $row->year }} @endif @elseif(!empty($row->month)) {{ $row->month }} {{ $row->year }} @else N/A @endif
@if (@$row->payment_mode == 'online') Online @elseif(@$row->payment_mode == 'cash') Cash @endif
{{ @$currencySymbol }}{{ number_format(@$row->fees ?? 0, 2) }} @if (@$row->status == 1) Paid
{{ \Carbon\Carbon::parse($row->paid_on)->format('d M Y') }}
@else Unpaid
Due: {{ \Carbon\Carbon::parse($row->due_on)->format('d M Y') }}
@endif
@if (isset($row) && in_array($row->status, [0, 3])) Pay Now @else @if (!empty($row->transaction_id)) Invoice @endif @endif
@endsection