Ignore:
Timestamp:
5 Mar 2011, 12:34:09 (14 years ago)
Author:
Henrik Bettermann
Message:

Implementation of a Late Registration Fee (FUTMinna only). This was more work and customization than expected. We urgently need a new consistent payment module.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_accommodation/getAccommodationRecords.py

    r5621 r5795  
    5656    row['reservation_status'] = ar.reservation_status
    5757    row['paid'] = ar.reservation_status == 'maintenance_fee_paid'
    58     row['current_unpaid'] = not row['paid'] and ar.session == portal_session
     58    row['current_unpaid'] = not row['paid'] and ar.session == portal_session and \
     59                                                student_record.review_state in ('cleared_and_validated',
     60                                                                                'school_fee_paid',
     61                                                                                'courses_registered',
     62                                                                                'courses_validated',)
    5963    row['url'] = student_path
    6064    row['cancellation_allowed'] = info['is_so'] and ar.session == portal_session
Note: See TracChangeset for help on using the changeset viewer.