road to 1.3.1 : viewing biblio MARC detail
[koha.git] / acqui / recieveorder.pl
1 #!/usr/bin/perl
2
3 #script to show display basket of orders
4 #written by chris@katipo.co.nz 24/2/2000
5
6
7 # Copyright 2000-2002 Katipo Communications
8 #
9 # This file is part of Koha.
10 #
11 # Koha is free software; you can redistribute it and/or modify it under the
12 # terms of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 #
16 # Koha is distributed in the hope that it will be useful, but WITHOUT ANY
17 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
18 # A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
19 #
20 # You should have received a copy of the GNU General Public License along with
21 # Koha; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
22 # Suite 330, Boston, MA  02111-1307 USA
23
24 use C4::Catalogue;
25 use C4::Biblio;
26 use C4::Output;
27 use CGI;
28 use strict;
29
30 my $input=new CGI;
31 print $input->header();
32 my $id=$input->param('id');
33 my ($count,@booksellers)=bookseller($id); 
34 print startpage;
35
36 print startmenu('acquisitions');
37
38 print <<EOP
39
40 <FONT SIZE=6><em>Receive Orders From Supplier <a href=whitcoulls.html>$booksellers[0]->{'name'}</a></em></FONT>
41 <p>
42 <CENTER>
43 <form method=post action="receive.pl">
44 <input type=hidden name=id value=$id>
45 <p>
46 <table border=1 cellspacing=0 cellpadding=5>
47 <tr valign=top bgcolor=#99cc33><td background="/images/background-mem.gif" colspan=2><B>SUPPLIER INVOICE INFORMATION</B></td></tr>
48 <TR VALIGN=TOP >
49 <TD>Supplier Invoice Number</td>
50 <td><input type=text size=20 name=invoice>        
51 </td>
52 </tr>
53 <TR VALIGN=TOP>
54 <TD>GST</td>
55 <td><input type=text size=20 name=gst>
56 </td>
57 </tr>
58 <TR VALIGN=TOP>
59 <TD>Freight</td>
60 <td><input type=text size=20 name=freight>
61 </td>
62 </tr>
63 <TR VALIGN=TOP>
64 <TD></td>
65 <td><input type=image  name=submit src=/images/continue.gif border=0 width=120 height=42>
66 </td>
67 </tr>
68 </table>
69 </CENTER>
70
71 EOP
72 ;
73
74
75 print endmenu('acquisitions');
76
77 print endpage;