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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt (-192 / +189 lines)
Lines 87-93 Link Here
87
                        Add orders from [% comments | html %]
87
                        Add orders from [% comments | html %]
88
                        ([% file_name | html %] staged on [% upload_timestamp | $KohaDates  with_hours => 1 %])
88
                        ([% file_name | html %] staged on [% upload_timestamp | $KohaDates  with_hours => 1 %])
89
                    </h1>
89
                    </h1>
90
                    <form action="/cgi-bin/koha/acqui/addorderiso2709.pl" method="post" id="Aform">
90
                    <form action="/cgi-bin/koha/acqui/addorderiso2709.pl" method="post" id="Aform" class="validated">
91
                        [% WRAPPER tabs id= "tabs" %]
91
                        [% WRAPPER tabs id= "tabs" %]
92
                            [% WRAPPER tabs_nav %]
92
                            [% WRAPPER tabs_nav %]
93
                                [% WRAPPER tab_item tabname= "records_to_import" bt_active= 1 %] <span>Select to import</span> [% END %]
93
                                [% WRAPPER tab_item tabname= "records_to_import" bt_active= 1 %] <span>Select to import</span> [% END %]
Lines 161-371 Link Here
161
                                                            <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;importid=[% biblio.import_record_id | uri %]" class="previewData btn btn-default btn-xs">Card</a>
161
                                                            <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;importid=[% biblio.import_record_id | uri %]" class="previewData btn btn-default btn-xs">Card</a>
162
                                                            <a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]&amp;breedingid=[% biblio.import_record_id | uri %]&amp;import_batch_id=[% biblio.import_batch_id | uri %]&amp;biblionumber=[% biblio.match_biblionumber | uri %]" class="btn btn-default btn-xs">Add order</a>
162
                                                            <a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]&amp;breedingid=[% biblio.import_record_id | uri %]&amp;import_batch_id=[% biblio.import_batch_id | uri %]&amp;biblionumber=[% biblio.match_biblionumber | uri %]" class="btn btn-default btn-xs">Add order</a>
163
                                                        </span>
163
                                                        </span>
164
                                                        <form action="/cgi-bin/koha/acqui/addorderiso2709.pl" class="validated">
165
                                                            <fieldset class="rows order_details">
164
                                                            <fieldset class="rows order_details">
166
                                                                <ol>
165
                                                            <ol>
167
                                                                    <li class="status">
166
                                                                <li class="status">
168
                                                                        <span class="label">Match:</span>
167
                                                                    <span class="label">Match:</span>
169
                                                                        <span class="match">
168
                                                                    <span class="match">
170
                                                                            [% IF ( biblio_lis.overlay_status == 'no_match' ) %]
169
                                                                        [% IF ( biblio_lis.overlay_status == 'no_match' ) %]
171
                                                                            <span>No match</span>
170
                                                                        <span>No match</span>
172
                                                                            [% ELSIF ( biblio_lis.overlay_status == 'match_applied' ) %]
171
                                                                        [% ELSIF ( biblio_lis.overlay_status == 'match_applied' ) %]
173
                                                                            <span>Match applied</span>
172
                                                                        <span>Match applied</span>
174
                                                                            [% ELSIF ( biblio_lis.overlay_status == 'auto_match' ) %]
173
                                                                        [% ELSIF ( biblio_lis.overlay_status == 'auto_match' ) %]
175
                                                                            <span>Match found</span>
174
                                                                        <span>Match found</span>
176
                                                                            [% ELSE %]
177
                                                                                [% biblio_lis.overlay_status | html %]
178
                                                                            [% END %]
179
                                                                            [% IF ( biblio.match_biblionumber ) %]
180
                                                                            <span>Matches biblio [% biblio.match_biblionumber | uri %]</span> (score = [% biblio.match_score | html %]): <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.match_biblionumber | uri %]">[% biblio.match_citation | html %]</a>
181
                                                                            [% END %]
