Ignore:
Timestamp:
7 May 2014, 05:44:03 (11 years ago)
Author:
Henrik Bettermann
Message:

Render note on payment slips which indicates charges included.

File:
1 edited

Legend:

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

    r11609 r11625  
    6969    form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    7070    form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
     71
     72    @property
     73    def note(self):
     74        text = ''
     75        if self.context.p_category == 'schoolfee' and self.context.p_level == 100:
     76            text += '\n\n Amounts include Naira 250 eTranzact transaction '
     77            text += 'charge and Naira 2000 cost of matriculation gown.'
     78        elif self.context.p_category in ('clearance', 'schoolfee'):
     79            text += '\n\n Amounts include Naira 250 eTranzact transaction charge.'
     80        return text
    7181
    7282class CustomStudyLevelDisplayFormPage(StudyLevelDisplayFormPage):
Note: See TracChangeset for help on using the changeset viewer.