]> 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>
Fri, 23 Jan 2015 09:06:37 +0000 (22:06 +1300)
commit1bb6639743b01e1716a4e1676de424a080c767a3
treed2f4510ce31b7c0a868724eb390f92459786793e
parent3d86f5c04ccd018f7db5df117ec924089d3c8da5
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