Ignore:
Timestamp:
24 Apr 2024, 07:10:07 (7 months ago)
Author:
Henrik Bettermann
Message:

Change minimum credits for 300 level students.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/utils.py

    r17693 r17745  
    4444        if studylevel.total_credits > 48:
    4545            return _('Maximum credits exceeded.')
    46         if not course and studylevel.total_credits < 30:
    47             return _('Minimum credits not reached.')
     46        if not course:
     47            if studylevel.level == 300:
     48                if studylevel.total_credits < 27:
     49                    return _('Minimum credits not reached.')
     50            if studylevel.total_credits < 30:
     51                return _('Minimum credits not reached.')
    4852        return
    4953
Note: See TracChangeset for help on using the changeset viewer.