182
                                                                        </span>
183
                                                                    </li>
184
                                                                    <li class="quantity">
185
                                                                        <label for="quantity_record_[% biblio.import_record_id | html %]" class="required">Quantity: </label>
186
                                                                        <input id="quantity_record_[% biblio.import_record_id | html %]" type="text" pattern="[0-9]+" value="[% biblio.quantity.length ? biblio.quantity : 1 | html %]" name="quantity" />
187
                                                                        <span class="required">Required</span>
188
                                                                    </li>
189
                                                                    <li class="price">
190
                                                                        <label for="price_record_[% biblio.import_record_id | html %]">Price: </label>
191
                                                                        <input id="price_record_[% biblio.import_record_id | html %]" class="decimal" type="text" value="[% biblio.price | $Price on_editing => 1 %]" name="price" />
192
                                                                    </li>
193
                                                                    <li class="replacementprice">
194
                                                                        <label for="replacementprice_record_[% biblio.import_record_id | html %]">Replacement price: </label>
195
                                                                        <input id="replacementprice_record_[% biblio.import_record_id | html %]" class="decimal" type="text" value="[% biblio.replacementprice | $Price on_editing => 1 %]" name="replacementprice" />
196
                                                                    </li>
197
                                                                    <li class="discount">
198
                                                                        <label for="discount_record_[% biblio.import_record_id | html %]">Discount: </label>
199
                                                                        <input id="discount_record_[% biblio.import_record_id | html %]" type="text" value="[% biblio.discount | html %]" name="discount" size="6" /> %
200
                                                                        <div class="hint">If empty, discount rate from vendor will be used</div>
201
                                                                    </li>
202
                                                                    <li class="fund">
203
                                                                        [% IF ( close ) %]
204
                                                                            <label for="fund_record_[% biblio.import_record_id | html %]">Fund: </label>
205
                                                                            <input type="hidden" size="20" name="budget_id" value="[% budget_id | html %]" />[% Budget_name | html %]
206
                                                                        [% ELSE %]
175
                                                                        [% ELSE %]
207
                                                                            <label for="fund_record_[% biblio.import_record_id | html %]">Fund: </label>
176
                                                                            [% biblio_lis.overlay_status | html %]
208
                                                                            <select id="fund_record_[% biblio.import_record_id | html %]" name="budget_id">
177
                                                                        [% END %]
209
                                                                                <option value="">Select a fund (will use default if set)</option>
178
                                                                        [% IF ( biblio.match_biblionumber ) %]
210
                                                                                [% FOREACH budget IN budget_loop %]
179
                                                                        <span>Matches biblio [% biblio.match_biblionumber | uri %]</span> (score = [% biblio.match_score | html %]): <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.match_biblionumber | uri %]">[% biblio.match_citation | html %]</a>
211
                                                                                    [% IF ( budget.b_id == biblio.budget_id ) %]
180
                                                                        [% END %]
212
                                                                                    [% IF budget.b_active %]
181
                                                                    </span>
213
                                                                                        <option value="[% budget.b_id | html %]" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]" selected="selected">[% budget.b_txt | html %]</option>
182
                                                                </li>
214
                                                                                    [% ELSE %]
183
                                                                <li class="quantity">
215
                                                                                    <option value="[% budget.b_id | html %]" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]" selected="selected">[% budget.b_txt | html %] (inactive)</option>
184
                                                                    <label for="quantity_record_[% biblio.import_record_id | html %]" class="required">Quantity: </label>
216
                                                                                [% END %]
185
                                                                    <input id="quantity_record_[% biblio.import_record_id | html %]" type="text" pattern="[0-9]+" value="[% biblio.quantity.length ? biblio.quantity : 1 | html %]" name="quantity" />
186
                                                                    <span class="required">Required</span>
187
                                                                </li>
188
                                                                <li class="price">
189
                                                                    <label for="price_record_[% biblio.import_record_id | html %]">Price: </label>
