Changeset 15944 for main/waeup.kofa
- Timestamp:
- 23 Jan 2020, 12:27:12 (5 years ago)
- Location:
- main/waeup.kofa/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/CHANGES.txt
r15943 r15944 4 4 1.6.1.dev0 (unreleased) 5 5 ======================= 6 7 * Add logging message to `releaseBedIfMaintenanceNotPaid`. 6 8 7 9 * Provide components for file uploads in the applicants section. -
main/waeup.kofa/trunk/src/waeup/kofa/hostels/hostel.py
r15779 r15944 251 251 252 252 def releaseBedIfMaintenanceNotPaid(self, n=7): 253 """Release bed if maintenance fee has not been paid on time. 254 Reserve bed so that it cannot be automatically booked by someone else. 253 """Release bed if maintenance fee has not been paid on time or 254 if bed ticket does not exist. Reserve bed so that it cannot be 255 automatically booked by someone else. 255 256 """ 256 257 if self.owner == NOT_OCCUPIED: … … 262 263 'accommodation'][str(accommodation_session)] 263 264 except KeyError: 265 old_owner = self.owner 264 266 self.owner = NOT_OCCUPIED 265 267 sh, sex, bt = self.bed_type.split('_') … … 267 269 self.bed_type = bt 268 270 notify(grok.ObjectModifiedEvent(self)) 269 return 271 ##: Add logging message 272 return "%s wob" % old_owner # owner without bed ticket 270 273 if bedticket.maint_payment_made: 271 274 return
Note: See TracChangeset for help on using the changeset viewer.