a4615c3ee11a1c8e5f635782ba90c15f96a8a59a
[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 //<![CDATA[
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";
9     }
10 }
11 //]]>
12 </script>
13 </head>
14 <body>
15 <!-- TMPL_INCLUDE NAME="header.inc" -->
16 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
17
18
19
20 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> &rsaquo;     <!--TMPL_IF Name="enter"--><!-- TMPL_IF name="id" -->Update: <!-- TMPL_VAR NAME="name" --><!-- TMPL_ELSE -->Add supplier<!-- /TMPL_IF --> <!-- /TMPL_IF --></div>
21
22 <div id="doc3" class="yui-t2">
23    
24    <div id="bd">
25         <div id="yui-main">
26         <div class="yui-b">
27         
28 <!--TMPL_IF Name="enter"-->
29     <form action="updatesupplier.pl" method="post">
30     
31     <input type="hidden" name="id" value="<!-- TMPL_VAR NAME="id" -->" />
32     
33     <!-- TMPL_IF name="id" -->
34         <h1>Update: <!-- TMPL_VAR NAME="name" --></h1>
35     <!-- TMPL_ELSE -->
36         <h1>Add supplier</h1>
37     <!-- /TMPL_IF -->
38         <fieldset>
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>
52         </fieldset>
53         <fieldset>
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>
69         </fieldset>
70         <fieldset>
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>
76                     <!-- TMPL_ELSE -->
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>
79                     <!-- /TMPL_IF --></p>
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" -->
86                     <!-- /TMPL_LOOP -->
87                     </select></p>
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" -->
92                     <!-- /TMPL_LOOP -->
93                     </select></p>
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>
98                                 <!-- TMPL_ELSE -->
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 -->
102                         
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>
107                                 <!-- TMPL_ELSE -->
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 -->
111                         
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>
116                                         <!-- TMPL_ELSE -->
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>
124         </fieldset>
125         <p><input type="submit" value="Save" /></p>
126     </form>
127 <!--TMPL_ELSE-->
128     <h1>Information for : <!-- TMPL_VAR NAME="name" --></h1>
129     <div id="action">
130 <ul>
131         <li>        <a href="supplier.pl?supplierid=<!--TMPL_VAR Name="id"-->&amp;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>
134 </ul>
135         </div>
136         <div id="supplier-company-details">
137             <h3>Company details</h3>
138             <p>Company Name
139                 <!-- TMPL_VAR NAME="name" --></p>
140             <p>Postal Address
141                     <!-- TMPL_VAR NAME="postal" --></p>
142             <p>Physical Address
143                 <!-- TMPL_VAR NAME="address1" --><!-- TMPL_VAR NAME="address2" --><!-- TMPL_VAR NAME="address3" --><!-- TMPL_VAR NAME="address4" --></p>
144             <p>Phone
145                 <!-- TMPL_VAR NAME="phone" --></p>
146             <p>Fax
147                 <!-- TMPL_VAR NAME="fax" --></p>
148             <p>Website
149                 <!-- TMPL_VAR NAME="url" --></p>
150         </div>
151         <div id="supplier-contact-details">
152             <h3>Contact details</h3>
153             <p>Contact name
154                 <!-- TMPL_VAR NAME="contact" --></p>
155             <p>Position
156                 <!-- TMPL_VAR NAME="contpos" --></p>
157             <p>Phone
158                 <!-- TMPL_VAR NAME="contphone" --></p>
159             <p>Alternative phone
160                 <!-- TMPL_VAR NAME="contaltphone" --></p>
161             <p>Fax
162                 <!-- TMPL_VAR NAME="contfax" --></p>
163             <p>E-mail
164                 <!-- TMPL_VAR NAME="contemail" --></p>
165             <p>Notes
166                 <!-- TMPL_VAR NAME="contnotes" --></p>
167         
168         </div>
169         <div id="supplier-ordering-information">
170         <h3>Ordering information</h3>
171             <p>Supplier is
172                     <!-- TMPL_IF name="active" -->
173                         Active
174                     <!-- TMPL_ELSE -->
175                         Inactive
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>
181             <p>GST Registered
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>
187             <p>Discount
188                 <!-- TMPL_VAR NAME="discount" --> %</p>
189             <p>Notes
190                 <!-- TMPL_VAR NAME="notes" --></p>
191         </div>
192
193 <!--/TMPL_IF-->
194
195 </div>
196 </div>
197 <div class="yui-b">
198 <!-- TMPL_INCLUDE NAME="acquisitions-menu.inc" -->
199 </div>
200 </div>
201 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->