1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Supplier <!-- TMPL_VAR name="bookselname" --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
6 <!-- TMPL_INCLUDE NAME="header.inc" -->
7 <!-- TMPL_INCLUDE NAME="menu-acqui.inc" -->
9 <div id="doc3" class="yui-t2">
13 <div class="yui-b"><div class="yui-g">
15 <!--TMPL_IF Name="enter"-->
16 <form action="updatesupplier.pl" method="post">
18 <input type="hidden" name="id" value="<!-- TMPL_VAR NAME="id" -->" />
20 <!-- TMPL_IF name="id" -->
21 <h1>Update: <!-- TMPL_VAR NAME="name" --></h1>
26 <legend>Company details</legend>
28 <label>Company Name</label>
29 <input type="text" size="40" name="company" value="<!-- TMPL_VAR NAME="name" -->" />
32 <label>Postal Address</label>
33 <textarea name="company_postal" cols="40" rows="3"><!-- TMPL_VAR NAME="postal" --></textarea>
36 <label>Physical Address</label>
37 <textarea name="physical" cols="40" rows="3"><!-- TMPL_VAR NAME="address1" --><!-- TMPL_VAR NAME="address2" --><!-- TMPL_VAR NAME="address3" --><!-- TMPL_VAR NAME="address4" --></textarea>
41 <input type="text" size="20" name="company_phone" value="<!-- TMPL_VAR NAME="phone" -->" />
45 <input type="text" size="20" name="company_fax" value="<!-- TMPL_VAR NAME="fax" -->" />
48 <label>Website</label>
49 <input type="text" size="40" name="website" value="<!-- TMPL_VAR NAME="url" -->" />
53 <legend>Contact details</legend>
55 <label>Contact Name</label>
56 <input type="text" size="40" name="company_contact_name" value="<!-- TMPL_VAR NAME="contact" -->" />
59 <label>Position</label>
60 <input type="text" size="40" name="company_contact_position" value="<!-- TMPL_VAR NAME="contpos" -->" />
64 <input type="text" size="20" name="contact_phone" value="<!-- TMPL_VAR NAME="contphone" -->" />
67 <label>Alternative phone</label>
68 <input type="text" size="20" name="contact_phone_2" value="<!-- TMPL_VAR NAME="contaltphone" -->" />
72 <input type="text" size="20" name="contact_fax" value="<!-- TMPL_VAR NAME="contfax" -->" />
76 <input type="text" size="40" name="company_email" value="<!-- TMPL_VAR NAME="contemail" -->" />
80 <textarea name="contact_notes" cols="40" rows="4"><!-- TMPL_VAR NAME="contnotes" --></textarea>
84 <legend>Ordering information</legend>
86 <label>Supplier is</label>
87 <!-- TMPL_IF name="active" -->
88 <input type="radio" name="status" value="1" checked="checked" />Active
89 <input type="radio" name="status" value="0" />Inactive</td>
91 <input type="radio" name="status" value="1" />Active
92 <input type="radio" name="status" value="0" checked="checked" />Inactive</td>
96 <label>Preferred publishers</label>
97 <textarea name="publishers_imprints" cols="40" rows="3"><!-- TMPL_VAR NAME="specialty" --></textarea>
100 <label>List Prices are</label>
101 <select name="list_currency" size="1">
102 <!-- TMPL_LOOP NAME="loop_pricescurrency" -->
103 <!-- TMPL_VAR NAME="currency" -->
108 <label>Invoice Prices are</label>
109 <select name="invoice_currency" size="1">
110 <!-- TMPL_LOOP NAME="loop_invoicecurrency" -->
111 <!-- TMPL_VAR NAME="currency" -->
115 <!-- TMPL_IF NAME="GST" --><p>
116 <label>GST Registered</label>
117 <!-- TMPL_IF name="gstreg" -->
118 <input type="radio" name="gst" value="1" checked="checked" />Yes
119 <input type="radio" name="gst" value="0" />No
121 <input type="radio" name="gst" value="1" />Yes
122 <input type="radio" name="gst" value="0" checked="checked" />No
124 </p><!-- TMPL_ELSE --><input type="hidden" name="gst" value="0" /><!-- /TMPL_IF -->
126 <!-- TMPL_IF NAME="GST" --><p>
127 <label>Ordering prices</label>
128 <!-- TMPL_IF name="listincgst" -->
129 <input type="radio" name="list_gst" value="1" checked="checked" />include GST
130 <input type="radio" name="list_gst" value="0" />don't include GST
132 <input type="radio" name="list_gst" value="1" />include GST
133 <input type="radio" name="list_gst" value="0" checked="checked" />don't include GST
135 </p><!-- TMPL_ELSE --><input type="hidden" name="list_gst" value="0" /><!-- /TMPL_IF -->
137 <!-- TMPL_IF NAME="GST" --><p>
138 <label>Invoice prices</label>
139 <!-- TMPL_IF name= "invoiceincgst" -->
140 <input type="radio" name="invoice_gst" value="1" checked="checked" />include GST
141 <input type="radio" name="invoice_gst" value="0" />don't include GST
143 <input type="radio" name="invoice_gst" value="1">include GST
144 <input type="radio" name="invoice_gst" value="0" checked="checked" />don't include GST
146 </p><!-- TMPL_ELSE --><input type="hidden" name="invoice_gst" value="0" /><!-- /TMPL_IF -->
148 <label>Discount</label>
149 <input type="text" size="3" name="discount" value="<!-- TMPL_VAR NAME="discount" -->" /> %
153 <textarea cols="40" rows="4" name="notes" ><!-- TMPL_VAR NAME="notes" --></textarea>
156 <p><input type="submit" value="Save" /></p>
159 <h1>Information for : <!-- TMPL_VAR NAME="name" --></h1>
162 <li> <a href="supplier.pl?supplierid=<!--TMPL_VAR Name="id"-->&op=enter">Edit Supplier</a></li>
163 <li> <a href="booksellers.pl?supplier=<!--TMPL_VAR Name="id"-->">Manage Orders</a></li>
164 <li> <a href="parcels.pl?supplierid=<!--TMPL_VAR Name="id"-->">Receive Parcel</a></li>
168 <legend>Company details</legend>
170 <label>Company Name</label>
171 <!-- TMPL_VAR NAME="name" -->
174 <label>Postal Address</label>
175 <!-- TMPL_VAR NAME="postal" -->
178 <label>Physical Address</label>
179 <!-- TMPL_VAR NAME="address1" --><!-- TMPL_VAR NAME="address2" --><!-- TMPL_VAR NAME="address3" --><!-- TMPL_VAR NAME="address4" -->
183 <!-- TMPL_VAR NAME="phone" -->
187 <!-- TMPL_VAR NAME="fax" -->
190 <label>Website</label>
191 <!-- TMPL_VAR NAME="url" -->
195 <legend>Contact details</legend>
197 <label>Contact name</label>
198 <!-- TMPL_VAR NAME="contact" -->
201 <label>Position</label>
202 <!-- TMPL_VAR NAME="contpos" -->
206 <!-- TMPL_VAR NAME="contphone" -->
209 <label>Alternative phone</label>
210 <!-- TMPL_VAR NAME="contaltphone" -->
214 <!-- TMPL_VAR NAME="contfax" -->
217 <label>E-mail</label>
218 <!-- TMPL_VAR NAME="contemail" -->
222 <!-- TMPL_VAR NAME="contnotes" -->
227 <legend>Ordering informations</legend>
229 <label>Supplier is</label>
230 <!-- TMPL_IF name="active" -->
237 <label>Publishers and Imprints</label>
238 <!-- TMPL_VAR NAME="specialty" -->
241 <label>List Prices are</label><!--TMPL_VAR Name="listprice"-->
244 <label>Invoice Prices are</label><!--TMPL_VAR Name="invoiceprice"-->
247 <label>GST Registered</label>
248 <!-- TMPL_IF name="gstreg" -->Yes<!--TMPL_ELSE-->No<!-- /TMPL_IF -->
251 <label>List Item Price Includes GST</label>
252 <!-- TMPL_IF name="listincgst" -->Yes<!--TMPL_ELSE-->No<!-- /TMPL_IF -->
255 <label>Invoice Item Price Includes GST</label>
256 <!-- TMPL_IF name= "invoiceincgst" -->Yes<!--TMPL_ELSE-->No<!-- /TMPL_IF -->
259 <label>Discount</label>
260 <!-- TMPL_VAR NAME="discount" --> %
264 <!-- TMPL_VAR NAME="notes" -->
270 function confirm_deletion() {
271 if (confirm("Confirm deletion of this supplier ?")) {
272 window.location="/cgi-bin/koha/acqui/supplier.pl?supplierid=<!--TMPL_VAR Name="id"-->&op=delete";
280 <!-- TMPL_INCLUDE NAME="mainmenu.inc" -->
281 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->