]> git.koha-community.org Git - koha.git/commit
Bug 12059: Publisher column on invoice page always empty
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Mon, 10 Nov 2014 08:55:52 +0000 (09:55 +0100)
committerMason James <mtj@kohaaloha.com>
Sun, 18 Jan 2015 00:28:25 +0000 (13:28 +1300)
commitf9c17a4ef6d98a49dbdba81cf0f1cea02750ae2a
tree8448a52d9382736dee2da22fc8dc22b22e8e9263
parente52ef1182a75827a87697fa487923be6b155b418
Bug 12059: Publisher column on invoice page always empty

This patch moves the publisher information out of its own
always empty column into the Summary column below the title,
as it is on other acq pages.

The information was never displaying, as publishercode is in
biblioitems and that table was not selected by GetInvoiceDetails.

Also modified the code to take into account that UNIMARC uses
biblioitems.publicationyear and MARC21/NORMARC use bibio.copyrightdate
for the copyright year.

To test:
- create an invoice for records that
  - have a publication year
  - have no publication year
  - have a publisher...
- 'finish receiving' and check the invoice summary page
   ...acqui/invoice.pl?invoiceid=?
- Make sure all the information displays now but didn't witout the patch.

Signed-off-by: Paola Rossi <paola.rossi@cineca.it>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Mason James <mtj@kohaaloha.com>
C4/Acquisition.pm
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt