Bug 12110: Display the order vendor note in basket and basketgroup CSV and PDF
authorMathieu Saby <mathsabypro@gmail.com>
Sat, 19 Apr 2014 18:21:59 +0000 (20:21 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Sun, 25 May 2014 15:21:22 +0000 (15:21 +0000)
commit2dab2cc22334ee49b7eb2e67252ca484e63cb6cb
tree5fa31108485fbd81b867e2a1e3c83875d391f044
parent27f1df06700d19d006218812c168fc9079e3706d
Bug 12110: Display the order vendor note in basket and basketgroup CSV and PDF

This bug adds the "vendor note" for each order in the PDF for
basketgroups.  The note is displayed only if it exists, just under the
bibliographic information.

I added a separation line "--------" between bibliographic information
and the note, so that it could be visible at 1st glance.

It also replaces the internal note with the vendor in the CSV for basket
and basketgroup.  It is more logical and useful for libraries to export
the note made for vendor, as those files are destined to be sent to the
vendor.

Test plan :
- fill a basket with some orders, some with internal notes, some with
  vendor notes
- export the basket in CSV : only the vendor notes should be present
- put the basket in a basketgroup
- export the basketgroup in CSV : only the vendor notes should be
  present
- Select "English-2 pages" template for basketgroups in Sysprefs
- export the basket in PDF : the vendor notes should be present under
  the bibliographic information
- Select "English-3 pages" template for basketgroups in Sysprefs
- export the basket in PDF : the vendor notes should be present under
  the bibliographic information

Signed-off-by: Paola Rossi <paola.rossi@cineca.it>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Acquisition.pm
acqui/basketgroup.pl
acqui/pdfformat/layout2pages.pm
acqui/pdfformat/layout3pages.pm
koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/acqui/basket.tt
koha-tmpl/intranet-tmpl/prog/en/includes/csv_headers/acqui/basketgroup.tt