Changeset 11900 for main/waeup.kwarapoly/branches
- Timestamp:
- 29 Oct 2014, 09:31:42 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kwarapoly/branches/uli-crs-reg-slip/src/waeup/kwarapoly/students/browser.py
r11899 r11900 278 278 279 279 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 """ 280 309 return ( 281 310 [ … … 287 316 "<u><b><font size='14'>Certification</font></b></u><br/>" 288 317 "<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 " 292 323 "therfore, is cleared to sit for examination in the " 293 324 "courses listed above."
Note: See TracChangeset for help on using the changeset viewer.