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" -->
4 <!-- TMPL_INCLUDE NAME="header.inc" -->
5 <!-- TMPL_INCLUDE NAME="menu-acqui.inc" -->
7 <div id="doc3" class="yui-t2">
11 <div class="yui-b"><div class="yui-g">
13 <!--TMPL_IF Name="enter"-->
14 <form action="updatesupplier.pl" method="post">
16 <input type="hidden" name="id" value="<!-- TMPL_VAR NAME="id" -->" />
18 <!-- TMPL_IF name="id" -->
19 <h1>Update: <!-- TMPL_VAR NAME="name" --></h1>
24 <legend>Company details</legend>
26 <label>Company Name</label>
27 <input type="text" size="40" name="company" value="<!-- TMPL_VAR NAME="name" -->" />
30 <label>Postal Address</label>
31 <textarea name="company_postal" cols="40" rows="3"><!-- TMPL_VAR NAME="postal" --></textarea>
34 <label>Physical Address</label>
35 <textarea name="physical" cols="40" rows="3"><!-- TMPL_VAR NAME="address1" --><!-- TMPL_VAR NAME="address2" --><!-- TMPL_VAR NAME="address3" --><!-- TMPL_VAR NAME="address4" --></textarea>
39 <input type="text" size="20" name="company_phone" value="<!-- TMPL_VAR NAME="phone" -->" />
43 <input type="text" size="20" name="company_fax" value="<!-- TMPL_VAR NAME="fax" -->" />
46 <label>Website</label>
47 <input type="text" size="40" name="website" value="<!-- TMPL_VAR NAME="url" -->" />
51 <legend>Contact details</legend>
53 <label>Contact Name</label>
54 <input type="text" size="40" name="company_contact_name" value="<!-- TMPL_VAR NAME="contact" -->" />
57 <label>Position</label>
58 <input type="text" size="40" name="company_contact_position" value="<!-- TMPL_VAR NAME="contpos" -->" />
62 <input type="text" size="20" name="contact_phone" value="<!-- TMPL_VAR NAME="contphone" -->" />
65 <label>Alternative phone</label>
66 <input type="text" size="20" name="contact_phone_2" value="<!-- TMPL_VAR NAME="contaltphone" -->" />
70 <input type="text" size="20" name="contact_fax" value="<!-- TMPL_VAR NAME="contfax" -->" />
74 <input type="text" size="40" name="company_email" value="<!-- TMPL_VAR NAME="contemail" -->" />
78 <textarea name="contact_notes" cols="40" rows="4"><!-- TMPL_VAR NAME="contnotes" --></textarea>
82 <legend>Ordering information</legend>
84 <label>Supplier is</label>
85 <!-- TMPL_IF name="active" -->
86 <input type="radio" name="status" value="1" checked="checked" />Active
87 <input type="radio" name="status" value="0" />Inactive</td>
89 <input type="radio" name="status" value="1" />Active
90 <input type="radio" name="status" value="0" checked="checked" />Inactive</td>
94 <label>Preferred publishers</label>
95 <textarea name="publishers_imprints" cols="40" rows="3"><!-- TMPL_VAR NAME="specialty" --></textarea>
98 <label>List Prices are</label>
99 <select name="list_currency" size="1">
100 <!-- TMPL_LOOP NAME="loop_pricescurrency" -->
101 <!-- TMPL_VAR NAME="currency" -->
106 <label>Invoice Prices are</label>
107 <select name="invoice_currency" size="1">
108 <!-- TMPL_LOOP NAME="loop_invoicecurrency" -->
109 <!-- TMPL_VAR NAME="currency" -->
113 <!-- TMPL_IF NAME="GST" --><p>
114 <label>GST Registered</label>
115 <!-- TMPL_IF name="gstreg" -->
116 <input type="radio" name="gst" value="1" checked="checked" />Yes
117 <input type="radio" name="gst" value="0" />No
119 <input type="radio" name="gst" value="1" />Yes
120 <input type="radio" name="gst" value="0" checked="checked" />No
122 </p><!-- TMPL_ELSE --><input type="hidden" name="gst" value="0" /><!-- /TMPL_IF -->
124 <!-- TMPL_IF NAME="GST" --><p>
125 <label>Ordering prices</label>
126 <!-- TMPL_IF name="listincgst" -->
127 <input type="radio" name="list_gst" value="1" checked="checked" />include GST
128 <input type="radio" name="list_gst" value="0" />don't include GST
130 <input type="radio" name="list_gst" value="1" />include GST
131 <input type="radio" name="list_gst" value="0" checked="checked" />don't include GST
133 </p><!-- TMPL_ELSE --><input type="hidden" name="list_gst" value="0" /><!-- /TMPL_IF -->
135 <!-- TMPL_IF NAME="GST" --><p>
136 <label>Invoice prices</label>
137 <!-- TMPL_IF name= "invoiceincgst" -->
138 <input type="radio" name="invoice_gst" value="1" checked="checked" />include GST
139 <input type="radio" name="invoice_gst" value="0" />don't include GST
141 <input type="radio" name="invoice_gst" value="1">include GST
142 <input type="radio" name="invoice_gst" value="0" checked="checked" />don't include GST
144 </p><!-- TMPL_ELSE --><input type="hidden" name="invoice_gst" value="0" /><!-- /TMPL_IF -->
146 <label>Discount</label>
147 <input type="text" size="3" name="discount" value="<!-- TMPL_VAR NAME="discount" -->" /> %
151 <textarea cols="40" rows="4" name="notes" ><!-- TMPL_VAR NAME="notes" --></textarea>
154 <p><input type="submit" value="Save" /></p>
157 <h1>Information for : <!-- TMPL_VAR NAME="name" --></h1>
160 <li> <a href="supplier.pl?supplierid=<!--TMPL_VAR Name="id"-->&op=enter">Edit Supplier</a></li>
161 <li> <a href="booksellers.pl?supplier=<!--TMPL_VAR Name="id"-->">Manage Orders</a></li>
162 <li> <a href="parcels.pl?supplierid=<!--TMPL_VAR Name="id"-->">Receive Parcel</a></li>
166 <legend>Company details</legend>
168 <label>Company Name</label>
169 <!-- TMPL_VAR NAME="name" -->
172 <label>Postal Address</label>
173 <!-- TMPL_VAR NAME="postal" -->
176 <label>Physical Address</label>
177 <!-- TMPL_VAR NAME="address1" --><!-- TMPL_VAR NAME="address2" --><!-- TMPL_VAR NAME="address3" --><!-- TMPL_VAR NAME="address4" -->
181 <!-- TMPL_VAR NAME="phone" -->
185 <!-- TMPL_VAR NAME="fax" -->
188 <label>Website</label>
189 <!-- TMPL_VAR NAME="url" -->
193 <legend>Contact details</legend>
195 <label>Contact name</label>
196 <!-- TMPL_VAR NAME="contact" -->
199 <label>Position</label>
200 <!-- TMPL_VAR NAME="contpos" -->
204 <!-- TMPL_VAR NAME="contphone" -->
207 <label>Alternative phone</label>
208 <!-- TMPL_VAR NAME="contaltphone" -->
212 <!-- TMPL_VAR NAME="contfax" -->
215 <label>E-mail</label>
216 <!-- TMPL_VAR NAME="contemail" -->
220 <!-- TMPL_VAR NAME="contnotes" -->
225 <legend>Ordering informations</legend>
227 <label>Supplier is</label>
228 <!-- TMPL_IF name="active" -->
235 <label>Publishers and Imprints</label>
236 <!-- TMPL_VAR NAME="specialty" -->
239 <label>List Prices are</label><!--TMPL_VAR Name="listprice"-->
242 <label>Invoice Prices are</label><!--TMPL_VAR Name="invoiceprice"-->
245 <label>GST Registered</label>
246 <!-- TMPL_IF name="gstreg" -->Yes<!--TMPL_ELSE-->No<!-- /TMPL_IF -->
249 <label>List Item Price Includes GST</label>
250 <!-- TMPL_IF name="listincgst" -->Yes<!--TMPL_ELSE-->No<!-- /TMPL_IF -->
253 <label>Invoice Item Price Includes GST</label>
254 <!-- TMPL_IF name= "invoiceincgst" -->Yes<!--TMPL_ELSE-->No<!-- /TMPL_IF -->
257 <label>Discount</label>
258 <!-- TMPL_VAR NAME="discount" --> %
262 <!-- TMPL_VAR NAME="notes" -->
268 function confirm_deletion() {
269 if (confirm("Confirm deletion of this supplier ?")) {
270 window.location="/cgi-bin/koha/acqui/supplier.pl?supplierid=<!--TMPL_VAR Name="id"-->&op=delete";
278 <!-- TMPL_INCLUDE NAME="mainmenu.inc" -->
279 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->