1 | | [wiki:Haiti] |
2 | | == Haiti PDF == |
3 | | |
4 | | flavour coordinating |
5 | | |
6 | | * 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}}})! |
7 | | * /module/resource.pdf |
8 | | * Provide a Filter option exposed to users so they can print just the Contacts for a particular Organisation |
9 | | * Ideally a generic routine, but then a [wiki:RESTController#Options custom one can be added] via {{{response.s3.formats.pdf}}} variable being set in the Controller before invoking the {{{shn_rest_controller()}}} to make it really pretty |
10 | | |
11 | | See: |
12 | | * https://bugs.launchpad.net/sahana/+bug/508654 |
13 | | * "generate a contact list for specific orgs as a PDF" |
14 | | * [wiki:BluePrint/Reporting Data Analysis, Visualisation and Reporting] |
15 | | * We currently use Geraldo for PDF creation, but it has issues, so we should consider either switching to Pisa or dropping down to raw ReportLab (with our own custom classes on top). |
16 | | * We do this already for the OCR PDF generation. |
17 | | |
18 | | NB We're currently having [http://pastebin.com/d3ac2aad1 problems] getting Geraldo (0.3.6 & 0.3.9) working on Prod Debian server at all, so test offline on your own instance for now...works fine on my local Win32 |
19 | | |
20 | | ---- |
21 | | [wiki:Haiti] |
| 1 | See: [wiki:BluePrint/PDF] |