Changeset 13406 for main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
- Timestamp:
- 7 Nov 2015, 12:05:48 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
r13405 r13406 24 24 from waeup.kofa.accesscodes import create_accesscode 25 25 from waeup.kofa.students.utils import trans 26 from waeup.aaue.interswitch.browser import dynamic_gateway_amt 26 27 from waeup.aaue.interfaces import MessageFactory as _ 27 28 … … 148 149 # Otherwise we can't add somtehing 149 150 amount = 0.0 150 amount += academic_session.matric_gown_fee + academic_session.lapel_fee 151 amount += academic_session.matric_gown_fee + \ 152 academic_session.lapel_fee - \ 153 2*(dynamic_gateway_amt(amount)) 151 154 elif category == 'late_registration': 152 155 amount = academic_session.late_registration_fee … … 183 186 # Otherwise we can't add somtehing 184 187 amount = 0.0 185 amount += academic_session.welfare_fee + academic_session.union_fee 188 amount += academic_session.welfare_fee + \ 189 academic_session.union_fee - \ 190 2*(dynamic_gateway_amt(amount)) 186 191 if amount in (0.0, None): 187 192 return _(u'Amount could not be determined.'), None
Note: See TracChangeset for help on using the changeset viewer.