Changeset 18017 for main/kofacustom.unidel/trunk/src
- Timestamp:
- 12 Feb 2025, 12:57:53 (26 hours ago)
- Location:
- main/kofacustom.unidel/trunk/src/kofacustom/unidel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.unidel/trunk/src/kofacustom/unidel/interswitch/tests.py
r17960 r18017 78 78 self.assertEqual(self.student.current_mode, 'ug_ft') 79 79 self.assertTrue( 80 '<input type="hidden" name="amount" value="91 75000" />' in80 '<input type="hidden" name="amount" value="9180000" />' in 81 81 self.browser.contents) 82 82 self.assertTrue( -
main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/utils.py
r17984 r18017 53 53 return _('Maximum credits exceeded.') 54 54 if not course: 55 if studylevel.level != 300 and studylevel.total_credits < 30: 55 #if studylevel.student.faccode in ('FET', 'FES'): 56 # if studylevel.level == 400 and studylevel.total_credits < 29: 57 # return _('Minimum credits not reached.') 58 if studylevel.level in (300, 400) and studylevel.total_credits < 27: 59 return _('Minimum credits not reached.') 60 elif studylevel.total_credits < 30: 56 61 return _('Minimum credits not reached.') 57 if studylevel.level == 300 and studylevel.total_credits < 27:58 return _('Minimum credits not reached.')59 62 return 60 63
Note: See TracChangeset for help on using the changeset viewer.