Changeset 16462 for main


Ignore:
Timestamp:
15 Apr 2021, 15:04:54 (4 years ago)
Author:
Henrik Bettermann
Message:

PDE not NCE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py

    r16461 r16462  
    136136        elif category.startswith('schoolfee'):
    137137            if category == 'schoolfee_pde1':
    138                 if not student.current_mode.startswith('nce'):
    139                     return _('You are not an NCE student.'), None
     138                if not student.current_mode.startswith('pd'):
     139                    return _('You are not a PDE student.'), None
    140140                if student.state != CLEARED:
    141141                        return _('You are not a fresh student.'), None
Note: See TracChangeset for help on using the changeset viewer.