Changeset 16963 for main/kofacustom.dspg/trunk/src/kofacustom/dspg/students
- Timestamp:
- 14 Jun 2022, 11:34:52 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/utils.py
r16948 r16963 31 31 32 32 def MICROSOFT_FEE(student): 33 if student.state == CLEARED: 33 if student.state == CLEARED \ 34 or (student.current_level in (100, 110, 120, 130) 35 and student.current_verdict == 'C') \ 36 or (student.current_level in (300, 310, 320, 330) \ 37 and student.current_mode == 'hnd_ft') \ 38 and student.current_verdict == 'C'): 34 39 return 5950.0 35 40 return 0.0 … … 41 46 42 47 def TECH_FEE(student): 43 if student.state == CLEARED: 48 if student.state == CLEARED \ 49 or (student.current_level in (100, 110, 120, 130) 50 and student.current_verdict == 'C') \ 51 or (student.current_level in (300, 310, 320, 330) \ 52 and student.current_mode == 'hnd_ft') \ 53 and student.current_verdict == 'C'): 44 54 return 4250.0 45 55 return 1200.0 … … 119 129 of returning students depending on the student's senate verdict. 120 130 """ 121 prev_level = student ['studycourse'].current_level122 cur_verdict = student ['studycourse'].current_verdict131 prev_level = student.current_level 132 cur_verdict = student.current_verdict 123 133 if cur_verdict in ('A','B','L','M','N','Z',): 124 134 # Successful student
Note: See TracChangeset for help on using the changeset viewer.