Lines 106-149
if (f.company.value == "") {
Link Here
|
106 |
</li> |
106 |
</li> |
107 |
</ol> |
107 |
</ol> |
108 |
<ol class="radio"> |
108 |
<ol class="radio"> |
109 |
<!-- TMPL_IF NAME="GST" --><li><label for="gstyes" class="radio">Tax Number Registered:</label> |
109 |
<li><label for="gstyes" class="radio">Tax Number Registered:</label> |
110 |
<!-- TMPL_IF name="gstreg" --> |
110 |
<!-- TMPL_IF name="gstreg" --> |
111 |
<label for="gstyes">Yes</label> <input type="radio" name="gst" id="gstyes" value="1" checked="checked" /> |
111 |
<label for="gstyes">Yes</label> <input type="radio" name="gst" id="gstyes" value="1" checked="checked" /> |
112 |
<label for="gstno">No</label> <input type="radio" name="gst" id="gstno" value="0" /> |
112 |
<label for="gstno">No</label> <input type="radio" name="gst" id="gstno" value="0" /> |
113 |
<!-- TMPL_ELSE --> |
113 |
<!-- TMPL_ELSE --> |
114 |
<label for="gstyes">Yes</label> <input type="radio" name="gst" id="gstyes" value="1" /> |
114 |
<label for="gstyes">Yes</label> <input type="radio" name="gst" id="gstyes" value="1" /> |
115 |
<label for="gstno">No</label> <input type="radio" name="gst" id="gstno" value="0" checked="checked" /> |
115 |
<label for="gstno">No</label> <input type="radio" name="gst" id="gstno" value="0" checked="checked" /> |
116 |
<!-- /TMPL_IF --></li><!-- /TMPL_IF --> |
116 |
<!-- /TMPL_IF --></li> |
117 |
|
117 |
|
118 |
<!-- TMPL_IF NAME="GST" --><li><label for="list_gstyes" class="radio">List prices:</label> |
118 |
<li><label for="list_gstyes" class="radio">List prices:</label> |
119 |
<!-- TMPL_IF name="listincgst" --> |
119 |
<!-- TMPL_IF name="listincgst" --> |
120 |
<label for="list_gstyes">Include tax</label> <input type="radio" id="list_gstyes" name="list_gst" value="1" checked="checked" /> |
120 |
<label for="list_gstyes">Include tax</label> <input type="radio" id="list_gstyes" name="list_gst" value="1" checked="checked" /> |
121 |
<label for="list_gstno">Don't include tax</label> <input type="radio" id="list_gstno" name="list_gst" value="0" /> |
121 |
<label for="list_gstno">Don't include tax</label> <input type="radio" id="list_gstno" name="list_gst" value="0" /> |
122 |
<!-- TMPL_ELSE --> |
122 |
<!-- TMPL_ELSE --> |
123 |
<label for="list_gstyes">Include tax</label> <input type="radio" id="list_gstyes" name="list_gst" value="1" /> |
123 |
<label for="list_gstyes">Include tax</label> <input type="radio" id="list_gstyes" name="list_gst" value="1" /> |
124 |
<label for="list_gstno">Don't include tax</label> <input type="radio" id="list_gstno" name="list_gst" value="0" checked="checked" /> |
124 |
<label for="list_gstno">Don't include tax</label> <input type="radio" id="list_gstno" name="list_gst" value="0" checked="checked" /> |
125 |
<!-- /TMPL_IF --></li><!-- /TMPL_IF --> |
125 |
<!-- /TMPL_IF --></li> |
126 |
|
126 |
|
127 |
<!-- TMPL_IF NAME="GST" --><li><label for="invoice_gstyes" class="radio">Invoice prices:</label> |
127 |
<li><label for="invoice_gstyes" class="radio">Invoice prices:</label> |
128 |
<!-- TMPL_IF name= "invoiceincgst" --> |
128 |
<!-- TMPL_IF name= "invoiceincgst" --> |
129 |
<label for="invoice_gstyes">Include tax</label> <input type="radio" id="invoice_gstyes" name="invoice_gst" value="1" checked="checked" /> |
129 |
<label for="invoice_gstyes">Include tax</label> <input type="radio" id="invoice_gstyes" name="invoice_gst" value="1" checked="checked" /> |
130 |
<label for="invoice_gstno">Don't include tax</label> <input type="radio" id="invoice_gstno" name="invoice_gst" value="0" /> |
130 |
<label for="invoice_gstno">Don't include tax</label> <input type="radio" id="invoice_gstno" name="invoice_gst" value="0" /> |
131 |
<!-- TMPL_ELSE --> |
131 |
<!-- TMPL_ELSE --> |
132 |
<label for="invoice_gstyes">Include tax</label> <input type="radio" id="invoice_gstyes" name="invoice_gst" value="1" /> |
132 |
<label for="invoice_gstyes">Include tax</label> <input type="radio" id="invoice_gstyes" name="invoice_gst" value="1" /> |
133 |
<label for="invoice_gstno">Don't include tax</label> <input type="radio" id="invoice_gstno" name="invoice_gst" value="0" checked="checked" /> |
133 |
<label for="invoice_gstno">Don't include tax</label> <input type="radio" id="invoice_gstno" name="invoice_gst" value="0" checked="checked" /> |
134 |
<!-- /TMPL_IF --></li><!-- /TMPL_IF --> |
134 |
<!-- /TMPL_IF --></li> |
135 |
</ol> |
135 |
</ol> |
136 |
<ol> |
136 |
<ol> |
137 |
<li><label for="discount">Discount</label> |
137 |
<li><label for="discount">Discount</label> |
138 |
<input type="text" size="5" id="discount" name="discount" value="<!-- TMPL_VAR NAME="discount" -->" /> %</li> |
138 |
<input type="text" size="6" id="discount" name="discount" value="<!-- TMPL_VAR NAME="discount" -->" />%</li> |
139 |
<!-- TMPL_IF NAME="GST" --><li><label for="gstrate">Tax rate</label><input type="text" name="gstrate" id="gstrate" size="5" value="<!-- TMPL_VAR name="gstrate" -->"/> %</li><!-- /TMPL_IF --> |
139 |
<li><label for="gstrate">Tax rate</label><input type="text" name="gstrate" id="gstrate" size="6" value="<!-- TMPL_VAR name="gstrate" -->"/>% (leave blank for default tax of <!-- TMPL_VAR name="default_gst_rate" -->%)</li> |
140 |
<li><label for="notes">Notes</label> |
140 |
<li><label for="notes">Notes</label> |
141 |
<textarea cols="40" rows="4" id="notes" name="notes" ><!-- TMPL_VAR NAME="notes" --></textarea></li></ol> |
141 |
<textarea cols="40" rows="4" id="notes" name="notes" ><!-- TMPL_VAR NAME="notes" --></textarea></li></ol> |
142 |
<!-- TMPL_UNLESS NAME="GST" --> |
|
|
143 |
<input type="hidden" name="gst" value="0" /> |
144 |
<input type="hidden" name="list_gst" value="0" /> |
145 |
<input type="hidden" name="invoice_gst" value="0" /> |
146 |
<!-- /TMPL_UNLESS --> |
147 |
</fieldset> |
142 |
</fieldset> |
148 |
<fieldset class="action"><input type="button" value="Save" onclick="check(this.form);" /> <!--TMPL_IF Name="id"--> |
143 |
<fieldset class="action"><input type="button" value="Save" onclick="check(this.form);" /> <!--TMPL_IF Name="id"--> |
149 |
<a class="cancel" href="/cgi-bin/koha/acqui/supplier.pl?supplierid=<!--TMPL_VAR Name="id"-->"><!--TMPL_ELSE--><a class="cancel" href="/cgi-bin/koha/acqui/acqui-home.pl"> |
144 |
<a class="cancel" href="/cgi-bin/koha/acqui/supplier.pl?supplierid=<!--TMPL_VAR Name="id"-->"><!--TMPL_ELSE--><a class="cancel" href="/cgi-bin/koha/acqui/acqui-home.pl"> |
Lines 197-204
if (f.company.value == "") {
Link Here
|
197 |
<!-- TMPL_IF name= "invoiceincgst" -->Yes<!--TMPL_ELSE-->No<!-- /TMPL_IF --></p><!-- /TMPL_IF --> |
192 |
<!-- TMPL_IF name= "invoiceincgst" -->Yes<!--TMPL_ELSE-->No<!-- /TMPL_IF --></p><!-- /TMPL_IF --> |
198 |
<p><strong>Discount: </strong> |
193 |
<p><strong>Discount: </strong> |
199 |
<!-- TMPL_VAR NAME="discount" --> %</p> |
194 |
<!-- TMPL_VAR NAME="discount" --> %</p> |
200 |
<!-- TMPL_IF NAME="GST" --><p><strong>Tax rate: </strong> |
195 |
<p><strong>Tax rate: </strong> |
201 |
<!-- TMPL_VAR name="GST" -->%</p><!-- /TMPL_IF --> |
196 |
<!-- TMPL_VAR name="GST" -->%<!-- TMPL_UNLESS name="default_tax" --> (default)<!-- /TMPL_UNLESS --></p> |
202 |
<!-- TMPL_IF NAME="notes" --><p><strong>Notes: </strong> |
197 |
<!-- TMPL_IF NAME="notes" --><p><strong>Notes: </strong> |
203 |
<!-- TMPL_VAR NAME="notes" --></p><!-- /TMPL_IF --> |
198 |
<!-- TMPL_VAR NAME="notes" --></p><!-- /TMPL_IF --> |
204 |
</div> |
199 |
</div> |
205 |
- |
|
|