diff --git a/acqui/histsearch.pl b/acqui/histsearch.pl index 75e910842d..6c47ad832a 100755 --- a/acqui/histsearch.pl +++ b/acqui/histsearch.pl @@ -24,8 +24,10 @@ my ($template, $loggedinuser, $cookie) flagsrequired => {acquisition => 1}, debug => 1, }); -my $order_loop= &histsearch($title,$author,$name,$from_placed_on,$to_placed_on); +my ($order_loop,$total_qty,$total_price)= &histsearch($title,$author,$name,$from_placed_on,$to_placed_on); $template->param(suggestions_loop => $order_loop, + total_qty => $total_qty, + total_price => sprintf ("%.2f",$total_price), numresults => scalar(@$order_loop), title => $title, author => $author, diff --git a/koha-tmpl/intranet-tmpl/default/en/acqui/histsearch.tmpl b/koha-tmpl/intranet-tmpl/default/en/acqui/histsearch.tmpl index 6e1570cd4c..9a7a22c45b 100644 --- a/koha-tmpl/intranet-tmpl/default/en/acqui/histsearch.tmpl +++ b/koha-tmpl/intranet-tmpl/default/en/acqui/histsearch.tmpl @@ -6,9 +6,8 @@
| - | Title | -Author | Supplier | +Title/Author | Placed on | Recieved on | Quantity ordered | @@ -20,15 +19,13 @@Filter on | -- "> - | -- "> - | "> | ++ ">/ + "> + |
From To |
|---|