Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui
Fridolyn SOMERS c59e395b74 Bug 11122 - publisher code and publication year not fetched in acq orders
In acquisition, several templates try to display publisher code and publication year : invoice.tt, parcel.tt, transferorder.tt.
Thoses pages use C4::Acquisition methods GetPendingOrders or GetInvoiceDetails.
The bug is that in the SQL query of those methods, biblioitems.publishercode and biblioitems.publicationyear.
In uncertainprice.pl those datas are fetch using GetBiblioData.
It whould be better to fetch them in GetPendingOrders and GetInvoiceDetails.

This patch changes SQL queries to fetch wanted datas : aqorders.*,biblio.title,biblio.author,biblioitems.isbn,biblioitems.publishercode,biblioitems.publicationyear. GetInvoiceDetails also needs : biblio.seriestitle,biblioitems.volume.
This patch also unifies the way biblio datas are displayed :
  <a href="link to catalog using biblionumber">[title]</a> <em>by</em> [author] &ndash; [isbn]
  <em>Publisher:</em> [publishercode], [publicationyear]

Test plan :
- Choose a biblio record containing a data in :
    biblio.title,
    biblio.author,
    biblioitems.isbn,
    biblioitems.publishercode,
    biblioitems.publicationyear,
    biblio.seriestitle,
    biblioitems.volume.
- Create an order using this biblio.
- Look at this order in pages : parcel.pl, transferorder.pl, uncertainprice.pl
=> You see publisher code and publication year
- Look at this order in page : invoice.pl
=> You see publisher code, publication year, series title and volume

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-06-05 11:48:16 -03:00
..
csv Bug 16914: Rely on TT for newlines 2016-12-22 20:26:54 +00:00
tables Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
acqui-home.tt Bug 15758: Koha::Libraries - Remove GetBranchName 2016-09-08 14:36:01 +00:00
addorder.tt
addorderiso2709.tt Bug 15503 (QA Followup) 2017-02-14 15:11:03 +00:00
ajax.tt
basket.tt Bug 10978: Redirect to basket list of a supplier after deleting a basket 2017-03-03 18:26:46 +00:00
basketgroup.tt Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
basketheader.tt Bug 15758: Koha::Libraries - Remove GetBranchesLoop 2016-09-08 14:36:02 +00:00
booksellers.tt Bug 4969: Do not display the new link if we are seeing all baskets of a given vendor 2017-03-31 13:51:49 +00:00
cancelorder.tt Bug 15951: Use Font Awesome icons for acquisitions order cancellation confirmation 2016-03-03 22:55:24 +00:00
edi_ean.tt Bug 7736: (QA followup) Add missing body id and class 2016-04-04 20:43:01 +00:00
edifactmsgs.tt Bug 16239 [CSS Follow-up] Upgrade Bootstrap in the staff client 2017-01-13 14:41:23 +00:00
edimsg.tt Bug 16738 - Improve EDIFACT messages template 2016-09-09 12:54:56 +00:00
histsearch.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
invoice-files.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
invoice.tt Bug 11122 - publisher code and publication year not fetched in acq orders 2017-06-05 11:48:16 -03:00
invoices.tt Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
lateorders.tt Bug 17446: Typo seleted 2016-10-11 16:54:10 +00:00
modordernotes.tt
neworderbiblio.tt Bug 16239: Update templates 2017-01-13 14:41:22 +00:00
neworderempty.tt Bug 18525: (bug 14828 follow-up) FIX ordering from suggestion when item-level_itypes = biblio 2017-05-12 08:50:40 -04:00
neworderempty_duplicate.tt
newordersubscription.tt Bug 9896 - Show vendor in subscription search when creating an order for a subscription 2016-09-25 14:09:56 +00:00
newordersuggestion.tt Bug 17899 - Show only mine does not work in newordersuggestion.pl 2017-01-20 14:10:36 +00:00
ordered.tt Bug 17771: Add link to bibliographic record on spent/ordered lists in acquisitions 2017-01-19 11:44:29 +00:00
orderreceive.tt Bug 14541: Do not truncate tax rate values 2016-12-09 16:29:33 +00:00
parcel.tt Bug 11122 - publisher code and publication year not fetched in acq orders 2017-06-05 11:48:16 -03:00
parcels.tt Bug 16241 - Move staff client CSS out of language directory 2016-04-29 13:54:37 +00:00
spent.tt Bug 17771 [QA Followup] - Tidy table html 2017-01-19 11:48:55 +00:00
supplier.tt Bug 17691: Does not repeat "subscriptions" 2017-01-19 13:37:32 +00:00
transferorder.tt Bug 11122 - publisher code and publication year not fetched in acq orders 2017-06-05 11:48:16 -03:00
uncertainprice.tt Bug 11122 - publisher code and publication year not fetched in acq orders 2017-06-05 11:48:16 -03:00
z3950_search.tt Bug 17487: Styling moved from style attribute into staff-global.css 2017-01-20 14:11:55 +00:00