Changeset 16486


Ignore:
Timestamp:
20 May 2021, 05:52:54 (4 years ago)
Author:
Henrik Bettermann
Message:

Extend admission slip.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/browser.py

    r16410 r16486  
    401401
    402402    @property
     403    def basic_medical_only_text(self):
     404        return"""
     405Progression to 200 Level MBBS programmes is highly competitive and strictly based on merit/approved quota. Students who are unable to make the cut off point will have the option of joining allied courses such as BSc Nursing, BSc Anatomy, BSc Biochemistry, BSc Physiology, Bachelor of Medical Laboratory Science, including Computer Science and engineering courses at 200 Level provided they have the relevant O/L credits.
     406"""
     407
     408    @property
    403409    def post_text_ug(self):
    404410        return """
     
    521527        file = open(file_path, 'rb')
    522528        mergefiles = [file,]
     529        if self.context.certcode == 'BBMS' and self.context.current_level == 100:
     530            post_text = self.basic_medical_only_text + self.post_text_ug
     531        else:
     532            post_text = self.post_text_ug
    523533        return students_utils.renderPDFAdmissionLetter(self,
    524534            self.context.student, omit_fields=self.omit_fields,
    525             pre_text=self.pre_text_ug, post_text=self.post_text_ug,
     535            pre_text=self.pre_text_ug, post_text=post_text,
    526536            mergefiles=mergefiles,
    527537            watermark=watermark)
Note: See TracChangeset for help on using the changeset viewer.