Changeset 6859 for main/waeup.sirp
- Timestamp:
- 4 Oct 2011, 10:07:26 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/students
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/__init__.py
r6636 r6859 7 7 from waeup.sirp.students.container import StudentsContainer 8 8 from waeup.sirp.students.studycourse import StudentStudyCourse 9 from waeup.sirp.students.payments import StudentPayments 9 from waeup.sirp.students.payments import StudentPaymentsContainer 10 10 from waeup.sirp.students.accommodation import StudentAccommodation 11 11 … … 16 16 'StudentsContainer', 17 17 'StudentStudyCourse', 18 'StudentPayments ',18 'StudentPaymentsContainer', 19 19 'StudentAccommodation' 20 20 ] -
main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py
r6820 r6859 33 33 from waeup.sirp.students.interfaces import ( 34 34 IStudentsContainer, IStudent, IStudentClearance, IStudentPasswordSetting, 35 IStudentPersonal, IStudentBase, IStudentStudyCourse, IStudentPayments,35 IStudentPersonal, IStudentBase, IStudentStudyCourse, 36 36 IStudentAccommodation, IStudentClearanceEdit, IStudentStudyLevel, 37 ICourseTicket, ICourseTicketAdd, 37 ICourseTicket, ICourseTicketAdd, IStudentPaymentsContainer 38 38 ) 39 39 from waeup.sirp.students.catalog import search … … 97 97 """A breadcrumb for the student payments folder. 98 98 """ 99 grok.context(IStudentPayments )99 grok.context(IStudentPaymentsContainer) 100 100 title = u'Payments' 101 101 … … 753 753 """ Page to display the student payments 754 754 """ 755 grok.context(IStudentPayments )755 grok.context(IStudentPaymentsContainer) 756 756 grok.name('index') 757 757 grok.require('waeup.viewStudent') 758 form_fields = grok.AutoFields(IStudentPayments )758 form_fields = grok.AutoFields(IStudentPaymentsContainer) 759 759 #grok.template('paymentspage') 760 760 title = 'Payments' -
main/waeup.sirp/trunk/src/waeup/sirp/students/interfaces.py
r6849 r6859 306 306 """ 307 307 308 class IStudentPayments (IWAeUPObject):308 class IStudentPaymentsContainer(IWAeUPObject): 309 309 """A container for student payment objects. 310 310 -
main/waeup.sirp/trunk/src/waeup/sirp/students/student.py
r6841 r6859 28 28 IStudentPersonalEdit) 29 29 from waeup.sirp.students.studycourse import StudentStudyCourse 30 from waeup.sirp.students.payments import StudentPayments 30 from waeup.sirp.students.payments import StudentPaymentsContainer 31 31 from waeup.sirp.students.accommodation import StudentAccommodation 32 32 from waeup.sirp.utils.helpers import attrs_to_fields, get_current_principal … … 103 103 studycourse = StudentStudyCourse() 104 104 student['studycourse'] = studycourse 105 payments = StudentPayments ()105 payments = StudentPaymentsContainer() 106 106 student['payments'] = payments 107 107 accommodation = StudentAccommodation() -
main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_student.py
r6795 r6859 21 21 from waeup.sirp.students.studycourse import StudentStudyCourse 22 22 from waeup.sirp.students.studylevel import StudentStudyLevel, CourseTicket 23 from waeup.sirp.students.payments import StudentPayments 23 from waeup.sirp.students.payments import StudentPaymentsContainer 24 24 from waeup.sirp.students.accommodation import StudentAccommodation 25 25 from waeup.sirp.students.interfaces import ( 26 IStudent, IStudentStudyCourse, IStudentPayments , IStudentAccommodation,26 IStudent, IStudentStudyCourse, IStudentPaymentsContainer, IStudentAccommodation, 27 27 IStudentStudyLevel, ICourseTicket) 28 28 from waeup.sirp.testing import FunctionalLayer, FunctionalTestCase … … 38 38 self.studylevel = StudentStudyLevel() 39 39 self.courseticket = CourseTicket() 40 self.payments = StudentPayments ()40 self.payments = StudentPaymentsContainer() 41 41 self.accommodation = StudentAccommodation() 42 42 return … … 53 53 verify.verifyObject(IStudentStudyLevel, self.studylevel) 54 54 verify.verifyObject(ICourseTicket, self.courseticket) 55 verify.verifyClass(IStudentPayments , StudentPayments)56 verify.verifyObject(IStudentPayments , self.payments)55 verify.verifyClass(IStudentPaymentsContainer, StudentPaymentsContainer) 56 verify.verifyObject(IStudentPaymentsContainer, self.payments) 57 57 verify.verifyClass(IStudentAccommodation, StudentAccommodation) 58 58 verify.verifyObject(IStudentAccommodation, self.accommodation)
Note: See TracChangeset for help on using the changeset viewer.