Changeset 16144 for main/waeup.uniben/trunk/src/waeup/uniben
- Timestamp:
- 5 Jul 2020, 21:01:00 (4 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben/applicants
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser.py
r16131 r16144 134 134 'date_of_birth', 135 135 'sex', 136 'place_of_birth',137 136 'nationality', 138 137 'entry_mode', -
main/waeup.uniben/trunk/src/waeup/uniben/applicants/interfaces.py
r16131 r16144 80 80 81 81 DESTINATION_COST = { 82 'none': ('To the moon', 1000000000.0, 1),83 #'nigeria': ('Nigeria', 2000.0, 1),84 #'africa': ('Africa ', 3000.0, 2),85 #'eurasia': ('Europe/Asia ', 3000.0, 3),82 #'none': ('To the moon', 1000000000.0, 1), 83 'nigeria': ('Within Nigeria', 20000.0, 1), 84 'africa': ('Within Africa ', 30000.0, 2), 85 'inter': ('International', 35000.0, 3), 86 86 } 87 87 … … 275 275 ) 276 276 277 place_of_birth = schema.TextLine(278 title = _(u'Place of Birth'),279 readonly = False,280 required = False,281 )282 283 277 nationality = schema.Choice( 284 278 vocabulary = nats_vocab, -
main/waeup.uniben/trunk/src/waeup/uniben/applicants/utils.py
r16131 r16144 123 123 for cat in applicant.registration_cats: 124 124 payment.amount_auth += REGISTRATION_CATS[cat][1] 125 return 125 126 elif applicant.container_code.startswith('trans'): 126 127 cost = DESTINATION_COST[applicant.charge][1] 127 128 payment.amount_auth = applicant.no_copies * cost 128 129 payment.p_category = 'transcript' 130 return 129 131 else: 130 132 payment.p_category = 'application'
Note: See TracChangeset for help on using the changeset viewer.