Changeset 17941


Ignore:
Timestamp:
10 Oct 2024, 02:36:00 (3 months ago)
Author:
Henrik Bettermann
Message:

All students can now book.

File:
1 edited

Legend:

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

    r17940 r17941  
    245245        return None, payment
    246246
    247     def checkAccommodationRequirements(self, student, acc_details):
    248         msg = super(CustomStudentsUtils, self).checkAccommodationRequirements(
    249             student, acc_details)
    250         if msg:
    251             return msg
    252         if student.faccode not in ('FLW', 'FMED',):
    253             return _('You are not eligible to book accommodation.')
    254         return
     247    #def checkAccommodationRequirements(self, student, acc_details):
     248    #    msg = super(CustomStudentsUtils, self).checkAccommodationRequirements(
     249    #        student, acc_details)
     250    #    if msg:
     251    #        return msg
     252    #    if student.faccode not in ('FLW', 'FMED',):
     253    #        return _('You are not eligible to book accommodation.')
     254    #    return
    255255
    256256    def getAccommodationDetails(self, student):
Note: See TracChangeset for help on using the changeset viewer.