Changeset 16366


Ignore:
Timestamp:
11 Jan 2021, 23:19:28 (4 years ago)
Author:
Henrik Bettermann
Message:

Enable hostel and bed selectors.

File:
1 edited

Legend:

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

    r15993 r16366  
    4040    NigeriaExportPDFCourseRegistrationSlip,
    4141    NigeriaBedTicketAddPage,
     42    NigeriaAccommodationManageFormPage,
     43    NigeriaAccommodationDisplayFormPage,
    4244    )
    4345
     
    190192    notice = ''
    191193    with_ac = False
     194    with_bedselection = True
    192195
    193196class CustomStudyLevelDisplayFormPage(StudyLevelDisplayFormPage):
     
    277280    def manage_payments_allowed(self):
    278281        return checkPermission('waeup.manageStudent', self.context)
     282
     283class CustomAccommodationDisplayFormPage(NigeriaAccommodationDisplayFormPage):
     284    """ Page to view bed tickets.
     285    """
     286    with_hostel_selection = True
     287
     288class CustomAccommodationManageFormPage(NigeriaAccommodationManageFormPage):
     289    """ Page to manage bed tickets.
     290    This manage form page is for both students and students officers.
     291    """
     292    with_hostel_selection = True
Note: See TracChangeset for help on using the changeset viewer.