]> 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)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 17 Dec 2014 23:17:10 +0000 (20:17 -0300)
commitd9c99b6f5ef40bb546231cf35581d4308f1ae3bc
treee945c8501ada6906ce67b6346dd9e674cd71291a
parentdf2e9169b23ad3ecfbbf73367a19cb9117fb4ed4
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: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Acquisition.pm
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt