Fixing bug 450
[wip/koha-chris_n.git] / koha-tmpl / intranet-tmpl / default / en / acqui / supplier.tmpl
1 <TMPL_INCLUDE name="acquisitions-top.inc">
2
3 <form action=updatesupplier.pl method=post>
4
5 <input type=hidden name=id value=<TMPL_VAR name="id">>
6
7 <TMPL_IF NAME=id>
8         <h1>Update: <TMPL_VAR name="name"></h1>
9 <TMPL_ELSE>
10         <h1><em>Add supplier</h1>
11 </TMPL_IF>
12
13 <P>
14 <CENTER>
15 <TABLE  CELLSPACING=0  CELLPADDING=5 border=1 align=left width="40%">
16         <tr valign=top bgcolor="#ffdf61">
17                 <td colspan=2><B>COMPANY DETAILS</B></td>
18         </tr>
19         <TR VALIGN=TOP>
20                 <TD><b>Company Name</b></td>
21                 <td><input type=text size=20 name=company value="<TMPL_VAR name="name">">
22                 </td>
23         </tr>
24         <TR VALIGN=TOP>
25                 <TD>Postal Address</td>
26                 <td>
27                         <textarea name=company_postal cols=20 rows=3><TMPL_VAR name="postal"></textarea>
28                 </td>
29         </tr>
30         <TR VALIGN=TOP>
31                 <TD>Physical Address</td>
32                 <td><textarea name=physical cols=20 rows=4><TMPL_VAR name="address1"><TMPL_VAR name="address2"><TMPL_VAR name="address3"><TMPL_VAR name="address4"></textarea>
33                 </td>
34         </tr>
35         <TR VALIGN=TOP>
36                 <TD>Phone</td>
37                 <td><input type=text size=20 name=company_phone value="<TMPL_VAR name="phone">">
38                 </td>
39         </tr>
40         <TR VALIGN=TOP>
41                 <TD>Fax</td>
42                 <td><input type=text size=20 name=company_fax value="<TMPL_VAR name="fax">">
43                 </td>
44         </tr>
45         <TR VALIGN=TOP>
46                 <TD>Website</td>
47                 <td><input type=text size=20 name=website value="<TMPL_VAR name="url">">
48                 </td>
49         </tr>
50         <tr valign=top bgcolor="#ffdf61">
51                 <td colspan=2><B>CONTACT DETAILS</B></td>
52         </tr>
53         <TR VALIGN=TOP>
54                 <TD>Contact Name</td>
55                 <td><input type=text size=20 name=company_contact_name value="<TMPL_VAR name="contact">"></td>
56         </tr>
57         <TR VALIGN=TOP>
58                 <TD>Position</td>
59                 <td><input type=text size=20 name=company_contact_position value="<TMPL_VAR name="contpos">">
60                 </td>
61         </tr>
62         <TR VALIGN=TOP>
63                 <TD>Phone</td>
64                 <td><input type=text size=20 name=contact_phone value="<TMPL_VAR name="contphone">">
65                 </td>
66         </tr>
67         <TR VALIGN=TOP>
68                 <TD>Alternative Phone</td>
69                 <td><input type=text size=20 name=contact_phone_2 value="<TMPL_VAR name="contaltphone">">
70                 </td>
71         </tr>
72         <TR VALIGN=TOP>
73                 <TD>Fax</td>
74                 <td><input type=text size=20 name=contact_fax value="<TMPL_VAR name="contfax">">
75                 </td>
76         </tr>
77         <TR VALIGN=TOP>
78                 <TD>E-mail</td>
79                 <td><input type=text size=20 name=company_email value="<TMPL_VAR name="contemail">">
80                 </td>
81         </tr>
82         <TR VALIGN=TOP>
83                 <TD>Notes</td>
84                 <td><textarea name=notes cols=20 rows=4><TMPL_VAR name="contnotes"></textarea>
85                 </td>
86         </tr>
87         <tr>
88                 <td colspan=2 align="center"><input type=image  name=submit src="/<TMPL_VAR name="theme">/images/filesave.png" border=0 title="save" alt="save"></td>
89         </tr>
90 </table>
91
92 <table border=1 cellspacing=0 cellpadding=5 width="40%">
93         <tr valign=top bgcolor="#ffdf61">
94                 <td colspan=2><B>CURRENT STATUS</B></td>
95         </tr>
96         <TR VALIGN=TOP>
97                 <TD>Supplier is</td>
98                 <td><input type="radio" name="status" value="1" <TMPL_IF name="active">checked</TMPL_IF>>Active
99                         <input type="radio" name="status" value="0" <TMPL_UNLESS name="active">checked</TMPL_UNLESS>>Inactive</td>
100         </tr>
101         <tr valign=top bgcolor="#ffdf61">
102                 <td colspan=2><B>ORDERING INFORMATION</B></td>
103         </tr>
104         <TR VALIGN=TOP>
105                 <TD>Publishers and Imprints</td>
106                 <td><textarea name="publishers_imprints" cols=20 rows=4><TMPL_VAR name="specialty"></textarea>
107                 </td>
108         </tr>
109         <TR VALIGN=TOP>
110                 <TD>List Prices are</td>
111                 <td>
112                         <select name=list_currency size=1>
113                         <TMPL_LOOP name="loop_pricescurrency">
114                                 <TMPL_VAR name="currency">
115                         </TMPL_LOOP>
116                         </select>
117                 </td>
118         </tr>
119         <TR VALIGN=TOP>
120                 <TD>Invoice Prices are</td>
121                 <td>
122                         <select name=invoice_currency size=1>
123                         <TMPL_LOOP name="loop_invoicecurrency">
124                                 <TMPL_VAR name="currency">
125                         </TMPL_LOOP>
126                         </select>
127                 </td>
128         </tr>
129         <TR VALIGN=TOP>
130                 <TD>GST Registered</td>
131                 <td>
132                         <input type=radio name=gst value=1 <TMPL_IF name="gstreg">checked</TMPL_IF>>Yes
133                         <input type=radio name=gst value=0 <TMPL_UNLESS name="gstreg">checked</TMPL_UNLESS>>No
134                 </td>
135         </tr>
136         <TR VALIGN=TOP>
137                 <TD>List Item Price Includes GST</td>
138                 <td>
139                         <input type=radio name=list_gst value=1 <TMPL_IF name="listincgst">checked</TMPL_IF>>Yes
140                         <input type=radio name=list_gst value=0 <TMPL_UNLESS name="listincgst">checked</TMPL_UNLESS>>No
141                 </td>
142         </tr>
143         <TR VALIGN=TOP>
144                 <TD>Invoice Item Price Includes GST</td>
145                 <td>
146                         <input type=radio name=invoice_gst value=1 <TMPL_IF name= "invoiceincgst">checked</TMPL_IF>>Yes
147                         <input type=radio name=invoice_gst value=0 <TMPL_UNLESS name="invoiceincgst">checked</TMPL_UNLESS>>No
148                 </td>
149         </tr>
150         <TR VALIGN=TOP>
151                 <TD>Discount</td>
152                 <td><input type=text size=3 name=discount value=<TMPL_VAR name="discount">> %
153         </tr>
154 </table>
155
156 </form>
157 </center>
158
159
160 <TMPL_INCLUDE name="acquisitions-bottom.inc">