Ignore:
Timestamp:
26 Oct 2012, 07:55:45 (12 years ago)
Author:
Henrik Bettermann
Message:

Use addBedticket properly.

Implement maintenance fee payment in base package and ensure that maintenance (rent) can only be paid if bed has been booked in current session.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/hostels/tests.py

    r9416 r9423  
    291291        # Release bed which has previously been booked
    292292        bedticket = BedTicket()
    293         bedticket.ticket_id = u'2004'
     293        bedticket.booking_session = 2004
    294294        bedticket.bed_coordinates = u'anything'
    295295        self.student['accommodation'].addBedTicket(bedticket)
Note: See TracChangeset for help on using the changeset viewer.