Changeset 17404
- Timestamp:
- 5 May 2023, 06:06:34 (20 months ago)
- Location:
- main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/admission_letter_ug.py
r17033 r17404 20 20 21 21 ADML_UG_2_MEDICAL = """ 22 niversity opens for fresh students on Saturday, 24th September, 2022. All newly admitted students are expected to resume on that date.22 University opens for fresh students on Saturday, 23rd September, 2023. All newly admitted students are expected to resume on that date. 23 23 24 Registration/Orientation Programme: Orientation programme/registration for fresh students will start on Monday, 2 6th September, 2022 - Friday, 30th September, 2022. A late registration fee of N50,000 will be charged after this date. All credentials, O'Level Results, Birth Certificate/Age Declaration, UTME Result Slip (Original) will be checked during registration. This admission will be cancelled at any point in time it is found that any of your claims in the application form is false.24 Registration/Orientation Programme: Orientation programme/registration for fresh students will start on Monday, 25th September, 2023 - Friday, 29th September, 2023. A late registration fee of N50,000 will be charged after this date. All credentials, O'Level Results, Birth Certificate/Age Declaration, UTME Result Slip (Original) will be checked during registration. This admission will be cancelled at any point in time it is found that any of your claims in the application form is false. 25 25 """ 26 26 27 27 ADML_UG_2_PHARMACY = """ 28 Resumption Date: The University opens for fresh students on Saturday, 24th September, 2022. All newly admitted students are expected to resume on that date.28 Resumption Date: The university opens for fresh students on Saturday, 23rd September, 2023. All newly admitted students are expected to resume on that date. 29 29 30 Registration/Orientation Programme: Orientation programme/registration for fresh students will start on Monday, 2 6th September, 2022 - Friday, 30th September, 2022. A late registration fee of N50,000 will be charged after this date. All credentials, O'Level Results, Birth Certificate/Age Declaration, UTME Result Slip (Original) will be checked during registration. This admission will be cancelled at any point in time it is found that any of your claims in the application form is false.30 Registration/Orientation Programme: Orientation programme/registration for fresh students will start on Monday, 25th September, 2023 - Friday, 29th September, 2023. A late registration fee of N50,000 will be charged after this date. All credentials, O'Level Results, Birth Certificate/Age Declaration, UTME Result Slip (Original) will be checked during registration. This admission will be cancelled at any point in time it is found that any of your claims in the application form is false. 31 31 """ 32 32 33 33 ADML_UG_2 = """ 34 Resumption Date: The University opens for fresh students on Saturday, 2 4th September, 2022. All newly admitted students are expected to resume on that date.34 Resumption Date: The University opens for fresh students on Saturday, 23rd September, 2023. All newly admitted students are expected to resume on that date. 35 35 36 Registration/Orientation Programme: Orientation programme/registration for fresh students will start on Monday, 2 6th September, 2022 - Friday, 30th September,2022.A late registration fee of N50,000 will be charged after this date. All credentials, O'Level Results, Birth Certificate/Age Declaration, UTME Result Slip (Original) will be checked during registration. This admission will be cancelled at any point in time it is found that any of your claims in the application form is false.36 Registration/Orientation Programme: Orientation programme/registration for fresh students will start on Monday, 25th September, 2023 - Friday, 29th September, 2023. 2022.A late registration fee of N50,000 will be charged after this date. All credentials, O'Level Results, Birth Certificate/Age Declaration, UTME Result Slip (Original) will be checked during registration. This admission will be cancelled at any point in time it is found that any of your claims in the application form is false. 37 37 """ 38 38 -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/tests/test_browser.py
r16603 r17404 221 221 open(path, 'wb').write(self.browser.contents) 222 222 print "Sample PDF UG admission_slip.pdf written to %s" % path 223 224 self.certificate.code = 'MBBS' 225 self.browser.open(self.student_path) 226 self.browser.getLink("Base Data").click() 227 self.browser.getLink("Download admission letter").click() 228 self.assertEqual(self.browser.headers['Status'], '200 Ok') 229 self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf') 230 path = os.path.join(samples_dir(), 'mbbs_admission_slip.pdf') 231 open(path, 'wb').write(self.browser.contents) 232 print "Sample PDF mbbs_admission_slip.pdf written to %s" % path 233 234 self.certificate.code = 'LAW' 235 self.browser.open(self.student_path) 236 self.browser.getLink("Base Data").click() 237 self.browser.getLink("Download admission letter").click() 238 self.assertEqual(self.browser.headers['Status'], '200 Ok') 239 self.assertEqual(self.browser.headers['Content-Type'], 'application/pdf') 240 path = os.path.join(samples_dir(), 'law_admission_slip.pdf') 241 open(path, 'wb').write(self.browser.contents) 242 print "Sample PDF law_admission_slip.pdf written to %s" % path 243 223 244 self.certificate.study_mode = 'pg_ft' 224 245 self.browser.open(self.student_path) -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/viewlets.py
r17136 r17404 33 33 from waeup.kofa.students.viewlets import ( 34 34 AddPreviousPaymentActionButton, AddBalancePaymentActionButton, 35 StudentPersonalEditActionButton )35 StudentPersonalEditActionButton, AdmissionSlipActionButton) 36 36 37 37 from kofacustom.nigeria.interfaces import MessageFactory as _ … … 93 93 #if not self.context.is_fresh: 94 94 # return '' 95 return self.view.url(self.view.context, self.target) 96 97 class AdmissionSlipActionButton(AdmissionSlipActionButton): 98 99 @property 100 def target_url(self): 101 if not self.context.is_fresh: 102 return '' 95 103 return self.view.url(self.view.context, self.target) 96 104
Note: See TracChangeset for help on using the changeset viewer.