Changeset 17033 for main/kofacustom.iuokada
- Timestamp:
- 26 Jul 2022, 08:58:05 (2 years ago)
- Location:
- main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/admission_letter_ug.py
r17032 r17033 1 ADML_UG = """1 ADML_UG_1 = """ 2 2 Please note that at the point of registration for your programme of study (course), you will be required to present the following documents: Current UTME result slip, WAEC/NECO (0' Level) result, Birth certificate or sworn affidavit of age, and health certificate from a recognized Medical Centre. 3 3 … … 17 17 18 18 Food: Food is available in cafeteria on "pay-as-you-eat" basis. 19 """ 19 20 20 Resumption Date: The University opens for fresh students on Saturday, 9th October, 2021. All newly admitted students are expected to resume on that date. 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. 21 23 22 Registration/Orientation Programme: Orientation programme/registration for fresh students will start on Monday, 11th October, 2021 - Friday, 15th October, 2021. 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, 26th 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. 25 """ 23 26 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. 29 30 Registration/Orientation Programme: Orientation programme/registration for fresh students will start on Monday, 26th 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. 31 """ 32 33 ADML_UG_2 = """ 34 Resumption Date: The University opens for fresh students on Saturday, 24th September, 2022. All newly admitted students are expected to resume on that date. 35 36 Registration/Orientation Programme: Orientation programme/registration for fresh students will start on Monday, 26th 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. 37 """ 38 39 ADML_UG_3 = """ 24 40 Transport Facility: The University provides a compulsory shuttle bus service to all students at a fee already included in the other charges. 25 41 -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/browser.py
r17032 r17033 409 409 grok.require('waeup.payStudent') 410 410 411 from kofacustom.iuokada.students.admission_letter_ug import ( 412 ADML_UG_1, ADML_UG_2, ADML_UG_3, ADML_UG_2_MEDICAL, ADML_UG_2_PHARMACY, 413 BASIC_MEDICAL_ONLY, BASIC_PHARMACY_ONLY) 414 from kofacustom.iuokada.students.admission_letter_pg import ADML_PG 415 from kofacustom.iuokada.students.admission_letter_pt import ADML_PT 416 from kofacustom.iuokada.students.admission_letter_jupeb import ADML_JUPEB 417 411 418 class CustomExportPDFAdmissionSlip(ExportPDFAdmissionSlip): 412 419 """Deliver a PDF Admission slip. … … 448 455 ' into the Igbinedion University, Okada was successful. You have' 449 456 ' been admitted as follows:') 450 451 @property452 def basic_medical_only_text(self):453 from kofacustom.iuokada.students.admission_letter_ug import BASIC_MEDICAL_ONLY454 return BASIC_MEDICAL_ONLY455 456 @property457 def basic_pharmacy_only_text(self):458 from kofacustom.iuokada.students.admission_letter_ug import BASIC_PHARMACY_ONLY459 return BASIC_PHARMACY_ONLY460 461 @property462 def post_text_ug(self):463 from kofacustom.iuokada.students.admission_letter_ug import ADML_UG464 return ADML_UG465 466 @property467 def post_text_pg(self):468 from kofacustom.iuokada.students.admission_letter_pg import ADML_PG469 return ADML_PG470 471 @property472 def post_text_pt(self):473 from kofacustom.iuokada.students.admission_letter_pt import ADML_PT474 return ADML_PT475 476 @property477 def post_text_jupeb(self):478 from kofacustom.iuokada.students.admission_letter_jupeb import ADML_JUPEB479 return ADML_JUPEB480 457 481 458 def render(self): … … 487 464 return students_utils.renderPDFAdmissionLetter(self, 488 465 self.context.student, omit_fields=self.omit_fields, 489 pre_text=self.pre_text_ug, post_text= self.post_text_jupeb,466 pre_text=self.pre_text_ug, post_text=ADML_JUPEB, 490 467 watermark=watermark) 491 468 if self.context.current_mode.endswith('_pt'): 492 469 return students_utils.renderPDFAdmissionLetter(self, 493 470 self.context.student, omit_fields=self.omit_fields, 494 pre_text=self.pre_text_ug, post_text= self.post_text_pt,471 pre_text=self.pre_text_ug, post_text=ADML_PT, 495 472 watermark=watermark) 496 473 if self.context.is_postgrad: … … 501 478 return students_utils.renderPDFAdmissionLetter(self, 502 479 self.context.student, omit_fields=self.omit_fields, 503 pre_text=self.pre_text_pg, post_text= self.post_text_pg,480 pre_text=self.pre_text_pg, post_text=ADML_PG, 504 481 mergefiles=mergefiles, 505 482 watermark=watermark) … … 509 486 mergefiles = [file,] 510 487 if self.context.certcode in ('BBMS', 'MBBS') and self.context.current_level == 100: 511 post_text = self.basic_medical_only_text + self.post_text_ug488 post_text = BASIC_MEDICAL_ONLY + ADML_UG_1 + ADML_UG_2_MEDICAL + ADML_UG_3 512 489 elif self.context.certcode in ('BPHARM',) and self.context.current_level == 100: 513 post_text = self.basic_pharmacy_only_text + self.post_text_ug490 post_text = BASIC_PHARMACY_ONLY + ADML_UG_1 + ADML_UG_2_MEDICAL + ADML_UG_3 514 491 else: 515 post_text = self.post_text_ug492 post_text = ADML_UG_1 + ADML_UG_2 + ADML_UG_3 516 493 return students_utils.renderPDFAdmissionLetter(self, 517 494 self.context.student, omit_fields=self.omit_fields,
Note: See TracChangeset for help on using the changeset viewer.