Changeset 13736 for main/waeup.kofa/trunk
- Timestamp:
- 26 Feb 2016, 08:18:15 (9 years ago)
- Location:
- main/waeup.kofa/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/CHANGES.txt
r13711 r13736 4 4 1.4.2.dev0 (unreleased) 5 5 ======================= 6 7 * Show certificate-specific p_level value on payment pages. 8 Ensure that only allowed payment levels can be selected when 9 adding a balance payment. 6 10 7 11 * Add `flash_notice` field. -
main/waeup.kofa/trunk/src/waeup/kofa/students/export.py
r13641 r13736 362 362 sorted(iface_names( 363 363 IStudentOnlinePayment, exclude_attribs=False, 364 omit=['display_item' ]))) + (364 omit=['display_item', 'certificate']))) + ( 365 365 'student_id','state','current_session') 366 366 title = _(u'Student Payments') … … 410 410 sorted(iface_names( 411 411 IStudentOnlinePayment, exclude_attribs=False, 412 omit=['display_item' ]))) + (412 omit=['display_item', 'certificate']))) + ( 413 413 'student_id','matric_number','reg_number', 414 414 'firstname', 'middlename', 'lastname', -
main/waeup.kofa/trunk/src/waeup/kofa/students/interfaces.py
r13733 r13736 145 145 """ 146 146 147 unique_student_id = Attribute( """A unique student id.""")147 unique_student_id = Attribute('A unique student id') 148 148 149 149 class IStudentNavigation(IStudentNavigationBase): … … 766 766 """ 767 767 768 certificate = Attribute('Certificate to determine the correct p_level value') 769 768 770 class IStudentOnlinePayment(IOnlinePayment): 769 771 """A student payment via payment gateways. 770 772 """ 773 774 certificate = Attribute('Certificate to determine the correct p_level value') 771 775 772 776 p_current = schema.Bool( -
main/waeup.kofa/trunk/src/waeup/kofa/students/payments.py
r13398 r13736 47 47 return self.__parent__ 48 48 49 @property 50 def certificate(self): 51 try: 52 return self.student['studycourse'].certificate 53 except TypeError: 54 return None 55 49 56 def writeLogMessage(self, view, message): 50 57 return self.__parent__.writeLogMessage(view, message) … … 67 74 return self.__parent__.__parent__ 68 75 except AttributeError: 76 return None 77 78 @property 79 def certificate(self): 80 try: 81 return self.student['studycourse'].certificate 82 except TypeError: 69 83 return None 70 84
Note: See TracChangeset for help on using the changeset viewer.