Ignore:
Timestamp:
14 Dec 2016, 13:57:05 (8 years ago)
Author:
Henrik Bettermann
Message:

Fix condition.

File:
1 edited

Legend:

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

    r14328 r14343  
    7979        if not student.is_postgrad and stage != 'fr' and not student[
    8080            'studycourse'].previous_verdict in (
    81                 'A', 'B', 'F', 'J', 'M' 'C', 'Z'):
     81                'A', 'B', 'F', 'J', 'M', 'C', 'Z'):
    8282            return _("Your are not eligible to book accommodation.")
    8383        if str(acc_details[
     
    207207                    amount += 500.0
    208208                elif stage in ('fi', 're') and student[
    209                     'studycourse'].previous_verdict in ('A', 'B', 'F', 'J', 'C', 'Z'):
     209                    'studycourse'].previous_verdict in (
     210                        'A', 'B', 'F', 'J', 'M', 'C', 'Z'):
    210211                    amount += 300.0
    211212                else:
Note: See TracChangeset for help on using the changeset viewer.