- Timestamp:
- 24 Feb 2013, 17:41:41 (12 years ago)
- Location:
- main/waeup.fceokene/trunk/src/waeup/fceokene
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py
r9982 r9989 311 311 return text 312 312 313 def getBedCoordinates(self, bedticket): 314 """Return bed coordinates. 315 316 Bed coordinates are invisible in FCEOkene. 317 """ 318 return _('(see payment slip)') 319 313 320 # FCEOkene prefix 314 321 STUDENT_ID_PREFIX = u'K' -
main/waeup.fceokene/trunk/src/waeup/fceokene/utils/utils.py
r9461 r9989 19 19 """ 20 20 from kofacustom.nigeria.utils.utils import NigeriaKofaUtils 21 from waeup.fceokene.interfaces import MessageFactory as _ 21 22 22 23 class CustomKofaUtils(NigeriaKofaUtils): … … 34 35 'bec': 'Bachelor of Education Certificate Programmes', 35 36 } 37 38 def getPaymentItem(self, payment): 39 """Return payment item. 40 41 Bed coordinates are only visible after payment. 42 """ 43 if 'maintenance' in payment.p_category and payment.p_state != 'paid': 44 return _('(visible after successful payment)') 45 return payment.p_item
Note: See TracChangeset for help on using the changeset viewer.