190
                                                                    <input id="price_record_[% biblio.import_record_id | html %]" class="decimal" type="text" value="[% biblio.price | $Price on_editing => 1 %]" name="price" />
191
                                                                </li>
192
                                                                <li class="replacementprice">
193
                                                                    <label for="replacementprice_record_[% biblio.import_record_id | html %]">Replacement price: </label>
194
                                                                    <input id="replacementprice_record_[% biblio.import_record_id | html %]" class="decimal" type="text" value="[% biblio.replacementprice | $Price on_editing => 1 %]" name="replacementprice" />
195
                                                                </li>
196
                                                                <li class="discount">
197
                                                                    <label for="discount_record_[% biblio.import_record_id | html %]">Discount: </label>
198
                                                                    <input id="discount_record_[% biblio.import_record_id | html %]" type="text" value="[% biblio.discount | html %]" name="discount" size="6" /> %
199
                                                                    <div class="hint">If empty, discount rate from vendor will be used</div>
200
                                                                </li>
201
                                                                <li class="fund">
202
                                                                    [% IF ( close ) %]
203
                                                                        <label for="fund_record_[% biblio.import_record_id | html %]">Fund: </label>
204
                                                                        <input type="hidden" size="20" name="budget_id" value="[% budget_id | html %]" />[% Budget_name | html %]
205
                                                                    [% ELSE %]
206
                                                                        <label for="fund_record_[% biblio.import_record_id | html %]">Fund: </label>
207
                                                                        <select id="fund_record_[% biblio.import_record_id | html %]" name="budget_id">
208
                                                                            <option value="">Select a fund (will use default if set)</option>
209
                                                                            [% FOREACH budget IN budget_loop %]
210
                                                                                [% IF ( budget.b_id == biblio.budget_id ) %]
211
                                                                                [% IF budget.b_active %]
212
                                                                                    <option value="[% budget.b_id | html %]" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]" selected="selected">[% budget.b_txt | html %]</option>
217
                                                                                [% ELSE %]
213
                                                                                [% ELSE %]
218
                                                                                    [% IF budget.b_active %]<option value="[% budget.b_id | html %]" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]">[% budget.b_txt | html %]</option>
214
                                                                                <option value="[% budget.b_id | html %]" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]" selected="selected">[% budget.b_txt | html %] (inactive)</option>
219
                                                                                    [% ELSE %]<option value="[% budget.b_id | html %]" class="b_inactive" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]">[% budget.b_txt | html %] (inactive)</option>
215
                                                                            [% END %]
220
                                                                                    [% END %]
216
                                                                            [% ELSE %]
221
                                                                                    [% END %]
217
                                                                                [% IF budget.b_active %]<option value="[% budget.b_id | html %]" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]">[% budget.b_txt | html %]</option>
218
                                                                                [% ELSE %]<option value="[% budget.b_id | html %]" class="b_inactive" data-sort1-authcat="[% budget.b_sort1_authcat | html %]" data-sort2-authcat="[% budget.b_sort2_authcat | html %]">[% budget.b_txt | html %] (inactive)</option>
222
                                                                                [% END %]
219
                                                                                [% END %]
223
                                                                            </select>
220
                                                                                [% END %]
224
                                                                            <span class="required" style="display:none">Required</span>
221
                                                                            [% END %]
225
                                                                        [% END %]
222
                                                                        </select>
226
                                                                    </li>
223
                                                                        <span class="required" style="display:none">Required</span>
227
                                                                    <li class="sort1">
224
                                                                    [% END %]
228
                                                                        <label for="sort1_record_[% biblio.import_record_id | html %]">Statistic 1: </label>
225
                                                                </li>
229
                                                                        <input id="sort1_record_[% biblio.import_record_id | html %]" type="text" size="20" name="sort1" value="[% biblio.sort1 | html %]" />
226
                                                                <li class="sort1">
230
                                                                    </li>
