Ignore:
Timestamp:
18 Sep 2012, 21:07:02 (12 years ago)
Author:
Henrik Bettermann
Message:

Add hostels and beds exporter (tests will follow).

File:
1 edited

Legend:

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

    r9191 r9199  
    15241524        bedticket.bed = bed
    15251525        hall_title = bed.__parent__.hostel_name
    1526         coordinates = bed.getBedCoordinates()[1:]
     1526        coordinates = bed.coordinates[1:]
    15271527        block, room_nr, bed_nr = coordinates
    15281528        bc = _('${a}, Block ${b}, Room ${c}, Bed ${d} (${e})', mapping = {
     
    16401640        self.context.bed = new_bed
    16411641        hall_title = new_bed.__parent__.hostel_name
    1642         coordinates = new_bed.getBedCoordinates()[1:]
     1642        coordinates = new_bed.coordinates[1:]
    16431643        block, room_nr, bed_nr = coordinates
    16441644        bc = _('${a}, Block ${b}, Room ${c}, Bed ${d} (${e})', mapping = {
Note: See TracChangeset for help on using the changeset viewer.