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