View | Details | Raw Unified | Return to bug 6458
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basketgroup.tt (-4 / +8 lines)
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">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/lateorders.tt (-2 / +4 lines)
Lines 38-44 Link Here
38
            <th>&nbsp;</th>
38
            <th>&nbsp;</th>
39
        </tr>
39
        </tr>
40
    [% FOREACH lateorder IN lateorders %]
40
    [% FOREACH lateorder IN lateorders %]
41
        <tr[% UNLESS ( loop.odd ) %] class="highlight"[% END %]> 
41
        [% UNLESS ( loop.odd ) %]<tr class="highlight">
42
        [% ELSE %]<tr>[% END %]
42
            <td>
43
            <td>
43
                [% lateorder.orderdate %]
44
                [% lateorder.orderdate %]
44
                ([% lateorder.latesince %] days)
45
                ([% lateorder.latesince %] days)
Lines 101-107 Link Here
101
		<select id="supplierid" size="1" tabindex="" name="supplierid">
102
		<select id="supplierid" size="1" tabindex="" name="supplierid">
102
			<option value=""/>
103
			<option value=""/>
103
			[% FOREACH SUPPLIER_LOO IN SUPPLIER_LOOP %]
104
			[% FOREACH SUPPLIER_LOO IN SUPPLIER_LOOP %]
104
			<option value="[% SUPPLIER_LOO.id %]"[% IF ( SUPPLIER_LOO.selected ) %] selected="selected"[% END %]>[% SUPPLIER_LOO.name %]</option>
105
                [% IF ( SUPPLIER_LOO.selected ) %]<option value="[% SUPPLIER_LOO.id %]" selected="selected">[% SUPPLIER_LOO.name %]</option>
106
                [% ELSE %]<option value="[% SUPPLIER_LOO.id %]">[% SUPPLIER_LOO.name %]</option>[% END %]
105
        	[% END %]
107
        	[% END %]
106
		</select>
108
		</select>
107
</ol>
109
</ol>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/supplier.tt (-7 / +4 lines)
Lines 89-106 if (f.company.value == "") { Link Here
89
            <li><label for="list_currency">List prices are</label>
89
            <li><label for="list_currency">List prices are</label>
90
                    <select name="list_currency" id="list_currency">
90
                    <select name="list_currency" id="list_currency">
91
                    [% FOREACH loop_currenc IN loop_currency %]
91
                    [% FOREACH loop_currenc IN loop_currency %]
92
                        <option value="[% loop_currenc.currency %]"
92
                        [% IF ( loop_currenc.listprice ) %]<option value="[% loop_currenc.currency %]" selected="1">[% loop_currenc.currency %]</option>
93
                            [% IF ( loop_currenc.listprice ) %]selected="1"[% END %]>
93
                        [% ELSE %]<option value="[% loop_currenc.currency %]">[% loop_currenc.currency %]</option>[% END %]
94
                            [% loop_currenc.currency %]</option>
95
                    [% END %]
94
                    [% END %]
96
                    </select>
95
                    </select>
97
            </li>
96
            </li>
98
            <li><label for="invoice_currency">Invoice prices are</label>
97
            <li><label for="invoice_currency">Invoice prices are</label>
99
                    <select name="invoice_currency" id="invoice_currency">
98
                    <select name="invoice_currency" id="invoice_currency">
100
                    [% FOREACH loop_currenc IN loop_currency %]
99
                    [% FOREACH loop_currenc IN loop_currency %]
101
                        <option value="[% loop_currenc.currency %]"
100
                        [% IF ( loop_currenc.invoiceprice ) %]<option value="[% loop_currenc.currency %]" selected="1">[% loop_currenc.currency %]</option>
102
                            [% IF ( loop_currenc.invoiceprice ) %]selected="1"[% END %]>
101
                        [% ELSE %]<option value="[% loop_currenc.currency %]">[% loop_currenc.currency %]</option>[% END %]
103
                            [% loop_currenc.currency %]</option>
104
                    [% END %]
102
                    [% END %]
105
                    </select>
103
                    </select>
106
            </li>
104
            </li>
107
- 

Return to bug 6458