Continuing work on Z39.50 search tool. Daemon now forks up to 12 processes
[koha.git] / orderbreakdown.pl
1 #!/usr/bin/perl
2
3 #script to display info about acquisitions
4 #written by chris@katipo.co.nz 31/01/2000
5
6 use C4::Acquisitions;
7 use C4::Output;
8 use CGI;
9 my $input=new CGI;
10 print $input->header();
11 my $id=$input->param('id');
12 my ($count,$order)=breakdown($id);
13 print startpage;
14 print mktablehdr;
15 #print $id;
16 for (my$i=0;$i<$count;$i++){
17 print mktablerow(5,'white',"<b>Ordernumber:</b>$order->[$i]->{'ordernumber'}",
18 "<b>Line umber</b>:$order->[$i]->{'linenumber'}","<b>Branch Code:</b>$order->[$i]->{'branchcode'}",
19 "<b>Bookfundid</b>:$order->[$i]->{'bookfundid'}","<b>Allocation:</b>$order->[$i]->{'allocation'}");
20 }
21 print mktableft;
22 print endpage;