[Koha-patches] [PATCH 3/4] bug 4188: move PDF templates for printed purchase orders

Paul Poulain paul.poulain at biblibre.com
Fri Jul 2 15:24:29 CEST 2010


Le 02/07/2010 14:48, Galen Charlton a écrit :
> The PDF templates for purchase orders now live in the
> directory koha-tmpl/intranet-tmpl/prog/pdf to separate
> them from code.  As no automatic translation system for
> PDF files is currently implemented, I'm keeping them out
> of the language subdirectories for now.
>
> At present, there are two choices of templates for printing
> purchase orders (AKA basket groups), controlled by setting
> the OrderPdfFormat syspref:
>
> pdfformat::layout2pages (two-page layout)
> pdfformat::layout3pages (three-page layout)
>
> To customize a template or to add a new one requires two steps:
>
> * modifying the PDF; note that OpenOffice source files
>   are included as a way of generating the PDF
> * modifying the code in acqui/pdfformat/layout*.pm to
>   position the order text onto the template
>   
in git.biblibre.com version, the syspref now let you upload the layout
(.pdf)

May be tricky to add it now (as there's also a change in syspref
system), but I think it's the way to go : the layout is language & koha
independant, it's provided by the library (the .odt being still in koha
repo to have an example)

HTH

-- 
Paul POULAIN
http://www.biblibre.com
Expert en Logiciels Libres pour l'info-doc
Tel : (33) 4 91 81 35 08



More information about the Koha-patches mailing list