- Timestamp:
- 26 Jun 2020, 07:11:51 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/utils.py
r16078 r16131 24 24 from waeup.kofa.applicants.workflow import (INITIALIZED, 25 25 STARTED, PAID, ADMITTED, NOT_ADMITTED, SUBMITTED, CREATED) 26 from waeup.uniben.applicants.interfaces import REGISTRATION_CATS 26 from waeup.uniben.applicants.interfaces import REGISTRATION_CATS, DESTINATION_COST 27 27 from waeup.uniben.interfaces import MessageFactory as _ 28 28 … … 60 60 '(2nd supplementary advert)', 'ASE'], 61 61 'spft': ['Special Full-Time Programmes', 'SP'], 62 'trans': ['Transcript Application', 'TR'], 62 'transfull': ['Transcript Application (without student record)', 'TRF'], 63 'transshort': ['Transcript Application (with student record)', 'TRS'], 63 64 } 64 65 … … 122 123 for cat in applicant.registration_cats: 123 124 payment.amount_auth += REGISTRATION_CATS[cat][1] 125 elif applicant.container_code.startswith('trans'): 126 cost = DESTINATION_COST[applicant.charge][1] 127 payment.amount_auth = applicant.no_copies * cost 128 payment.p_category = 'transcript' 124 129 else: 125 130 payment.p_category = 'application'
Note: See TracChangeset for help on using the changeset viewer.