Ignore:
Timestamp:
29 Oct 2014, 09:31:42 (10 years ago)
Author:
uli
Message:

Add docs and use student name in certification.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kwarapoly/branches/uli-crs-reg-slip/src/waeup/kwarapoly/students/browser.py

    r11899 r11900  
    278278
    279279    def _signatures(self):
     280        """Signatures as inserted at document bottom.
     281
     282        As Kwarapoly requires a fancy 'certificate' there, the pre-
     283        and post-fields of signatures are quite large and unusual
     284        here.
     285
     286        This is also a workaround, as we cannot easily insert text
     287        with signature fields in documents using reportlab platypus.
     288
     289        The signature boxes we return here contain context infos
     290        (therefore this has to be a method) and return the following
     291        layout:
     292
     293            +-----------------------------------------+
     294            | (Empty pre text)                        |
     295            +-------------+---------------------------+
     296            |Date         | Students Signature        |
     297            +-------------+---------------------------+
     298            | (Empty post text)                       |
     299            +=========================================+
     300            |            Certification                |
     301            +-------------+---------------------------+
     302            |Date         | Director Signature, etc.  |
     303            +-------------+---------------------------+
     304            |NOTE: This form is the ...               |
     305            +-----------------------------------------+
     306
     307
     308        """
    280309        return (
    281310            [
     
    287316                    "<u><b><font size='14'>Certification</font></b></u><br/>"
    288317                    "<br/><b><i>"
    289                     "This is to certify that ..............................."
    290                     "............................................... "
    291                     "has paid the full School Fees, duly registered and "
     318                    "This is to certify that "
     319                    "<font size='13'>"
     320                    + self.context.student.display_fullname +
     321                    "</font>"
     322                    " has paid the full School Fees, duly registered and "
    292323                    "therfore, is cleared to sit for examination in the "
    293324                    "courses listed above."
Note: See TracChangeset for help on using the changeset viewer.