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 <script type="text/javascript">
6 function confirm_deletion() {
7 if (confirm("Confirm deletion of this supplier ?")) {
8 window.location="/cgi-bin/koha/acqui/supplier.pl?supplierid=<!--TMPL_VAR Name="id"-->&op=delete";
15 <!-- TMPL_INCLUDE NAME="header.inc" -->
16 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
20 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> › <!--TMPL_IF Name="enter"--><!-- TMPL_IF name="id" -->Update: <!-- TMPL_VAR NAME="name" --><!-- TMPL_ELSE -->Add supplier<!-- /TMPL_IF --> <!-- /TMPL_IF --></div>
22 <div id="doc3" class="yui-t2">
28 <!--TMPL_IF Name="enter"-->
29 <form action="updatesupplier.pl" method="post">
31 <input type="hidden" name="id" value="<!-- TMPL_VAR NAME="id" -->" />
33 <!-- TMPL_IF name="id" -->
34 <h1>Update: <!-- TMPL_VAR NAME="name" --></h1>
39 <legend>Company details</legend>
40 <p><label for="company">Company Name</label>
41 <input type="text" size="40" id="company" name="company" value="<!-- TMPL_VAR NAME="name" -->" /></p>
42 <p><label for="company_postal">Postal Address</label>
43 <textarea id="company_postal" name="company_postal" cols="40" rows="3"><!-- TMPL_VAR NAME="postal" --></textarea></p>
44 <p><label for="physical">Physical Address</label>
45 <textarea id="physical" name="physical" cols="40" rows="3"><!-- TMPL_VAR NAME="address1" --><!-- TMPL_VAR NAME="address2" --><!-- TMPL_VAR NAME="address3" --><!-- TMPL_VAR NAME="address4" --></textarea></p>
46 <p><label for="company_phone">Phone</label>
47 <input type="text" size="20" id="company_phone" name="company_phone" value="<!-- TMPL_VAR NAME="phone" -->" /></p>
48 <p><label for="company_fax">Fax</label>
49 <input type="text" size="20" id="company_fax" name="company_fax" value="<!-- TMPL_VAR NAME="fax" -->" /></p>
50 <p><label for="website">Website</label>
51 <input type="text" size="40" id="website" name="website" value="<!-- TMPL_VAR NAME="url" -->" /></p>
54 <legend>Contact details</legend>
55 <p><label for="company_contact_name">Contact Name</label>
56 <input type="text" size="40" id="company_contact_name" name="company_contact_name" value="<!-- TMPL_VAR NAME="contact" -->" /></p>
57 <p><label for="company_contact_position">Position</label>
58 <input type="text" size="40" id="company_contact_position" name="company_contact_position" value="<!-- TMPL_VAR NAME="contpos" -->" /></p>
59 <p><label for="contact_phone">Phone</label>
60 <input type="text" size="20" id="contact_phone" name="contact_phone" value="<!-- TMPL_VAR NAME="contphone" -->" /> </p>
61 <p><label for="contact_phone_2">Alternative phone</label>
62 <input type="text" size="20" id="contact_phone_2" name="contact_phone_2" value="<!-- TMPL_VAR NAME="contaltphone" -->" /></p>
63 <p><label for="contact_fax">Fax</label>
64 <input type="text" size="20" id="contact_fax" name="contact_fax" value="<!-- TMPL_VAR NAME="contfax" -->" /></p>
65 <p><label for="company_email">E-mail</label>
66 <input type="text" size="40" id="company_email" name="company_email" value="<!-- TMPL_VAR NAME="contemail" -->" /></p>
67 <p><label for="contact_notes">Notes</label>
68 <textarea id="contact_notes" name="contact_notes" cols="40" rows="4"><!-- TMPL_VAR NAME="contnotes" --></textarea></p>
71 <legend>Ordering information</legend>
72 <p><strong>Supplier is</strong>
73 <!-- TMPL_IF name="active" -->
74 <input type="radio" id="activestatus" name="status" value="1" checked="checked" /><label for="activestatus">Active</label>
75 <input type="radio" id="inactivestatus" name="status" value="0" /><label for="inactivestatus">Inactive</label>
77 <input type="radio" id="activestatus" name="status" value="1" /><label for="activestatus">Active</label>
78 <input type="radio" id="inactivestatus" name="status" value="0" checked="checked" /><label for="inactivestatus">Inactive</label>
80 <p><label for="publishers_imprints">Preferred publishers</label>
81 <textarea id="publishers_imprints" name="publishers_imprints" cols="40" rows="3"><!-- TMPL_VAR NAME="specialty" --></textarea></p>
82 <p><label for="list_currency">List Prices are</label>
83 <select name="list_currency" id="list_currency">
84 <!-- TMPL_LOOP NAME="loop_pricescurrency" -->
85 <!-- TMPL_VAR NAME="currency" -->
88 <p><label for="invoice_currency">Invoice Prices are</label>
89 <select name="invoice_currency" id="invoice_currency">
90 <!-- TMPL_LOOP NAME="loop_invoicecurrency" -->
91 <!-- TMPL_VAR NAME="currency" -->
94 <!-- TMPL_IF NAME="GST" --><p><strong>GST Registered</strong>
95 <!-- TMPL_IF name="gstreg" -->
96 <input type="radio" name="gst" id="gstyes" value="1" checked="checked" /><label for="gstyes">Yes</label>
97 <input type="radio" name="gst" id="gstno" value="0" /><label for="gstno">No</label>
99 <input type="radio" name="gst" id="gstyes" value="1" /><label for="gstyes">Yes</label>
100 <input type="radio" name="gst" id="gstno" value="0" checked="checked" /><label for="gstno">No</label>
101 <!-- /TMPL_IF --></p><!-- TMPL_ELSE --><input type="hidden" name="gst" value="0" /><!-- /TMPL_IF -->
103 <!-- TMPL_IF NAME="GST" --><p><strong>Ordering prices</strong>
104 <!-- TMPL_IF name="listincgst" -->
105 <input type="radio" id="list_gstyes" name="list_gst" value="1" checked="checked" /><label for="list_gstyes">include GST</label>
106 <input type="radio" id="list_gstno" name="list_gst" value="0" /><label for="list_gstno">don't include GST</label>
108 <input type="radio" id="list_gstyes" name="list_gst" value="1" /><label for="list_gstyes">include GST</label>
109 <input type="radio" id="list_gstno" name="list_gst" value="0" checked="checked" /><label for="list_gstno">don't include GST</label>
110 <!-- /TMPL_IF --></p><!-- TMPL_ELSE --><input type="hidden" name="list_gst" value="0" /><!-- /TMPL_IF -->
112 <!-- TMPL_IF NAME="GST" --><p><strong>Invoice prices</strong>
113 <!-- TMPL_IF name= "invoiceincgst" -->
114 <input type="radio" id="invoice_gstyes" name="invoice_gst" value="1" checked="checked" /><label for="invoice_gstyes">include GST</label>
115 <input type="radio" id="invoice_gstno" name="invoice_gst" value="0" /><label for="invoice_gstno">don't include GST</label>
117 <input type="radio" id="invoice_gstyes" name="invoice_gst" value="1"><label for="invoice_gstyes">include GST</label>
118 <input type="radio" id="invoice_gstno" name="invoice_gst" value="0" checked="checked" /><label for="invoice_gstno">don't include GST</label>
119 <!-- /TMPL_IF --></p><!-- TMPL_ELSE --><input type="hidden" name="invoice_gst" value="0" /><!-- /TMPL_IF -->
120 <p><label for="discount">Discount</label>
121 <input type="text" size="3" id="discount" name="discount" value="<!-- TMPL_VAR NAME="discount" -->" /> %</p>
122 <p><label for="notes">Notes</label>
123 <textarea cols="40" rows="4" id="notes" name="notes" ><!-- TMPL_VAR NAME="notes" --></textarea></p>
125 <p><input type="submit" value="Save" /></p>
128 <h1>Information for : <!-- TMPL_VAR NAME="name" --></h1>
131 <li> <a href="supplier.pl?supplierid=<!--TMPL_VAR Name="id"-->&op=enter">Edit Supplier</a></li>
132 <li> <a href="booksellers.pl?supplier=<!--TMPL_VAR Name="id"-->">Manage Orders</a></li>
133 <li> <a href="parcels.pl?supplierid=<!--TMPL_VAR Name="id"-->">Receive Parcel</a></li>
136 <div id="supplier-company-details">
137 <h3>Company details</h3>
139 <!-- TMPL_VAR NAME="name" --></p>
141 <!-- TMPL_VAR NAME="postal" --></p>
143 <!-- TMPL_VAR NAME="address1" --><!-- TMPL_VAR NAME="address2" --><!-- TMPL_VAR NAME="address3" --><!-- TMPL_VAR NAME="address4" --></p>
145 <!-- TMPL_VAR NAME="phone" --></p>
147 <!-- TMPL_VAR NAME="fax" --></p>
149 <!-- TMPL_VAR NAME="url" --></p>
151 <div id="supplier-contact-details">
152 <h3>Contact details</h3>
154 <!-- TMPL_VAR NAME="contact" --></p>
156 <!-- TMPL_VAR NAME="contpos" --></p>
158 <!-- TMPL_VAR NAME="contphone" --></p>
160 <!-- TMPL_VAR NAME="contaltphone" --></p>
162 <!-- TMPL_VAR NAME="contfax" --></p>
164 <!-- TMPL_VAR NAME="contemail" --></p>
166 <!-- TMPL_VAR NAME="contnotes" --></p>
169 <div id="supplier-ordering-information">
170 <h3>Ordering information</h3>
172 <!-- TMPL_IF name="active" -->
176 <!-- /TMPL_IF --></p>
177 <p>Publishers and Imprints
178 <!-- TMPL_VAR NAME="specialty" --></p>
179 <p>List Prices are<!--TMPL_VAR Name="listprice"--></p>
180 <p>Invoice Prices are<!--TMPL_VAR Name="invoiceprice"--></p>
182 <!-- TMPL_IF name="gstreg" -->Yes<!--TMPL_ELSE-->No<!-- /TMPL_IF --></p>
183 <p>List Item Price Includes GST
184 <!-- TMPL_IF name="listincgst" -->Yes<!--TMPL_ELSE-->No<!-- /TMPL_IF --></p>
185 <p>Invoice Item Price Includes GST
186 <!-- TMPL_IF name= "invoiceincgst" -->Yes<!--TMPL_ELSE-->No<!-- /TMPL_IF --></p>
188 <!-- TMPL_VAR NAME="discount" --> %</p>
190 <!-- TMPL_VAR NAME="notes" --></p>
198 <!-- TMPL_INCLUDE NAME="acquisitions-menu.inc" -->
201 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->