Repository navigation
Update course confirmation form and Grade Validation document details - #324
Merged
vikrantwiz02 merged 3 commits intoSep 27, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Academic office changes across three documents.
Course confirmation form (
courseRegistrationReceipt.js)Course confirmation form (Student Copy)and(Academic Copy).Additional notes:now carries the standing hintFor Backlog/Improvement course.Mobile Number:field under the student's signature.Prev. Sem. CPIis omitted entirely in semester 1, where there is no previous semester. Later semesters with no recorded CPI still print the dash as before.The on-screen preview in
RegisteredCourses.jsxmirrors this layout in its own markup, so it is updated in step — the generator's own header comment warns that the two must not drift.Dashboard credit summary
When remaining credits reach zero or go negative, the
Remaining Credits requirement for degreeblock is replaced by a completion message. The rule lives inlib/credits.jsashasCompletedDegree, reusingremainingCreditRequirementso the swayam cap is handled for free: a student with 150 earned but 10 swayam credits has only 146 counting toward the degree and is correctly not marked complete.Grade Validation
The header gains a
Last Graded Semesterrow and a degree standing line, both supplied by the API, and each semester heading now shows its academic year on the right. The standing line is rendered rather than recomputed here, so the single-student download and the batch ZIP export cannot disagree.Depends on FusionIIIT/Fusion#1998, which adds
academic_year,last_graded_semesterandstanding_textto the payload. Before that lands the new fields render empty rather than breaking.Tests
Five added: three on the credit rule covering below, exactly at and above the requirement plus the swayam-cap case, and two on the dashboard confirming the completion message replaces the calculation and the inverse while credits are outstanding. 72 tests pass in the affected suites. ESLint problem count on
GradeValidation.jsxis unchanged from the base branch.