From c2439d23fddca4678f4cc736c0066d025029e86b Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Fri, 7 Sep 2007 21:58:58 -0500 Subject: [PATCH] Re-adding the link to the spent budget breakdown Signed-off-by: Chris Cormack --- acqui/acqui-home.pl | 4 + .../prog/en/modules/acqui/acqui-home.tmpl | 6 +- .../prog/en/modules/acqui/spent.tmpl | 132 ++++++++++++++++++ 3 files changed, 139 insertions(+), 3 deletions(-) create mode 100755 koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tmpl diff --git a/acqui/acqui-home.pl b/acqui/acqui-home.pl index a2ffe2ea61..7b35c3f1a6 100755 --- a/acqui/acqui-home.pl +++ b/acqui/acqui-home.pl @@ -83,6 +83,10 @@ for (my $i=0; $i<$count; $i++){ my %line; $line{bookfundname} = $results[$i]->{'bookfundname'}; $line{budgetamount} = $results[$i]->{'budgetamount'}; + $line{aqbudgetid} = $results[$i]->{'aqbudgetid'}; + $line{bookfundid} = $results[$i]->{'bookfundid'}; + $line{sdate} = $results[$i]->{'startdate'}; + $line{edate} = $results[$i]->{'enddate'}; $line{spent} = sprintf ("%.2f", $spent); $line{comtd} = sprintf ("%.2f",$comtd); $line{avail} = sprintf ("%.2f",$avail); diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tmpl index ac8c35689c..2ebe421bd9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/acqui-home.tmpl @@ -94,8 +94,8 @@ - - + "> + &start=&end="> @@ -129,4 +129,4 @@ - \ No newline at end of file + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tmpl new file mode 100755 index 0000000000..73bf473630 --- /dev/null +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tmpl @@ -0,0 +1,132 @@ + +Koha › Acquisitions + + + + + + +
+
+
+
+
+ + + + +

Budgets & Bookfunds

+

Spent

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Title + + Order + + Supplier + + Invoice + + Itemtype + + Receieved + + Unit Price + + Date Received + + Subtotal +
+ + + &biblio=&invoice=&supplierid=&catview=yes"> + + + + &supplierid=> + + + + + + + + + + +
+ Total + + + + + + + + + + + + + + + + +
+ + +
+
+
+
+
+ + + -- 2.39.5