Koha-clms/acqui
Fridolyn SOMERS b2aea8eb88 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: Mason James <mtj@kohaaloha.com>
2017-07-30 07:09:29 +12:00
..
pdfformat Bug 16011: $VERSION - Remove comments 2016-03-24 17:20:29 +00:00
acqui-home.pl Bug 15084 [QA Followup] - Fix new uses of GetCurrency 2016-03-07 13:33:43 +00:00
add_user_search.pl Bug 15109: Make name the default sort order for all patron searches 2015-11-17 09:49:21 -03:00
addorder.pl Bug 15531: Add support for standing orders 2016-04-29 13:07:17 +00:00
addorderiso2709.pl Bug 18482 False duplicates detected on adding a batch-[16.11.x] 2017-07-30 06:59:51 +12:00
ajax-getauthvaluedropbox.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
basket.pl Bug 17411 - Change exit 1 to exit 0 in acqui/basket.pl to prevent Internal Server Error 2016-10-22 15:19:07 +02:00
basketgroup.pl Bug 16154: CGI->multi_param - Declare a list 2016-04-26 23:16:42 +00:00
basketheader.pl Bug 15531: (QA followup) Fix several small issues 2016-04-29 13:07:18 +00:00
booksellers.pl Bug 12054: Inactive vendors should be inactive 2015-07-20 10:34:55 -03:00
cancelorder.pl Bug 7162: Factorize code for order cancellation (QA fixes) 2014-10-30 00:44:16 -03:00
check_budget_total.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
check_duplicate_barcode_ajax.pl Bug 16154: CGI->multi_param - Declare a list 2016-04-26 23:16:42 +00:00
check_uniqueness.pl Bug 16154: CGI->multi_param - Declare a list 2016-04-26 23:16:42 +00:00
edi_ean.pl Bug 7736: Support Ordering via Edifact EDI messages 2016-04-01 20:03:17 +00:00
edifactmsgs.pl Bug 17081 Incorrect comparison operator used in edifactmsgs.pl 2016-08-23 12:07:53 +02:00
edimsg.pl Bug 7736: Support Ordering via Edifact EDI messages 2016-04-01 20:03:17 +00:00
finishreceive.pl Bug 18429 - Receiving an item should update the datelastseen 2017-04-30 23:19:59 +12:00
histsearch.pl Bug 16154: Fix some other occurrences 2016-04-26 23:16:44 +00:00
invoice-files.pl Bug 16154: CGI->multi_param - Force scalar context 2016-04-26 23:16:43 +00:00
invoice.pl Bug 16154: CGI->multi_param - Force scalar context 2016-04-26 23:16:43 +00:00
invoices.pl Bug 7736: Support Ordering via Edifact EDI messages 2016-04-01 20:03:17 +00:00
lateorders-export.pl Bug 16154: CGI->multi_param - Declare a list 2016-04-26 23:16:42 +00:00
lateorders.pl Bug 14535: Update the supplier filter too 2017-04-24 11:08:08 +12:00
modordernotes.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
neworderbiblio.pl Bug 12478: allow more granular sorting configuration 2016-04-26 20:20:08 +00:00
neworderempty.pl Bug 15531: Add support for standing orders 2016-04-29 13:07:17 +00:00
newordersubscription.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
newordersuggestion.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
ordered.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
orderreceive.pl Bug 8417: Make the order receive date editable 2015-10-19 14:51:50 -03:00
parcel.pl Bug 14946: Remove C4::Dates from acqui/* files 2015-11-17 23:42:55 -03:00
parcels.pl Bug 14946: Remove C4::Dates from acqui/* files 2015-11-17 23:42:55 -03:00
spent.pl Bug 15258: Fix Perl scripts declaring unused variables 2015-12-30 17:24:45 -07:00
supplier.pl Bug 15084: Replace C4::Budgets::GetCurrencies with Koha::Acquisition::Currencies->search 2016-03-03 20:39:01 +00:00
transferorder.pl Bug 14946: Remove C4::Dates from acqui/* files 2015-11-17 23:42:55 -03:00
uncertainprice.pl Bug 11122 - publisher code and publication year not fetched in acq orders 2017-07-30 07:09:29 +12:00
updatesupplier.pl Bug 14440: get_template_and_user can not have an empty template_name (updatesupplier.pl) 2015-06-25 10:29:53 -03:00
z3950_search.pl Bug 16154: CGI->multi_param - Declare a list 2016-04-26 23:16:42 +00:00