Changeset 13510 for main


Ignore:
Timestamp:
27 Nov 2015, 06:14:11 (9 years ago)
Author:
Henrik Bettermann
Message:

Add verdict C and Z.

File:
1 edited

Legend:

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

    r13508 r13510  
    7777                     'match accommodation session.')
    7878        stage = bt.split('_')[2]
    79         ####################################################################################
    80         #if stage in ('fi', 're'):
    81         #    return _("Accommodation booking for returning and final year students has not yet started.")
    82         ####################################################################################
    83         if stage != 'fr' and not student['studycourse'].previous_verdict in ('A', 'B'):
     79        if stage != 'fr' and not student[
     80            'studycourse'].previous_verdict in ('A', 'B', 'C', 'Z'):
    8481            return _("Your are not eligible to book accommodation.")
    85         if str(acc_details['booking_session']) in student['accommodation'].keys():
     82        if str(acc_details[
     83            'booking_session']) in student['accommodation'].keys():
    8684            return _('You already booked a bed space in '
    8785                     'current accommodation session.')
Note: See TracChangeset for help on using the changeset viewer.