227
                                                                    <label for="sort1_record_[% biblio.import_record_id | html %]">Statistic 1: </label>
231
                                                                    <li class="sort2">
228
                                                                    <input id="sort1_record_[% biblio.import_record_id | html %]" type="text" size="20" name="sort1" value="[% biblio.sort1 | html %]" />
232
                                                                        <label for="sort2_record_[% biblio.import_record_id | html %]">Statistic 2: </label>
229
                                                                </li>
233
                                                                        <input id="sort2_record_[% biblio.import_record_id | html %]" type="text" size="20" name="sort2" value="[% biblio.sort2 | html %]" />
230
                                                                <li class="sort2">
234
                                                                    </li>
231
                                                                    <label for="sort2_record_[% biblio.import_record_id | html %]">Statistic 2: </label>
235
                                                                </ol>
232
                                                                    <input id="sort2_record_[% biblio.import_record_id | html %]" type="text" size="20" name="sort2" value="[% biblio.sort2 | html %]" />
236
                                                                [% IF ( biblio.iteminfos.size ) %]
233
                                                                </li>
237
                                                                    <div class="item_edit_form">
234
                                                            </ol>
238
                                                                        [% IF biblio.item_error %]Item records could not be processed because the number of item fields was uneven.[% END %]
235
                                                            [% IF ( biblio.iteminfos.size ) %]
239
                                                                        [% FOREACH item IN biblio.iteminfos %]
236
                                                                <div class="item_edit_form">
240
                                                                            <fieldset class="rows">
237
                                                                    [% IF biblio.item_error %]Item records could not be processed because the number of item fields was uneven.[% END %]
241
                                                                                <legend>Item record [% item.item_id | html %]</legend>
238
                                                                    [% FOREACH item IN biblio.iteminfos %]
242
                                                                                <ol>
239
                                                                        <fieldset class="rows">
243
                                                                                    <li>
240
                                                                            <legend>Item record [% item.item_id | html %]</legend>
244
                                                                                        <label for="homebranch_item_[% item.item_id | html %]">homebranch</label>
241
                                                                            <ol>
245
                                                                                        <select id="homebranch_item_[% item.item_id | html %]" name="homebranch_[% biblio.import_record_id | html %]">
242
                                                                                <li>
246
                                                                                            [% FOREACH l IN libraries %]
243
                                                                                    <label for="homebranch_item_[% item.item_id | html %]">homebranch</label>
247
                                                                                                [% IF l.branchcode == item.homebranch %]
244
                                                                                    <select id="homebranch_item_[% item.item_id | html %]" name="homebranch_[% biblio.import_record_id | html %]">
248
                                                                                                    <option value="[% l.branchcode | html %]" selected="selected">[% l.branchname | html %]</option>
245
                                                                                        [% FOREACH l IN libraries %]
249
                                                                                                [% ELSE %]
246
                                                                                            [% IF l.branchcode == item.homebranch %]
250
                                                                                                    <option value="[% l.branchcode | html %]">[% l.branchname | html %]</option>
247
                                                                                                <option value="[% l.branchcode | html %]" selected="selected">[% l.branchname | html %]</option>
251
                                                                                                [% END %]
248
                                                                                            [% ELSE %]
249
                                                                                                <option value="[% l.branchcode | html %]">[% l.branchname | html %]</option>
252
                                                                                            [% END %]
250
                                                                                            [% END %]
253
                                                                                        </select>
251
                                                                                        [% END %]
254
                                                                                    </li>
252
                                                                                    </select>
253
                                                                                </li>
255
254
256
                                                                                    <li>
255
                                                                                <li>
257
                                                                                        <label for="holdingbranch_item_[% item.item_id | html %]">holdingbranch</label>
256
                                                                                    <label for="holdingbranch_item_[% item.item_id | html %]">holdingbranch</label>
258
                                                                                        <select id="holdingbranch_item_[% item.item_id | html %]" name="holdingbranch_[% biblio.import_record_id | html %]">
