- Timestamp:
- 31 May 2016, 17:57:03 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/batching.py
r13024 r13871 45 45 IStudentStudyLevel, ICourseTicketImport, 46 46 IStudentOnlinePayment, IStudentVerdictUpdate) 47 from waeup.kofa.payments.interfaces import IPayer 47 48 from waeup.kofa.students.workflow import ( 48 49 IMPORTABLE_STATES, IMPORTABLE_TRANSITIONS, … … 735 736 736 737 class StudentOnlinePaymentProcessor(StudentProcessorBase): 737 """The Course Ticket Processor imports student payment tickets. The738 tickets are located in the ``payments`` subfolder of the student738 """The Student Online Payment Processor imports student payment tickets. 739 The tickets are located in the ``payments`` subfolder of the student 739 740 container. The only additional locator is `p_id`, the object id. 740 741 … … 759 760 760 761 additional_fields = ['p_id'] 762 763 @property 764 def available_fields(self): 765 af = super( 766 StudentOnlinePaymentProcessor, self).available_fields 767 af.remove('display_item') 768 return af 761 769 762 770 def checkHeaders(self, headerfields, mode='ignore'): … … 875 883 results = list(cat.searchResults(p_id=(p_id, p_id))) 876 884 if len(results) > 0: 877 sids = [ payment.student.student_id for payment in results]885 sids = [IPayer(payment).id for payment in results] 878 886 sids_string = '' 879 887 for id in sids:
Note: See TracChangeset for help on using the changeset viewer.