Changeset 8527 for main/waeup.aaue/trunk/src/waeup/aaue/applicants/utils.py
- Timestamp:
- 26 May 2012, 10:44:49 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/applicants/utils.py
r8444 r8527 19 19 """ 20 20 21 from time import time 21 22 import sys 22 23 import grok … … 35 36 'sandwich': ['Part Time Degree in Education', 'SAND'], 36 37 'pt': ['Part-Time Degree Programmes', 'PTP'], 37 'pu me': ['Post UME Screening Test', 'PUME'],38 'putme': ['Post UTME Screening Test', 'PUTME'], 38 39 'app': ['General Studies', 'APP'], 39 40 'cest': ['Common Entry Screening Test', 'CEST'], … … 56 57 'form.presently_inst': _(u'Presently attending a course or programme'), 57 58 } 59 60 def setPaymentDetails(self, container, payment): 61 """Set the payment data of an applicant. 62 """ 63 timestamp = "%d" % int(time()*1000) 64 payment.p_id = "p%s" % timestamp 65 payment.p_item = container.title 66 payment.p_session = container.year 67 payment.p_category = 'application' 68 # We are using the container specific application fee 69 # instead of the session configuration application fee. 70 payment.amount_auth = container.application_fee 71 return None
Note: See TracChangeset for help on using the changeset viewer.