257
                                                                                    <select id="holdingbranch_item_[% item.item_id | html %]" name="holdingbranch_[% biblio.import_record_id | html %]">
259
                                                                                            [% FOREACH l IN libraries %]
258
                                                                                        [% FOREACH l IN libraries %]
260
                                                                                                [% IF l.branchcode == item.holdingbranch %]
259
                                                                                            [% IF l.branchcode == item.holdingbranch %]
261
                                                                                                    <option value="[% l.branchcode | html %]" selected="selected">[% l.branchname | html %]</option>
260
                                                                                                <option value="[% l.branchcode | html %]" selected="selected">[% l.branchname | html %]</option>
262
                                                                                                [% ELSE %]
261
                                                                                            [% ELSE %]
263
                                                                                                    <option value="[% l.branchcode | html %]">[% l.branchname | html %]</option>
262
                                                                                                <option value="[% l.branchcode | html %]">[% l.branchname | html %]</option>
264
                                                                                                [% END %]
265
                                                                                            [% END %]
263
                                                                                            [% END %]
266
                                                                                        </select>
264
                                                                                        [% END %]
267
                                                                                    </li>
265
                                                                                    </select>
268
                                                                                    <li>
266
                                                                                </li>
269
                                                                                        <label for="itype_item_[% item.item_id | html %]">itype</label>
267
                                                                                <li>
270
                                                                                        <select id="itype_item_[% item.item_id | html %]" name="itype_[% biblio.import_record_id | html %]">
268
                                                                                    <label for="itype_item_[% item.item_id | html %]">itype</label>
271
                                                                                            [% FOREACH itemtype IN itemtypes %]
269
                                                                                    <select id="itype_item_[% item.item_id | html %]" name="itype_[% biblio.import_record_id | html %]">
272
                                                                                                [% IF itemtype.itemtype == item.itype %]
270
                                                                                        [% FOREACH itemtype IN itemtypes %]
273
                                                                                                    <option value="[% itemtype.itemtype | html %]" selected="selected">[% itemtype.description | html %]</option>
271
                                                                                            [% IF itemtype.itemtype == item.itype %]
274
                                                                                                [% ELSE %]
272
                                                                                                <option value="[% itemtype.itemtype | html %]" selected="selected">[% itemtype.description | html %]</option>
275
                                                                                                    <option value="[% itemtype.itemtype | html %]">[% itemtype.description | html %]</option>
273
                                                                                            [% ELSE %]
276
                                                                                                [% END %]
274
                                                                                                <option value="[% itemtype.itemtype | html %]">[% itemtype.description | html %]</option>
277
                                                                                            [% END %]
275
                                                                                            [% END %]
278
                                                                                        </select>
276
                                                                                        [% END %]
279
                                                                                    </li>
277
                                                                                    </select>
278
                                                                                </li>
280
279
281
                                                                                    <li>
280
                                                                                <li>
282
                                                                                        <label for="nonpublic_note_item_[% item.item_id | html %]">nonpublic_note</label>
281
                                                                                    <label for="nonpublic_note_item_[% item.item_id | html %]">nonpublic_note</label>
283
                                                                                        <input type="text" id="nonpublic_note_item_[% item.item_id | html %]" name="nonpublic_note_[% biblio.import_record_id | html %]" value="[% item.nonpublic_note | html %]">
282
                                                                                    <input type="text" id="nonpublic_note_item_[% item.item_id | html %]" name="nonpublic_note_[% biblio.import_record_id | html %]" value="[% item.nonpublic_note | html %]">
284
                                                                                    </li>
283
                                                                                </li>
285
                                                                                    <li>
284
                                                                                <li>
286
                                                                                        <label for="public_note_item_[% item.item_id | html %]">public_note</label>
285
                                                                                    <label for="public_note_item_[% item.item_id | html %]">public_note</label>
