@extends('layouts.app') @section('content')

Create New Fee Challan

@csrf
Student Information
@error('student_info')
{{ $message }}
@enderror
@error('cnic')
{{ $message }}
@enderror
Fee Information
@error('fee_type_id')
{{ $message }}
@enderror
@error('amount')
{{ $message }}
@enderror
Contact Information
@error('mobile_no')
{{ $message }}
@enderror
@error('expiry_date')
{{ $message }}
@enderror
Cancel
@if(session('success'))
{{ session('success') }}
@endif
Recent Challans
@if($challans->count() > 0)
@foreach($challans->take(5) as $challan)
{{ $challan->student_info }}

{{ $challan->feeType->name }}

Rs. {{ number_format($challan->amount) }}
{{ $challan->created_at->format('M d') }}
@endforeach
@else

No challans created yet

@endif
@section('scripts') @endsection @endsection