Ignore:
Timestamp:
16 Nov 2014, 11:53:02 (10 years ago)
Author:
Henrik Bettermann
Message:

Add browser components for customers. Tests will follow.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/interfaces.py

    r11958 r11967  
    190190        """
    191191
    192     def export_student(student, filepath=None):
     192    def export_customer(customer, filepath=None):
    193193        """Export data for a given customer.
    194194        """
     
    198198        """
    199199
     200class ICustomerRequestPW(ICustomer):
     201    """Representation of an customer for first-time password request.
     202
     203    This interface is used when customers use the requestpw page to
     204    login for the the first time.
     205    """
     206    number = schema.TextLine(
     207        title = _(u'Registration Number'),
     208        required = True,
     209        )
     210
     211    firstname = schema.TextLine(
     212        title = _(u'First Name'),
     213        required = True,
     214        )
     215
     216    email = schema.ASCIILine(
     217        title = _(u'Email Address'),
     218        required = True,
     219        constraint=validate_email,
     220        )
     221
Note: See TracChangeset for help on using the changeset viewer.