Adding link to the committed budget breakdown
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / acqui / supplier.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Supplier <!-- TMPL_VAR name="bookselname" --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script type="text/javascript">
5 function confirm_deletion() {
6     if (confirm("Confirm deletion of this supplier ?")) {
7         window.location="/cgi-bin/koha/acqui/supplier.pl?supplierid=<!--TMPL_VAR Name="id"-->&op=delete";
8     }
9 }
10 </script>
11 </head>
12 <body>
13 <!-- TMPL_INCLUDE NAME="header.inc" -->
14 <!-- TMPL_INCLUDE NAME="menu-acqui.inc" -->
15
16 <div id="doc3" class="yui-t2">
17    
18    <div id="bd">
19         <div id="yui-main">
20         <div class="yui-b"><div class="yui-g">
21         
22 <!--TMPL_IF Name="enter"-->
23     <form action="updatesupplier.pl" method="post">
24     
25     <input type="hidden" name="id" value="<!-- TMPL_VAR NAME="id" -->" />
26     
27     <!-- TMPL_IF name="id" -->
28         <h1>Update: <!-- TMPL_VAR NAME="name" --></h1>
29     <!-- TMPL_ELSE -->
30         <h1>Add supplier</h1>
31     <!-- /TMPL_IF -->
32         <fieldset>
33             <legend>Company details</legend>
34             <p>
35                 <label>Company Name</label>
36                 <input type="text" size="40" name="company" value="<!-- TMPL_VAR NAME="name" -->" />
37             </p>
38             <p>
39                 <label>Postal Address</label>
40                     <textarea name="company_postal" cols="40" rows="3"><!-- TMPL_VAR NAME="postal" --></textarea>
41             </p>
42             <p>
43                 <label>Physical Address</label>
44                 <textarea name="physical" cols="40" rows="3"><!-- TMPL_VAR NAME="address1" --><!-- TMPL_VAR NAME="address2" --><!-- TMPL_VAR NAME="address3" --><!-- TMPL_VAR NAME="address4" --></textarea>
45             </p>
46             <p>
47                 <label>Phone</label>
48                 <input type="text" size="20" name="company_phone" value="<!-- TMPL_VAR NAME="phone" -->" />
49             </p>
50             <p>
51                 <label>Fax</label>
52                 <input type="text" size="20" name="company_fax" value="<!-- TMPL_VAR NAME="fax" -->" />
53             </p>
54             <p>
55                 <label>Website</label>
56                 <input type="text" size="40" name="website" value="<!-- TMPL_VAR NAME="url" -->" />
57             </p>
58         </fieldset>
59         <fieldset>
60             <legend>Contact details</legend>
61             <p>
62                 <label>Contact Name</label>
63                 <input type="text" size="40" name="company_contact_name" value="<!-- TMPL_VAR NAME="contact" -->" />
64             </p>
65             <p>
66                 <label>Position</label>
67                 <input type="text" size="40" name="company_contact_position" value="<!-- TMPL_VAR NAME="contpos" -->" />
68             </p>
69             <p>
70                 <label>Phone</label>
71                 <input type="text" size="20" name="contact_phone" value="<!-- TMPL_VAR NAME="contphone" -->" /> 
72             </p>
73             <p>
74                 <label>Alternative phone</label>
75                 <input type="text" size="20" name="contact_phone_2" value="<!-- TMPL_VAR NAME="contaltphone" -->" />
76             </p>
77             <p>
78                 <label>Fax</label>
79                 <input type="text" size="20" name="contact_fax" value="<!-- TMPL_VAR NAME="contfax" -->" />
80             </p>
81             <p>
82                 <label>E-mail</label>
83                 <input type="text" size="40" name="company_email" value="<!-- TMPL_VAR NAME="contemail" -->" />
84             </p>
85             <p>
86                 <label>Notes</label>
87                 <textarea name="contact_notes" cols="40" rows="4"><!-- TMPL_VAR NAME="contnotes" --></textarea>
88             </p>
89         </fieldset>
90         <fieldset>
91             <legend>Ordering information</legend>
92             <p>
93                 <label>Supplier is</label>
94                     <!-- TMPL_IF name="active" -->
95                         <input type="radio" name="status" value="1" checked="checked" />Active
96                         <input type="radio" name="status" value="0" />Inactive</td>
97                     <!-- TMPL_ELSE -->
98                         <input type="radio" name="status" value="1" />Active
99                         <input type="radio" name="status" value="0" checked="checked" />Inactive</td>
100                     <!-- /TMPL_IF -->
101             </p>
102             <p>
103                 <label>Preferred publishers</label>
104                 <textarea name="publishers_imprints" cols="40" rows="3"><!-- TMPL_VAR NAME="specialty" --></textarea>
105             </p>
106             <p>
107                 <label>List Prices are</label>
108                     <select name="list_currency" size="1">
109                     <!-- TMPL_LOOP NAME="loop_pricescurrency" -->
110                         <!-- TMPL_VAR NAME="currency" -->
111                     <!-- /TMPL_LOOP -->
112                     </select>
113             </p>
114             <p>
115                 <label>Invoice Prices are</label>
116                     <select name="invoice_currency" size="1">
117                     <!-- TMPL_LOOP NAME="loop_invoicecurrency" -->
118                         <!-- TMPL_VAR NAME="currency" -->
119                     <!-- /TMPL_LOOP -->
120                     </select>
121             </p>
122             <!-- TMPL_IF NAME="GST" --><p>
123                 <label>GST Registered</label>
124                                 <!-- TMPL_IF name="gstreg" -->
125                                         <input type="radio" name="gst" value="1" checked="checked" />Yes
126                     <input type="radio" name="gst" value="0" />No
127                                 <!-- TMPL_ELSE -->
128                     <input type="radio" name="gst" value="1" />Yes
129                     <input type="radio" name="gst" value="0" checked="checked" />No
130                                 <!-- /TMPL_IF -->
131             </p><!-- TMPL_ELSE --><input type="hidden" name="gst" value="0" /><!-- /TMPL_IF -->
132                         
133             <!-- TMPL_IF NAME="GST" --><p>
134                 <label>Ordering prices</label>
135                                 <!-- TMPL_IF name="listincgst" -->
136                                 <input type="radio" name="list_gst" value="1" checked="checked" />include GST
137                     <input type="radio" name="list_gst" value="0" />don't include GST
138                                 <!-- TMPL_ELSE -->
139                     <input type="radio" name="list_gst" value="1" />include GST
140                     <input type="radio" name="list_gst" value="0" checked="checked" />don't include GST
141                                 <!-- /TMPL_IF -->
142             </p><!-- TMPL_ELSE --><input type="hidden" name="list_gst" value="0" /><!-- /TMPL_IF -->
143                         
144             <!-- TMPL_IF NAME="GST" --><p>
145                 <label>Invoice prices</label>
146                                 <!-- TMPL_IF name= "invoiceincgst" -->
147                     <input type="radio" name="invoice_gst" value="1" checked="checked" />include GST
148                     <input type="radio" name="invoice_gst" value="0" />don't include GST
149                                         <!-- TMPL_ELSE -->
150                     <input type="radio" name="invoice_gst" value="1">include GST
151                     <input type="radio" name="invoice_gst" value="0" checked="checked" />don't include GST
152                                 <!-- /TMPL_IF -->
153             </p><!-- TMPL_ELSE --><input type="hidden" name="invoice_gst" value="0" /><!-- /TMPL_IF -->
154             <p>
155                 <label>Discount</label>
156                 <input type="text" size="3" name="discount" value="<!-- TMPL_VAR NAME="discount" -->" /> %
157             </p>
158             <p>
159                 <label>Notes</label>
160                 <textarea cols="40" rows="4" name="notes" ><!-- TMPL_VAR NAME="notes" --></textarea>
161             </p>
162         </fieldset>
163         <p><input type="submit" value="Save" /></p>
164     </form>
165 <!--TMPL_ELSE-->
166     <h1>Information for : <!-- TMPL_VAR NAME="name" --></h1>
167     <div id="action">
168 <ul>
169         <li>        <a href="supplier.pl?supplierid=<!--TMPL_VAR Name="id"-->&amp;op=enter">Edit Supplier</a></li>
170         <li>        <a href="booksellers.pl?supplier=<!--TMPL_VAR Name="id"-->">Manage Orders</a></li>
171         <li>        <a href="parcels.pl?supplierid=<!--TMPL_VAR Name="id"-->">Receive Parcel</a></li>
172 </ul>
173         </div>
174         <fieldset>
175             <legend>Company details</legend>
176             <p>
177                 <label>Company Name</label>
178                 <!-- TMPL_VAR NAME="name" -->&nbsp;
179             </p>
180             <p>
181                 <label>Postal Address</label>
182                     <!-- TMPL_VAR NAME="postal" -->&nbsp;
183             </p>
184             <p>
185                 <label>Physical Address</label>
186                 <!-- TMPL_VAR NAME="address1" --><!-- TMPL_VAR NAME="address2" --><!-- TMPL_VAR NAME="address3" --><!-- TMPL_VAR NAME="address4" -->&nbsp;
187             </p>
188             <p>
189                 <label>Phone</label>
190                 <!-- TMPL_VAR NAME="phone" -->&nbsp;
191             </p>
192             <p>
193                 <label>Fax</label>
194                 <!-- TMPL_VAR NAME="fax" -->&nbsp;
195             </p>
196             <p>
197                 <label>Website</label>
198                 <!-- TMPL_VAR NAME="url" -->&nbsp;
199             </p>
200         </fieldset>
201         <fieldset>
202             <legend>Contact details</legend>
203             <p>
204                 <label>Contact name</label>
205                 <!-- TMPL_VAR NAME="contact" -->&nbsp;
206             </p>
207             <p>
208                 <label>Position</label>
209                 <!-- TMPL_VAR NAME="contpos" -->&nbsp;
210             </p>
211             <p>
212                 <label>Phone</label>
213                 <!-- TMPL_VAR NAME="contphone" -->&nbsp;
214             </p>
215             <p>
216                 <label>Alternative phone</label>
217                 <!-- TMPL_VAR NAME="contaltphone" -->&nbsp;
218             </p>
219             <p>
220                 <label>Fax</label>
221                 <!-- TMPL_VAR NAME="contfax" -->&nbsp;
222             </p>
223             <p>
224                 <label>E-mail</label>
225                 <!-- TMPL_VAR NAME="contemail" -->&nbsp;
226             </p>
227             <p>
228                 <label>Notes</label>
229                 <!-- TMPL_VAR NAME="contnotes" -->&nbsp;
230             </p>
231         
232         </fieldset>
233         <fieldset>
234         <legend>Ordering informations</legend>
235             <p>
236                 <label>Supplier is</label>
237                     <!-- TMPL_IF name="active" -->
238                         Active
239                     <!-- TMPL_ELSE -->
240                         Inactive
241                     <!-- /TMPL_IF -->
242             </p>
243             <p>
244                 <label>Publishers and Imprints</label>
245                 <!-- TMPL_VAR NAME="specialty" -->&nbsp;
246             </p>
247             <p>
248                 <label>List Prices are</label><!--TMPL_VAR Name="listprice"-->&nbsp;
249             </p>
250             <p>
251                 <label>Invoice Prices are</label><!--TMPL_VAR Name="invoiceprice"-->&nbsp;
252             </p>
253             <p>
254                 <label>GST Registered</label>
255                     <!-- TMPL_IF name="gstreg" -->Yes<!--TMPL_ELSE-->No<!-- /TMPL_IF -->
256             </p>
257             <p>
258                 <label>List Item Price Includes GST</label>
259                     <!-- TMPL_IF name="listincgst" -->Yes<!--TMPL_ELSE-->No<!-- /TMPL_IF -->
260             </p>
261             <p>
262                 <label>Invoice Item Price Includes GST</label>
263                     <!-- TMPL_IF name= "invoiceincgst" -->Yes<!--TMPL_ELSE-->No<!-- /TMPL_IF -->
264             </p>
265             <p>
266                 <label>Discount</label>
267                 <!-- TMPL_VAR NAME="discount" --> %&nbsp;
268             </p>
269             <p>
270                 <label>Notes</label>
271                 <!-- TMPL_VAR NAME="notes" -->&nbsp;
272             </p>
273         </fieldset>
274
275 <!--/TMPL_IF-->
276
277 </div>
278 </div>
279 </div>
280
281 <!-- TMPL_INCLUDE NAME="mainmenu.inc" -->
282 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->