Changeset 14348 for main/waeup.aaue/trunk/src/waeup/aaue/students
- Timestamp:
- 16 Dec 2016, 09:36:53 (8 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/studylevel.py
r14327 r14348 201 201 not 'gst_registration_3' in paid_cats: 202 202 return False 203 if course.code in ('GST101', 'GST102') and \ 204 not 'gst_text_book_1' in paid_cats: 205 return False 206 if course.code in ('GST111', 'GST112') and \ 207 not 'gst_text_book_2' in paid_cats: 203 if course.code == 'GST101'and \ 204 not 'gst_text_book_1' in paid_cats and \ 205 not 'gst_text_book_5' in paid_cats: 206 return False 207 if course.code == 'GST102'and \ 208 not 'gst_text_book_1' in paid_cats and \ 209 not 'gst_text_book_6' in paid_cats: 210 return False 211 if course.code == 'GST111'and \ 212 not 'gst_text_book_2' in paid_cats and \ 213 not 'gst_text_book_7' in paid_cats: 214 return False 215 if course.code == 'GST112'and \ 216 not 'gst_text_book_2' in paid_cats and \ 217 not 'gst_text_book_8' in paid_cats: 208 218 return False 209 219 if course.code in ('GST222',) and \ -
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py
r14315 r14348 865 865 configuration_1.gst_registration_1_fee = 3333.0 866 866 configuration_1.gst_text_book_1_fee = 4444.0 867 configuration_1.gst_text_book_5_fee = 2222.0 867 868 self.app['configuration'].addSessionConfiguration(configuration_1) 868 869 course = createObject('waeup.Course') … … 907 908 in self.browser.contents) 908 909 self.browser.open(self.payments_path + '/addop') 909 self.browser.getControl(name="form.p_category").value = ['gst_text_book_ 1']910 self.browser.getControl(name="form.p_category").value = ['gst_text_book_5'] 910 911 self.browser.getControl("Create ticket").click() 911 912 self.student['payments'].values()[1].approve()
Note: See TracChangeset for help on using the changeset viewer.