287
                                                                                        <input type="text" id="public_note_item_[% item.item_id | html %]" name="public_note_[% biblio.import_record_id | html %]" value="[% item.public_note | html %]">
286
                                                                                    <input type="text" id="public_note_item_[% item.item_id | html %]" name="public_note_[% biblio.import_record_id | html %]" value="[% item.public_note | html %]">
288
                                                                                    </li>
287
                                                                                </li>
289
                                                                                    <li>
288
                                                                                <li>
290
                                                                                        <label for="loc_item_[% item.item_id | html %]">loc</label>
289
                                                                                    <label for="loc_item_[% item.item_id | html %]">loc</label>
291
                                                                                        <select id="loc_item_[% item.item_id | html %]" name="loc_[% biblio.import_record_id | html %]">
290
                                                                                    <select id="loc_item_[% item.item_id | html %]" name="loc_[% biblio.import_record_id | html %]">
292
                                                                                            <option value=""> </option>
291
                                                                                        <option value=""> </option>
293
                                                                                            [% FOREACH locationloo IN locationloop %]
292
                                                                                        [% FOREACH locationloo IN locationloop %]
294
                                                                                                [% IF ( locationloo.code ) == (item.loc) %]
293
                                                                                            [% IF ( locationloo.code ) == (item.loc) %]
295
                                                                                                    <option value="[% locationloo.code | html %]" selected="selected">[% locationloo.description | html %]</option>
294
                                                                                                <option value="[% locationloo.code | html %]" selected="selected">[% locationloo.description | html %]</option>
296
                                                                                                [% ELSE %]
295
                                                                                            [% ELSE %]
297
                                                                                                    <option value="[% locationloo.code | html %]">[% locationloo.description | html %]</option>
296
                                                                                                <option value="[% locationloo.code | html %]">[% locationloo.description | html %]</option>
298
                                                                                                [% END %]
299
                                                                                            [% END %]
297
                                                                                            [% END %]
300
                                                                                        </select>
298
                                                                                        [% END %]
301
                                                                                    </li>
299
                                                                                    </select>
300
                                                                                </li>
302
301
303
                                                                                    <li>
302
                                                                                <li>
304
                                                                                        <label for="ccode_item_[% item.item_id | html %]">ccode</label>
303
                                                                                    <label for="ccode_item_[% item.item_id | html %]">ccode</label>
305
                                                                                        <select id="ccode_item_[% item.item_id | html %]" name="ccode_[% biblio.import_record_id | html %]">
304
                                                                                    <select id="ccode_item_[% item.item_id | html %]" name="ccode_[% biblio.import_record_id | html %]">
306
                                                                                            <option value=""> </option>
305
                                                                                        <option value=""> </option>
307
                                                                                            [% FOREACH ccodeloo IN ccodeloop %]
306
                                                                                        [% FOREACH ccodeloo IN ccodeloop %]
308
                                                                                                [% IF ( ccodeloo.code ) == (item.ccode) %]
307
                                                                                            [% IF ( ccodeloo.code ) == (item.ccode) %]
309
                                                                                                    <option value="[% ccodeloo.code | html %]" selected="selected">[% ccodeloo.description | html %]</option>
308
                                                                                                <option value="[% ccodeloo.code | html %]" selected="selected">[% ccodeloo.description | html %]</option>
310
                                                                                                [% ELSE %]
309
                                                                                            [% ELSE %]
311
                                                                                                    <option value="[% ccodeloo.code | html %]">[% ccodeloo.description | html %]</option>
310
                                                                                                <option value="[% ccodeloo.code | html %]">[% ccodeloo.description | html %]</option>
312
                                                                                                [% END %]
313
                                                                                            [% END %]
311
                                                                                            [% END %]
314
                                                                                        </select>
312
                                                                                        [% END %]
315
                                                                                    </li>
313
                                                                                    </select>
314
                                                                                </li>
316
315
317
                                                                                    <li>
316
                                                                                <li>
