[Koha-bugs] [Bug 10135] Adding the ability to define customised basketgroups pdf layouts

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Apr 27 19:38:09 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10135

--- Comment #2 from mathieu saby <mathieu.saby at univ-rennes2.fr> ---
Created attachment 17756
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17756&action=edit
[PATCH] Bug 10135 : Add the ability to define customised basketgroups pdf
layouts

This patch create a sub in Koha.pm which get the list of .pm files in
acqui/pdfformat.
The list is used to build an option list for OrderPdfFormat syspref, instead of
a free input.
In a standard Koha, only the design of OrderPdfFormat should be altered.
If you put a new .pm file in acqui/pdfformat (and if needed a new pdf file in
koha-tmpl/intranet/prog/pdf), you will see the name of the file as a new option
in OrderPdfFormat.

To test :
A. in a standard Koha, check everything is working like before:
- 1. you have 2 options in OrderPdfFormat (pdfformat::layout2pages ;
pdfformat::layout3pages)
- 2. select one layout, and try to print a basketgroup
- 3. select the 2d layout, and try to print a basketgroup

B. check you can add a new layout
- 1. Either create your own layout if you know how to do
     Or dowload and apply the 2d attachment to this bug. It contains an example
: a layout named "pdfformat::msaby"
- 2. Check the new layout is visible in OrderPdfFormat
- 3. Select it, and try to print a basketgroup
- 4. Select one of the "old" layouts, and try to print a basketgroup.


M. Saby

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list