From 882563830a59349e3270f7144e6d42b665ca9182 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Wed, 28 Dec 2011 15:43:47 +1300 Subject: [PATCH] [SIGNED-OFF] Bug 929 : Follow up, making some improvements to the spent page More to come Signed-off-by: Katrin Fischer --- acqui/spent.pl | 3 ++- .../intranet-tmpl/prog/en/modules/acqui/spent.tt | 15 ++++++++++----- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/acqui/spent.pl b/acqui/spent.pl index 80a89d3..2cfe7b4 100755 --- a/acqui/spent.pl +++ b/acqui/spent.pl @@ -57,7 +57,7 @@ my $query = <param( spent => \@spent, total => $total ); +$template->{VARS}->{'fund'} = $bookfund; $sth->finish; $dbh->disconnect; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt index 4bd095f..78f7cb5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt @@ -6,7 +6,7 @@ [% INCLUDE 'header.inc' %] [% INCLUDE 'acquisitions-search.inc' %] - +
@@ -14,7 +14,7 @@
-

Budgets & Bookfunds

+

Bookfund [% fund %]

Spent

@@ -23,12 +23,13 @@ Title Order - Supplier + Vendor Invoice Itemtype - Receieved + Received Unit Price Freight per Item + Date Ordered Date Received Subtotal @@ -48,7 +49,7 @@ [% order.ordernumber %] - [% order.booksellerid %] + [% order.booksellerid %] [% order.booksellerinvoicenumber %] @@ -66,6 +67,9 @@ [% order.freight %] + [% order.entrydate %] + + [% order.datereceived %] @@ -84,6 +88,7 @@ + [% total %] -- 1.7.5.4