Ignore:
Timestamp:
15 Sep 2012, 20:34:18 (12 years ago)
Author:
Henrik Bettermann
Message:

pin does not exist if self.with_ac is False.

File:
1 edited

Legend:

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

    r9188 r9189  
    14961496        # Create bed ticket
    14971497        bedticket = createObject(u'waeup.BedTicket')
    1498         bedticket.booking_code = pin
     1498        if self.with_ac:
     1499            bedticket.booking_code = pin
    14991500        bedticket.booking_session = acc_details['booking_session']
    15001501        bedticket.bed_type = acc_details['bt']
Note: See TracChangeset for help on using the changeset viewer.