Lines 222-235
function submitForm(form) {
Link Here
|
222 |
<h3><label for="billingplace">Billing Place:</label></h3> |
222 |
<h3><label for="billingplace">Billing Place:</label></h3> |
223 |
<select name="billingplace" id="billingplace"> |
223 |
<select name="billingplace" id="billingplace"> |
224 |
[% FOREACH billingplaceloo IN billingplaceloop %] |
224 |
[% FOREACH billingplaceloo IN billingplaceloop %] |
225 |
<option value="[% billingplaceloo.value %]" [% IF ( billingplaceloo.selected ) %]selected[% END %]>[% billingplaceloo.branchname %]</option> |
225 |
[% IF ( billingplaceloo.selected ) %]<option value="[% billingplaceloo.value %]" selected="selected">[% billingplaceloo.branchname %]</option> |
|
|
226 |
[% ELSE %]<option value="[% billingplaceloo.value %]">[% billingplaceloo.branchname %]</option>[% END%] |
226 |
[% END %] |
227 |
[% END %] |
227 |
</select> |
228 |
</select> |
228 |
<h3><label for="deliveryplace">Delivery Place:</label></h3> |
229 |
<h3><label for="deliveryplace">Delivery Place:</label></h3> |
229 |
<select name="deliveryplace" id="deliveryplace"> |
230 |
<select name="deliveryplace" id="deliveryplace"> |
230 |
<option value="">--</option> |
231 |
<option value="">--</option> |
231 |
[% FOREACH deliveryplaceloo IN deliveryplaceloop %] |
232 |
[% FOREACH deliveryplaceloo IN deliveryplaceloop %] |
232 |
<option value="[% deliveryplaceloo.value %]" [% IF ( deliveryplaceloo.selected ) %]selected[% END %]>[% deliveryplaceloo.branchname %]</option> |
233 |
[% IF ( deliveryplaceloo.selected ) %]<option value="[% deliveryplaceloo.value %]" selected="selected">[% deliveryplaceloo.branchname %]</option> |
|
|
234 |
[% ELSE %]<option value="[% deliveryplaceloo.value %]">[% deliveryplaceloo.branchname %]</option>[% END %] |
233 |
[% END %] |
235 |
[% END %] |
234 |
</select> |
236 |
</select> |
235 |
<p>or</p> |
237 |
<p>or</p> |
Lines 272-279
function submitForm(form) {
Link Here
|
272 |
<div class="yui-g"> |
274 |
<div class="yui-g"> |
273 |
<div id="bgtabs" class="yui-navset"> |
275 |
<div id="bgtabs" class="yui-navset"> |
274 |
<ul class="yui-nav"> |
276 |
<ul class="yui-nav"> |
275 |
<li[% UNLESS ( closed ) %] class="selected"[% END %]><a href="#opened"><em>Opened</em></a></li> |
277 |
[% UNLESS ( closed ) %]<li class="selected"><a href="#opened"><em>Opened</em></a></li> |
276 |
<li[% IF ( closed ) %] class="selected"[% END %]><a href="#closed"><em>Closed</em></a></li> |
278 |
[% ELSE%]<li><a href="#opened"><em>Opened</em></a></li>[% END %] |
|
|
279 |
[% IF ( closed ) %]<li class="selected"><a href="#closed"><em>Closed</em></a></li> |
280 |
[% ELSE %]<li><a href="#closed"><em>Closed</em></a></li>[% END %] |
277 |
</ul> |
281 |
</ul> |
278 |
<div class="yui-content"> |
282 |
<div class="yui-content"> |
279 |
<div id="opened"> |
283 |
<div id="opened"> |