Ignore:
Timestamp:
7 Nov 2015, 07:20:25 (9 years ago)
Author:
Henrik Bettermann
Message:

List all charges on pdf payment slip.

File:
1 edited

Legend:

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

    r13400 r13405  
    187187            return _(u'Amount could not be determined.'), None
    188188        # Add session specific penalty fee.
    189         if category == 'schoolfee' and student.is_postgrad:
     189        if category.startswith('schoolfee') and student.is_postgrad:
    190190            amount += academic_session.penalty_pg
    191         elif category == 'schoolfee':
     191        elif category.startswith('schoolfee'):
    192192            amount += academic_session.penalty_ug
    193193        # Create ticket.
Note: See TracChangeset for help on using the changeset viewer.