318
                                                                                        <label for="notforloan_item_[% item.item_id | html %]">notforloan</label>
317
                                                                                    <label for="notforloan_item_[% item.item_id | html %]">notforloan</label>
319
                                                                                        <select id="notforloan_item_[% item.item_id | html %]" name="notforloan_[% biblio.import_record_id | html %]">
318
                                                                                    <select id="notforloan_item_[% item.item_id | html %]" name="notforloan_[% biblio.import_record_id | html %]">
320
                                                                                            <option value=""> </option>
319
                                                                                        <option value=""> </option>
321
                                                                                            [% FOREACH n IN notforloanloop %]
320
                                                                                        [% FOREACH n IN notforloanloop %]
322
                                                                                                [% IF n.code == item.notforloan %]
321
                                                                                            [% IF n.code == item.notforloan %]
323
                                                                                                    <option value="[% n.code | html %]" selected="selected">[% n.description | html %]</option>
322
                                                                                                <option value="[% n.code | html %]" selected="selected">[% n.description | html %]</option>
324
                                                                                                [% ELSE %]
323
                                                                                            [% ELSE %]
325
                                                                                                    <option value="[% n.code | html %]">[% n.description | html %]</option>
324
                                                                                                <option value="[% n.code | html %]">[% n.description | html %]</option>
326
                                                                                                [% END %]
327
                                                                                            [% END %]
325
                                                                                            [% END %]
328
                                                                                        </select>
326
                                                                                        [% END %]
329
                                                                                    </li>
327
                                                                                    </select>
330
                                                                                    <li>
328
                                                                                </li>
331
                                                                                        <label for="uri_item_[% item.item_id | html %]">uri</label>
329
                                                                                <li>
332
                                                                                        <input type="text" id="uri_item_[% item.item_id | html %]" name="uri_[% biblio.import_record_id | html %]" value="[% item.uri | html %]">
330
                                                                                    <label for="uri_item_[% item.item_id | html %]">uri</label>
333
                                                                                    </li>
331
                                                                                    <input type="text" id="uri_item_[% item.item_id | html %]" name="uri_[% biblio.import_record_id | html %]" value="[% item.uri | html %]">
334
                                                                                    <li>
332
                                                                                </li>
335
                                                                                        <label for="copyno_item_[% item.item_id | html %]">copyno</label>
333
                                                                                <li>
336
                                                                                        <input type="text" id="copyno_item_[% item.item_id | html %]" name="copyno_[% biblio.import_record_id | html %]" value="[% item.copyno | html %]">
334
                                                                                    <label for="copyno_item_[% item.item_id | html %]">copyno</label>
337
                                                                                    </li>
335
                                                                                    <input type="text" id="copyno_item_[% item.item_id | html %]" name="copyno_[% biblio.import_record_id | html %]" value="[% item.copyno | html %]">
338
                                                                                    <li>
336
                                                                                </li>
339
                                                                                        <label for="budget_code_item_[% item.item_id | html %]">budget_code</label>
337
                                                                                <li>
340
                                                                                        <select class="budget_code_item" id="budget_code_item_[% item.item_id | html %]" name="budget_code_[% biblio.import_record_id | html %]">
338
                                                                                    <label for="budget_code_item_[% item.item_id | html %]">budget_code</label>
341
                                                                                            <option value="">Select a fund (will use default if set)</option>
339
                                                                                    <select class="budget_code_item" id="budget_code_item_[% item.item_id | html %]" name="budget_code_[% biblio.import_record_id | html %]">
342
                                                                                            [% FOREACH budget_loo IN budget_loop %]
340
                                                                                        <option value="">Select a fund (will use default if set)</option>
343
                                                                                                [% IF ( budget_loo.b_id ) == ( item.budget_id ) %]<option value="[% budget_loo.b_id | html %]" selected="selected">[% budget_loo.b_txt | html %]</option>
341
                                                                                        [% FOREACH budget_loo IN budget_loop %]
