Ignore:
Timestamp:
5 May 2023, 06:06:34 (20 months ago)
Author:
Henrik Bettermann
Message:

New dates.

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  
    2020
    2121ADML_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.
     22University opens for fresh students on Saturday, 23rd September, 2023. All newly admitted students are expected to resume on that date.
    2323
    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.
     24Registration/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.
    2525"""
    2626
    2727ADML_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.
     28Resumption Date: The university opens for fresh students on Saturday, 23rd September, 2023. All newly admitted students are expected to resume on that date.
    2929
    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.
     30Registration/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.
    3131"""
    3232
    3333ADML_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.
     34Resumption Date: The University opens for fresh students on Saturday, 23rd September, 2023. All newly admitted students are expected to resume on that date.
    3535
    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.
     36Registration/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.
    3737"""
    3838
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/tests/test_browser.py

    r16603 r17404  
    221221        open(path, 'wb').write(self.browser.contents)
    222222        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
    223244        self.certificate.study_mode = 'pg_ft'
    224245        self.browser.open(self.student_path)
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/viewlets.py

    r17136 r17404  
    3333from waeup.kofa.students.viewlets import (
    3434    AddPreviousPaymentActionButton, AddBalancePaymentActionButton,
    35     StudentPersonalEditActionButton)
     35    StudentPersonalEditActionButton, AdmissionSlipActionButton)
    3636
    3737from kofacustom.nigeria.interfaces import MessageFactory as _
     
    9393        #if not self.context.is_fresh:
    9494        #    return ''
     95        return self.view.url(self.view.context, self.target)
     96
     97class AdmissionSlipActionButton(AdmissionSlipActionButton):
     98
     99    @property
     100    def target_url(self):
     101        if not self.context.is_fresh:
     102            return ''
    95103        return self.view.url(self.view.context, self.target)
    96104
Note: See TracChangeset for help on using the changeset viewer.