@extends('layouts.app') @section('content')
@include('layouts.left-menu')

Edit Student

@include('session-messages')
@csrf {{-- Personal Information Card --}}
Personal Information
{{-- Parents' Information Card --}}
Parents' Information
{{-- Payment Settings (Read-Only or Editable) --}} @if($payment_profile)
💰 Payment Settings @if($payment_profile->total_amount_paid > 0) Read Only @endif
@if($payment_profile->total_amount_paid > 0) {{-- Read-Only View --}}
Payment settings cannot be changed because this student has already made payments (Rs. {{number_format($payment_profile->total_amount_paid, 2)}} paid). To record more payments, use the Payment Recording page.
{{$payment_profile->getPaymentTypeName()}}
Rs. {{number_format($payment_profile->admission_fee_amount, 2)}}
@if($payment_profile->payment_type != 0)
Rs. {{number_format($payment_profile->recurring_fee_amount, 2)}}
@endif
Total Owed
Rs. {{number_format($payment_profile->total_amount_owed, 2)}}
Total Paid
Rs. {{number_format($payment_profile->total_amount_paid, 2)}}
Balance Remaining
Rs. {{number_format($payment_profile->balance_remaining, 2)}}
@else {{-- Editable View --}}
No payments made yet. You can update payment settings for this student.
@if(auth()->user()->role == 'admin') payment_type == 0 ? 'checked' : ''}}> @endif payment_type == 1 ? 'checked' : ''}}> payment_type == 2 ? 'checked' : ''}}>
One-time fee for enrollment
Amount to pay each month/year
Total Amount to be Paid:
{{number_format($payment_profile->total_amount_owed, 2)}} PKR
@endif
@endif {{-- Submit Button --}}
Ready to Update?
Please review all information before submitting
Cancel
@include('layouts.footer')
@include('components.photos.photo-input') @endsection