Skip to content

Commit

Permalink
Merge pull request #204 from CDC-IITDH/nitin
Browse files Browse the repository at this point in the history
fixed stats
  • Loading branch information
JayaSurya-27 authored Sep 26, 2024
2 parents a6ec89f + 7eee781 commit 4c248be
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions CDC_Backend/APIs/adminViews.py
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,17 @@ def getStats(request, id, email, user_type):
"psu":0,

},
"EP":{
"1":0,
"2":0,
"3":0,
"4":0,
"5":0,
"6":0,
"7":0,
"8":0,
"psu":0,
},
"Total": {
"1":0,
"2":0,
Expand All @@ -639,29 +650,34 @@ def getStats(request, id, email, user_type):
"CSE": 0,
"EE": 0,
"MMAE": 0,
"EP": 0,
"Total": 0,
}
number_of_students_with_multiple_offers = 0
number_of_students_with_no_offers = {
"CSE": 0,
"EE": 0,
"MMAE": 0,
"EP": 0,
"Total": 0,
}
max_CTC = {
"CSE": 0,
"EE": 0,
"MMAE": 0
"MMAE": 0,
"EP": 0,
}
average_CTC = {
"CSE": 0,
"EE": 0,
"MMAE": 0
"MMAE": 0,
"EP": 0,
}
count = {
"CSE": 0,
"EE": 0,
"MMAE": 0
"MMAE": 0,
"EP": 0,
}


Expand Down

0 comments on commit 4c248be

Please sign in to comment.