include quantityrecieved in the code passed to template.
[koha_gimpoz] / showbudget.pl
index 10f95bf..efcd96e 100755 (executable)
@@ -1,5 +1,7 @@
 #!/usr/bin/perl
 
+# $Id$
+
 #script to show list of budgets and bookfunds
 #written 4/2/00 by chris@katipo.co.nz
 #called as an include by the acquisitions index page
@@ -22,7 +24,7 @@
 # Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
 # Suite 330, Boston, MA  02111-1307 USA
 
-use C4::Acquisitions;
+use C4::Catalogue;
 use C4::Biblio;
 #use CGI;
 #my $inp=new CGI;
@@ -53,7 +55,7 @@ for (my $i=0;$i<$count;$i++){
   my $avail=$results[$i]->{'budgetamount'}-($spent+$comtd);
   print  <<EOP
 <tr><td>
-$results[$i]->{'bookfundname'} </TD> 
+$results[$i]->{'bookfundname'} </TD>
 <TD>$results[$i]->{'budgetamount'}</TD> <TD>
 EOP
 ;