| 1 | [wiki:Haiti] |
| 2 | ---- |
| 3 | == Haiti PDF == |
| 4 | |
| 5 | flavour coordinating |
| 6 | |
| 7 | * Fix the base PDF generation in {{{models/01_RESTlike_controller.py}}}'s {{{export_pdf()}}} as they currently look awful (& hence aren't exposed to users by hiding it in {{{views/formats.html}}})! |
| 8 | * /module/resource.pdf |
| 9 | * Provide a Filter option exposed to users so they can print just the Contacts for a particular Organisation |
| 10 | * Ideally a generic routine, but then a [wiki:RESTController#Options custom one can be added] via {{{response.s3.pdf}}} variable being set in the Controller before invoking the {{{shn_rest_controller()}}} to make it really pretty |
| 11 | |
| 12 | See: |
| 13 | * https://bugs.launchpad.net/sahana/+bug/508654 |
| 14 | * "generate a contact list for specific orgs as a PDF" |
| 15 | * BluePrintReporting |
| 16 | * We currently use Geraldo for PDF creation, but it's not well-maintained & has issues, so we should either switch to Pisa or dropdown to raw ReportLab (with our own custom classes on top). |
| 17 | * We do this already for the OCR PDF generation. |
| 18 | |
| 19 | |
| 20 | ---- |
| 21 | [wiki:Haiti] |