344
                                                                                                [% ELSE %]<option value="[% budget_loo.b_id | html %]">[% budget_loo.b_txt | html %]</option>
342
                                                                                            [% IF ( budget_loo.b_id ) == ( item.budget_id ) %]<option value="[% budget_loo.b_id | html %]" selected="selected">[% budget_loo.b_txt | html %]</option>
345
                                                                                                [% END %]
343
                                                                                            [% ELSE %]<option value="[% budget_loo.b_id | html %]">[% budget_loo.b_txt | html %]</option>
346
                                                                                            [% END %]
344
                                                                                            [% END %]
347
                                                                                        </select>
345
                                                                                        [% END %]
348
                                                                                        <span class="item_fund required">Required</span>
346
                                                                                    </select>
349
                                                                                    </li>
347
                                                                                    <span class="item_fund required">Required</span>
350
                                                                                    <li>
348
                                                                                </li>
351
                                                                                        <label for="price_item_[% item.item_id | html %]">price</label>
349
                                                                                <li>
352
                                                                                        <input type="text" id="price_item_[% item.item_id | html %]" class="decimal" name="itemprice_[% biblio.import_record_id | html %]" value="[% item.itemprice | $Price on_editing => 1 %]">
350
                                                                                    <label for="price_item_[% item.item_id | html %]">price</label>
353
                                                                                    </li>
351
                                                                                    <input type="text" id="price_item_[% item.item_id | html %]" class="decimal" name="itemprice_[% biblio.import_record_id | html %]" value="[% item.itemprice | $Price on_editing => 1 %]">
354
                                                                                    <li>
352
                                                                                </li>
355
                                                                                        <label for="replacementprice_item_[% item.item_id | html %]">replacement price</label>
353
                                                                                <li>
356
                                                                                        <input type="text" id="replacementprice_item_[% item.item_id | html %]" class="decimal" name="replacementprice_[% biblio.import_record_id | html %]" value="[% item.replacementprice | $Price on_editing => 1 %]">
354
                                                                                    <label for="replacementprice_item_[% item.item_id | html %]">replacement price</label>
357
                                                                                    </li>
355
                                                                                    <input type="text" id="replacementprice_item_[% item.item_id | html %]" class="decimal" name="replacementprice_[% biblio.import_record_id | html %]" value="[% item.replacementprice | $Price on_editing => 1 %]">
358
                                                                                    <li>
356
                                                                                </li>
359
                                                                                        <label for="callnumber_item_[% item.item_id | html %]">callnumber</label>
357
                                                                                <li>
360
                                                                                        <input type="text" id="callnumber_item_[% item.item_id | html %]" name="itemcallnumber_[% biblio.import_record_id | html %]" value="[% item.itemcallnumber | html %]">
358
                                                                                    <label for="callnumber_item_[% item.item_id | html %]">callnumber</label>
361
                                                                                    </li>
359
                                                                                    <input type="text" id="callnumber_item_[% item.item_id | html %]" name="itemcallnumber_[% biblio.import_record_id | html %]" value="[% item.itemcallnumber | html %]">
362
                                                                                </ol>
360
                                                                                </li>
363
                                                                            </fieldset>
361
                                                                            </ol>
364
                                                                        [% END # /FOREACH item %]
362
                                                                        </fieldset>
365
                                                                    </div> <!-- /.item_edit_form -->
363
                                                                    [% END # /FOREACH item %]
366
                                                                [% END %]
364
                                                                </div> <!-- /.item_edit_form -->
367
                                                            </fieldset> <!-- /.rows.order_details -->
365
                                                            [% END %]
368
                                                        </form>
366
                                                        </fieldset> <!-- /.rows.order_details -->
369
                                                    </td>
367
                                                    </td>
370
                                                </tr>
368
                                                </tr>
371
                                            [% END # /FOREACH biblio %]
369
                                            [% END # /FOREACH biblio %]
372
- 

Return to bug 34169