Ignore:
Timestamp:
24 Oct 2012, 06:37:08 (12 years ago)
Author:
Henrik Bettermann
Message:

Students book accommodation without AC. Bed is randomly selected.

File:
1 edited

Legend:

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

    r8912 r9403  
    1919from zope.i18n import translate
    2020from waeup.kofa.widgets.datewidget import FriendlyDatetimeDisplayWidget
     21from waeup.kofa.students.browser import BedTicketAddPage
    2122from kofacustom.nigeria.students.browser import (
    2223    NigeriaOnlinePaymentDisplayFormPage,
    2324    NigeriaOnlinePaymentAddFormPage,
    2425    NigeriaExportPDFPaymentSlipPage)
     26from waeup.kofa.interfaces import MessageFactory as _
    2527
    2628from waeup.futminna.students.interfaces import ICustomStudentOnlinePayment
     
    4951    form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    5052    form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
     53
     54class CustomBedTicketAddPage(BedTicketAddPage):
     55    """ Page to add an online payment ticket
     56    """
     57    grok.template('bookbed')
     58    buttonname = _('Create bed ticket')
     59    notice = ''
     60    with_ac = False
Note: See TracChangeset for help on using the changeset viewer.