Changeset 11944 for main/waeup.kwarapoly


Ignore:
Timestamp:
10 Nov 2014, 09:07:11 (10 years ago)
Author:
Henrik Bettermann
Message:

All students are expected to pay for accommodation before paying for school fee (see Ticket 27). Actually, it should not be all students because faculty 'IOT' does not have hostel for male students.

File:
1 edited

Legend:

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

    r11943 r11944  
    229229                # Fresh students must have booked and paid for accommodation.
    230230                if self._bedAvailable(student):
    231                     if not self._maintPaymentMade(student, p_session):
     231                    if not student.faccode == 'IOT' and \
     232                        not self._maintPaymentMade(student, p_session):
    232233                        return _('Book and pay for accommodation first '
    233234                                 'before making school fee payments.'), None
Note: See TracChangeset for help on using the changeset viewer.