Ignore:
Timestamp:
30 Nov 2022, 15:36:15 (2 years ago)
Author:
Henrik Bettermann
Message:

Hard-code hostel maintenance fee.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py

    r17183 r17185  
    116116                p_session = booking_session
    117117                p_item = bedticket.bed_coordinates
    118                 if bedticket.bed.__parent__.maint_fee > 0:
    119                     amount = bedticket.bed.__parent__.maint_fee
     118                #if bedticket.bed.__parent__.maint_fee > 0:
     119                #    amount = bedticket.bed.__parent__.maint_fee
     120                if booking_session < 2022:
     121                    amount = 6100.0
     122                else:
     123                    amount = 10090.0
    120124            else:
    121125                return _(u'No bed space allocated.'), None
Note: See TracChangeset for help on using the changeset viewer.