From 18a6bad8ab949dcb1f97c1fe391b1eee5e0ad147 Mon Sep 17 00:00:00 2001 From: hdl Date: Wed, 10 Aug 2005 14:22:48 +0000 Subject: [PATCH] Minor display changes. Now displaying publicationyear. And biblio information in One cell. --- C4/Acquisition.pm | 6 ++--- .../default/en/acqui/lateorders.tmpl | 22 +++++++------------ 2 files changed, 11 insertions(+), 17 deletions(-) diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm index 639d3cffb9..bc72015de9 100644 --- a/C4/Acquisition.pm +++ b/C4/Acquisition.pm @@ -572,13 +572,13 @@ sub getlateorders { #BEWARE, order of parenthesis and LEFT JOIN is important for speed my $strsth; my $dbdriver = C4::Context->config("db_scheme")||"mysql"; - warn " $dbdriver"; +# warn " $dbdriver"; if ($dbdriver eq "mysql"){ $strsth ="SELECT aqbasket.basketno, DATE(aqbasket.closedate) as orderdate, aqorders.quantity, aqorders.rrp as unitpricesupplier,aqorders.ecost as unitpricelib, aqorders.quantity * aqorders.rrp as subtotal, aqbookfund.bookfundname as budget, borrowers.branchcode as branch, aqbooksellers.name as supplier, - biblio.title, biblio.author, biblioitems.publishercode as publisher, + biblio.title, biblio.author, biblioitems.publishercode as publisher, biblioitems.publicationyear, DATEDIFF(CURDATE( ),closedate) AS latesince FROM (( ( @@ -598,7 +598,7 @@ sub getlateorders { aqorders.quantity, aqorders.rrp as unitpricesupplier,aqorders.ecost as unitpricelib, aqorders.quantity * aqorders.rrp as subtotal aqbookfund.bookfundname as budget, borrowers.branchcode as branch, aqbooksellers.name as supplier, - biblio.title, biblio.author, biblioitems.publishercode as publisher, + biblio.title, biblio.author, biblioitems.publishercode as publisher, biblioitems.publicationyear, (CURDATE - closedate) AS latesince FROM (( ( diff --git a/koha-tmpl/intranet-tmpl/default/en/acqui/lateorders.tmpl b/koha-tmpl/intranet-tmpl/default/en/acqui/lateorders.tmpl index f37131617e..c79922a111 100644 --- a/koha-tmpl/intranet-tmpl/default/en/acqui/lateorders.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/acqui/lateorders.tmpl @@ -6,11 +6,9 @@ Supplier Order Date - Late since + Ordered for Including Basket - Title - Author - Publisher + Book information Branch Estimated Unit Price Retailer Catalogue Unit Price @@ -25,10 +23,10 @@   - - "> days + + "> days - +   @@ -58,13 +56,9 @@ - - - - - - - + +
Author: +
Published by: in -- 2.39.5