Skip to content

Commit

Permalink
Merge pull request #1679 from hrithik-09/latest_staging
Browse files Browse the repository at this point in the history
Changed the academic year view logic
  • Loading branch information
ramG-reddy authored Jan 1, 2025
2 parents 95b1470 + 2de8cc0 commit 7d45b9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FusionIIIT/applications/academic_procedures/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def academic_procedures_student(request):
curr_sem_id = Semester.objects.get(curriculum = curr_id, semester_no = obj.curr_semester_no)

try:
semester_no = obj.curr_semester_no+1
semester_no = obj.curr_semester_no
next_sem_id = Semester.objects.get(curriculum = curr_id, semester_no = semester_no)
user_sem = semester_no

Expand Down Expand Up @@ -416,7 +416,7 @@ def academic_procedures_student(request):
details = {
'current_user': current_user,
'year': acad_year,
'user_sem': user_sem - 1,
'user_sem': user_sem,
'user_branch' : str(user_branch),
'cpi' : cpi,
}
Expand Down

0 comments on commit 7d45b9c

Please sign in to comment.