synch'ing head and rel_2_2 (from 2.2.5, including npl templates)
[koha_gimpoz] / acqui / histsearch.pl
index 6c47ad8..3e7e0a4 100755 (executable)
@@ -24,9 +24,10 @@ my ($template, $loggedinuser, $cookie)
                             flagsrequired => {acquisition => 1},
                             debug => 1,
                             });
-my ($order_loop,$total_qty,$total_price)= &histsearch($title,$author,$name,$from_placed_on,$to_placed_on);
+my ($order_loop,$total_qty,$total_price,$total_qtyreceived)= &histsearch($title,$author,$name,$from_placed_on,$to_placed_on);
 $template->param(suggestions_loop => $order_loop,
                                total_qty => $total_qty,
+                               total_qtyreceived => $total_qtyreceived,
                                total_price => sprintf  ("%.2f",$total_price),
                                numresults => scalar(@$order_loop),
                                title => $title,