NexGenStudioDev/ciitm-frontend
๐ฐ Build Student Wallet Page โ Chart View + Fee Detail Form + Print Functionality
Open
#210 opened on Aug 18, 2025
enhancementfeature-requestgood first issuehacktoberfestup-for-grabs
Repository metrics
- Stars
- ย (9 stars)
- PR merge metrics
- ย (PR metrics pending)
Description
๐ Fee Detail Page (Per Fee Type)
- Displays all payment records related to the selected fee type.
- Payment records are shown in paginated batches (for example, 1โ10, 11โ20, etc.) rather than displaying all records at once.
- Includes navigation controls (left and right arrows) that allow students to:
- Move between pages of fee records easily.
- Browse through their payment history in manageable chunks for better usability and performance.
- Each page shows a fixed number of records (e.g., 10 payments per page).
- Payment details are displayed in a read-only form layout with fields such as:
- Fee Type
- Amount Paid
- Payment Date
- Payment Method
- Status (Paid / Unpaid)
- A Print button is available to print the currently displayed page of fee records.
API Endpoint
GET /api/v1/student/wallets
- Fetch all the Payment Type
๐ Navigation & Pagination Behavior
- Pagination controls help manage large sets of fee data by loading and displaying only a subset of records at a time.
- Users can navigate forward and backward through their fee payment history using the arrows.
- This approach improves page load times and overall user experience, especially for students with many payment records.
๐ผ๏ธ Design Reference
Please refer to the Figma design for layout and UI details:
Figma Link: [Insert your Figma design link here]
๐ API Endpoint
To fetch paginated fee data for the student wallet detail page, use:
GET /api/v1/student/wallet/:feeType?page=<pageNumber>&limit=<pageSize>
feeType: The fee category (e.g., admission, farewell, exam, semester).page: Page number (default: 1).limit: Number of records per page (default: 10).
Example:
GET /api/v1/student/wallet/admission?page=2&limit=10