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

(-)a/koha-tmpl/intranet-tmpl/prog/css/addbiblio.css (-6 / +15 lines)
Lines 219-248 a.tagnum { Link Here
219
    width: 1em;
219
    width: 1em;
220
}
220
}
221
221
222
#cataloguing_additem_newitem .subfield_line {
222
.item_edit_form .subfield_line {
223
    align-items: flex-start;
223
    display: flex;
224
    display: flex;
224
    flex-basis: 100%;
225
    flex-basis: 100%;
225
}
226
}
226
227
227
#cataloguing_additem_newitem fieldset.rows label,
228
div.item_edit_form ol li label,
228
#cataloguing_additem_newitem fieldset.rows span.label {
229
div.item_edit_form ol li span.label {
229
    flex-basis: 25%;
230
    flex-basis: 25%;
230
    font-size: 100%;
231
    font-size: 100%;
231
    margin-right: 1rem;
232
    margin-right: 1rem;
232
}
233
}
233
234
234
#cataloguing_additem_newitem fieldset.rows li {
235
div.item_edit_form ol li {
235
    padding-bottom: 3px;
236
    padding-bottom: 3px;
236
}
237
}
237
238
238
#cataloguing_additem_newitem .input_marceditor {
239
.item_edit_form .input_marceditor {
239
    flex-basis: 50%;
240
    flex-basis: 50%;
241
    float: none;
240
}
242
}
241
243
242
#cataloguing_additem_newitem textarea.input_marceditor {
244
.item_edit_form textarea.input_marceditor {
243
    width: 31em;
245
    width: 31em;
244
}
246
}
245
247
248
div.item_edit_form ol li label:first-child,
249
fieldset.order_details ol li label:first-child,
250
div.item_edit_form ol li .label:first-child,
251
fieldset.order_details ol li .label:first-child {
252
    flex-basis: 25%;
253
}
254
246
#cat_addbiblio .field_marceditor .flatpickr_wrapper {
255
#cat_addbiblio .field_marceditor .flatpickr_wrapper {
247
    display: none;
256
    display: none;
248
}
257
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt (-169 / +171 lines)
Lines 10-18 Link Here
10
    Batch list
10
    Batch list
11
[% END %] › Order staged MARC records › Acquisitions › Koha
11
[% END %] › Order staged MARC records › Acquisitions › Koha
12
</title>
12
</title>
13
[% Asset.css("css/addbiblio.css") | $raw %]
13
<style>.biblio { padding: 0 .5em;margin:0; }.item_edit_form{border-top:1px solid #AAA;padding-top:.5em;}@media (max-width: 767px) { #dataPreview { margin: 0; width : auto; } }</style>
14
<style>.biblio { padding: 0 .5em;margin:0; }@media (max-width: 767px) { #dataPreview { margin: 0; width : auto; } }</style>
15
[% INCLUDE 'doc-head-close.inc' %]
14
[% INCLUDE 'doc-head-close.inc' %]
15
[% Asset.css("css/addbiblio.css") | $raw %]
16
[%# As long as cataloging plugins rely on 'script' tags added inline, JS must be in the header %]
16
[%# As long as cataloging plugins rely on 'script' tags added inline, JS must be in the header %]
17
<script>
17
<script>
18
    const template_path = "[% interface | html %]/[% theme | html %]";
18
    const template_path = "[% interface | html %]/[% theme | html %]";
Lines 206-341 Link Here
206
                                                                    <input id="sort2_record_[% biblio.import_record_id | html %]" type="text" size="20" name="sort2" value="[% biblio.sort2 | html %]" />
206
                                                                    <input id="sort2_record_[% biblio.import_record_id | html %]" type="text" size="20" name="sort2" value="[% biblio.sort2 | html %]" />
207
                                                                </li>
207
                                                                </li>
208
                                                            </ol>
208
                                                            </ol>
209
                                                        </fieldset>
209
                                                            [% IF ( biblio.iteminfos.size ) %]
210
                                                        <div style="float:right">
210
                                                                <div class="item_edit_form">
211
                                                            [% IF biblio.item_error %]Item records could not be processed because the number of item fields was uneven.[% END %]
211
                                                                    [% IF biblio.item_error %]Item records could not be processed because the number of item fields was uneven.[% END %]
212
                                                            [% FOREACH item IN biblio.iteminfos %]
212
                                                                    [% FOREACH item IN biblio.iteminfos %]
213
                                                                <fieldset>
213
                                                                        <fieldset>
214
                                                                    <legend>Item record [% item.item_id | html %]</legend>
214
                                                                            <legend>Item record [% item.item_id | html %]</legend>
215
                                                                    <ol>
215
                                                                            <ol>
216
                                                                        <li>
216
                                                                                <li>
217
                                                                            <label for="homebranch_item_[% item.item_id | html %]">homebranch</label>
217
                                                                                    <label for="homebranch_item_[% item.item_id | html %]">homebranch</label>
218
                                                                            <select id="homebranch_item_[% item.item_id | html %]" name="homebranch_[% item.biblio_count | html %]">
218
                                                                                    <select id="homebranch_item_[% item.item_id | html %]" name="homebranch_[% biblio.import_record_id | html %]">
219
                                                                                [% FOREACH l IN libraries %]
219
                                                                                        [% FOREACH l IN libraries %]
220
                                                                                    [% IF l.branchcode == item.homebranch %]
220
                                                                                            [% IF l.branchcode == item.homebranch %]
221
                                                                                        <option value="[% l.branchcode | html %]" selected="selected">[% l.branchname | html %]</option>
221
                                                                                                <option value="[% l.branchcode | html %]" selected="selected">[% l.branchname | html %]</option>
222
                                                                                    [% ELSE %]
222
                                                                                            [% ELSE %]
223
                                                                                        <option value="[% l.branchcode | html %]">[% l.branchname | html %]</option>
223
                                                                                                <option value="[% l.branchcode | html %]">[% l.branchname | html %]</option>
224
                                                                                    [% END %]
224
                                                                                            [% END %]
225
                                                                                [% END %]
225
                                                                                        [% END %]
226
                                                                            </select>
226
                                                                                    </select>
227
                                                                        </li>
227
                                                                                </li>
228
228
229
                                                                        <li>
229
                                                                                <li>
230
                                                                            <label for="holdingbranch_item_[% item.item_id | html %]">holdingbranch</label>
230
                                                                                    <label for="holdingbranch_item_[% item.item_id | html %]">holdingbranch</label>
231
                                                                            <select id="holdingbranch_item_[% item.item_id | html %]" name="holdingbranch_[% item.biblio_count | html %]">
231
                                                                                    <select id="holdingbranch_item_[% item.item_id | html %]" name="holdingbranch_[% biblio.import_record_id | html %]">
232
                                                                                [% FOREACH l IN libraries %]
232
                                                                                        [% FOREACH l IN libraries %]
233
                                                                                    [% IF l.branchcode == item.holdingbranch %]
233
                                                                                            [% IF l.branchcode == item.holdingbranch %]
234
                                                                                        <option value="[% l.branchcode | html %]" selected="selected">[% l.branchname | html %]</option>
234
                                                                                                <option value="[% l.branchcode | html %]" selected="selected">[% l.branchname | html %]</option>
235
                                                                                    [% ELSE %]
235
                                                                                            [% ELSE %]
236
                                                                                        <option value="[% l.branchcode | html %]">[% l.branchname | html %]</option>
236
                                                                                                <option value="[% l.branchcode | html %]">[% l.branchname | html %]</option>
237
                                                                                    [% END %]
237
                                                                                            [% END %]
238
                                                                                [% END %]
238
                                                                                        [% END %]
239
                                                                            </select>
239
                                                                                    </select>
240
                                                                        </li>
240
                                                                                </li>
241
                                                                        <li>
241
                                                                                <li>
242
                                                                            <label for="itype_item_[% item.item_id | html %]">itype</label>
242
                                                                                    <label for="itype_item_[% item.item_id | html %]">itype</label>
243
                                                                            <select id="itype_item_[% item.item_id | html %]" name="itype_[% item.biblio_count | html %]">
243
                                                                                    <select id="itype_item_[% item.item_id | html %]" name="itype_[% biblio.import_record_id | html %]">
244
                                                                                [% FOREACH itemtype IN itemtypes %]
244
                                                                                        [% FOREACH itemtype IN itemtypes %]
245
                                                                                    [% IF itemtype.itemtype == item.itype %]
245
                                                                                            [% IF itemtype.itemtype == item.itype %]
246
                                                                                        <option value="[% itemtype.itemtype | html %]" selected="selected">[% itemtype.description | html %]</option>
246
                                                                                                <option value="[% itemtype.itemtype | html %]" selected="selected">[% itemtype.description | html %]</option>
247
                                                                                    [% ELSE %]
247
                                                                                            [% ELSE %]
248
                                                                                        <option value="[% itemtype.itemtype | html %]">[% itemtype.description | html %]</option>
248
                                                                                                <option value="[% itemtype.itemtype | html %]">[% itemtype.description | html %]</option>
249
                                                                                    [% END %]
249
                                                                                            [% END %]
250
                                                                                [% END %]
250
                                                                                        [% END %]
251
                                                                            </select>
251
                                                                                    </select>
252
                                                                        </li>
252
                                                                                </li>
253
253
254
                                                                        <li>
254
                                                                                <li>
255
                                                                            <label for="nonpublic_note_item_[% item.item_id | html %]">nonpublic_note</label>
255
                                                                                    <label for="nonpublic_note_item_[% item.item_id | html %]">nonpublic_note</label>
256
                                                                            <input type="text" id="nonpublic_note_item_[% item.item_id | html %]" name="nonpublic_note_[% item.biblio_count | html %]" value="[% item.nonpublic_note | html %]">
256
                                                                                    <input type="text" id="nonpublic_note_item_[% item.item_id | html %]" name="nonpublic_note_[% biblio.import_record_id | html %]" value="[% item.nonpublic_note | html %]">
257
                                                                        </li>
257
                                                                                </li>
258
                                                                        <li>
258
                                                                                <li>
259
                                                                            <label for="public_note_item_[% item.item_id | html %]">public_note</label>
259
                                                                                    <label for="public_note_item_[% item.item_id | html %]">public_note</label>
260
                                                                            <input type="text" id="public_note_item_[% item.item_id | html %]" name="public_note_[% item.biblio_count | html %]" value="[% item.public_note | html %]">
260
                                                                                    <input type="text" id="public_note_item_[% item.item_id | html %]" name="public_note_[% biblio.import_record_id | html %]" value="[% item.public_note | html %]">
261
                                                                        </li>
261
                                                                                </li>
262
                                                                        <li>
262
                                                                                <li>
263
                                                                            <label for="loc_item_[% item.item_id | html %]">loc</label>
263
                                                                                    <label for="loc_item_[% item.item_id | html %]">loc</label>
264
                                                                            <select id="loc_item_[% item.item_id | html %]" name="loc_[% item.biblio_count | html %]">
264
                                                                                    <select id="loc_item_[% item.item_id | html %]" name="loc_[% biblio.import_record_id | html %]">
265
                                                                                <option value=""> </option>
265
                                                                                        <option value=""> </option>
266
                                                                                [% FOREACH locationloo IN locationloop %]
266
                                                                                        [% FOREACH locationloo IN locationloop %]
267
                                                                                    [% IF ( locationloo.code ) == (item.loc) %]
267
                                                                                            [% IF ( locationloo.code ) == (item.loc) %]
268
                                                                                        <option value="[% locationloo.code | html %]" selected="selected">[% locationloo.description | html %]</option>
268
                                                                                                <option value="[% locationloo.code | html %]" selected="selected">[% locationloo.description | html %]</option>
269
                                                                                    [% ELSE %]
269
                                                                                            [% ELSE %]
270
                                                                                        <option value="[% locationloo.code | html %]">[% locationloo.description | html %]</option>
270
                                                                                                <option value="[% locationloo.code | html %]">[% locationloo.description | html %]</option>
271
                                                                                    [% END %]
271
                                                                                            [% END %]
272
                                                                                [% END %]
272
                                                                                        [% END %]
273
                                                                            </select>
273
                                                                                    </select>
274
                                                                        </li>
274
                                                                                </li>
275
275
276
                                                                        <li>
276
                                                                                <li>
277
                                                                            <label for="ccode_item_[% item.item_id | html %]">ccode</label>
277
                                                                                    <label for="ccode_item_[% item.item_id | html %]">ccode</label>
278
                                                                            <select id="ccode_item_[% item.item_id | html %]" name="ccode_[% item.biblio_count | html %]">
278
                                                                                    <select id="ccode_item_[% item.item_id | html %]" name="ccode_[% biblio.import_record_id | html %]">
279
                                                                                <option value=""> </option>
279
                                                                                        <option value=""> </option>
280
                                                                                [% FOREACH ccodeloo IN ccodeloop %]
280
                                                                                        [% FOREACH ccodeloo IN ccodeloop %]
281
                                                                                    [% IF ( ccodeloo.code ) == (item.ccode) %]
281
                                                                                            [% IF ( ccodeloo.code ) == (item.ccode) %]
282
                                                                                        <option value="[% ccodeloo.code | html %]" selected="selected">[% ccodeloo.description | html %]</option>
282
                                                                                                <option value="[% ccodeloo.code | html %]" selected="selected">[% ccodeloo.description | html %]</option>
283
                                                                                    [% ELSE %]
283
                                                                                            [% ELSE %]
284
                                                                                        <option value="[% ccodeloo.code | html %]">[% ccodeloo.description | html %]</option>
284
                                                                                                <option value="[% ccodeloo.code | html %]">[% ccodeloo.description | html %]</option>
285
                                                                                    [% END %]
285
                                                                                            [% END %]
286
                                                                                [% END %]
286
                                                                                        [% END %]
287
                                                                            </select>
287
                                                                                    </select>
288
                                                                        </li>
288
                                                                                </li>
289
289
290
                                                                        <li>
290
                                                                                <li>
291
                                                                            <label for="notforloan_item_[% item.item_id | html %]">notforloan</label>
291
                                                                                    <label for="notforloan_item_[% item.item_id | html %]">notforloan</label>
292
                                                                            <select id="notforloan_item_[% item.item_id | html %]" name="notforloan_[% item.biblio_count | html %]">
292
                                                                                    <select id="notforloan_item_[% item.item_id | html %]" name="notforloan_[% biblio.import_record_id | html %]">
293
                                                                                <option value=""> </option>
293
                                                                                        <option value=""> </option>
294
                                                                                [% FOREACH n IN notforloanloop %]
294
                                                                                        [% FOREACH n IN notforloanloop %]
295
                                                                                    [% IF n.code == item.notforloan %]
295
                                                                                            [% IF n.code == item.notforloan %]
296
                                                                                        <option value="[% n.code | html %]" selected="selected">[% n.description | html %]</option>
296
                                                                                                <option value="[% n.code | html %]" selected="selected">[% n.description | html %]</option>
297
                                                                                    [% ELSE %]
297
                                                                                            [% ELSE %]
298
                                                                                        <option value="[% n.code | html %]">[% n.description | html %]</option>
298
                                                                                                <option value="[% n.code | html %]">[% n.description | html %]</option>
299
                                                                                    [% END %]
299
                                                                                            [% END %]
300
                                                                                [% END %]
300
                                                                                        [% END %]
301
                                                                            </select>
301
                                                                                    </select>
302
                                                                        </li>
302
                                                                                </li>
303
                                                                        <li>
303
                                                                                <li>
304
                                                                            <label for="uri_item_[% item.item_id | html %]">uri</label>
304
                                                                                    <label for="uri_item_[% item.item_id | html %]">uri</label>
305
                                                                            <input type="text" id="uri_item_[% item.item_id | html %]" name="uri_[% item.biblio_count | html %]" value="[% item.uri | html %]">
305
                                                                                    <input type="text" id="uri_item_[% item.item_id | html %]" name="uri_[% biblio.import_record_id | html %]" value="[% item.uri | html %]">
306
                                                                        </li>
306
                                                                                </li>
307
                                                                        <li>
307
                                                                                <li>
308
                                                                            <label for="copyno_item_[% item.item_id | html %]">copyno</label>
308
                                                                                    <label for="copyno_item_[% item.item_id | html %]">copyno</label>
309
                                                                            <input type="text" id="copyno_item_[% item.item_id | html %]" name="copyno_[% item.biblio_count | html %]" value="[% item.copyno | html %]">
309
                                                                                    <input type="text" id="copyno_item_[% item.item_id | html %]" name="copyno_[% biblio.import_record_id | html %]" value="[% item.copyno | html %]">
310
                                                                        </li>
310
                                                                                </li>
311
                                                                        <li>
311
                                                                                <li>
312
                                                                            <label for="budget_code_item_[% item.item_id | html %]">budget_code</label>
312
                                                                                    <label for="budget_code_item_[% item.item_id | html %]">budget_code</label>
313
                                                                            <select class="budget_code_item" id="budget_code_item_[% item.item_id | html %]" name="budget_code_[% item.biblio_count | html %]">
313
                                                                                    <select class="budget_code_item" id="budget_code_item_[% item.item_id | html %]" name="budget_code_[% biblio.import_record_id | html %]">
314
                                                                                <option value="">Select a fund (will use default if set)</option>
314
                                                                                        <option value="">Select a fund (will use default if set)</option>
315
                                                                                [% FOREACH budget_loo IN budget_loop %]
315
                                                                                        [% FOREACH budget_loo IN budget_loop %]
316
                                                                                    [% IF ( budget_loo.b_id ) == ( item.budget_id ) %]<option value="[% budget_loo.b_id | html %]" selected="selected">[% budget_loo.b_txt | html %]</option>
316
                                                                                            [% IF ( budget_loo.b_id ) == ( item.budget_id ) %]<option value="[% budget_loo.b_id | html %]" selected="selected">[% budget_loo.b_txt | html %]</option>
317
                                                                                    [% ELSE %]<option value="[% budget_loo.b_id | html %]">[% budget_loo.b_txt | html %]</option>
317
                                                                                            [% ELSE %]<option value="[% budget_loo.b_id | html %]">[% budget_loo.b_txt | html %]</option>
318
                                                                                    [% END %]
318
                                                                                            [% END %]
319
                                                                                [% END %]
319
                                                                                        [% END %]
320
                                                                            </select>
320
                                                                                    </select>
321
                                                                            <span class="item_fund required">Required</span>
321
                                                                                    <span class="item_fund required">Required</span>
322
                                                                        </li>
322
                                                                                </li>
323
                                                                        <li>
323
                                                                                <li>
324
                                                                            <label for="price_item_[% item.item_id | html %]">price</label>
324
                                                                                    <label for="price_item_[% item.item_id | html %]">price</label>
325
                                                                            <input type="text" id="price_item_[% item.item_id | html %]" name="itemprice_[% item.biblio_count | html %]" value="[% item.itemprice | html %]">
325
                                                                                    <input type="text" id="price_item_[% item.item_id | html %]" name="itemprice_[% biblio.import_record_id | html %]" value="[% item.itemprice | html %]">
326
                                                                        </li>
326
                                                                                </li>
327
                                                                        <li>
327
                                                                                <li>
328
                                                                            <label for="replacementprice_item_[% item.item_id | html %]">replacement price</label>
328
                                                                                    <label for="replacementprice_item_[% item.item_id | html %]">replacement price</label>
329
                                                                            <input type="text" id="replacementprice_item_[% item.item_id | html %]" name="replacementprice_[% item.biblio_count | html %]" value="[% item.replacementprice | html %]">
329
                                                                                    <input type="text" id="replacementprice_item_[% item.item_id | html %]" name="replacementprice_[% biblio.import_record_id | html %]" value="[% item.replacementprice | html %]">
330
                                                                        </li>
330
                                                                                </li>
331
                                                                        <li>
331
                                                                                <li>
332
                                                                            <label for="callnumber_item_[% item.item_id | html %]">callnumber</label>
332
                                                                                    <label for="callnumber_item_[% item.item_id | html %]">callnumber</label>
333
                                                                            <input type="text" id="callnumber_item_[% item.item_id | html %]" name="itemcallnumber_[% item.biblio_count | html %]" value="[% item.itemcallnumber | html %]">
333
                                                                                    <input type="text" id="callnumber_item_[% item.item_id | html %]" name="itemcallnumber_[% biblio.import_record_id | html %]" value="[% item.itemcallnumber | html %]">
334
                                                                        </li>
334
                                                                                </li>
335
                                                                    </ol>
335
                                                                            </ol>
336
                                                                </fieldset>
336
                                                                        </fieldset>
337
                                                            [% END # /FOREACH item %]
337
                                                                    [% END # /FOREACH item %]
338
                                                        </div>
338
                                                                </div> <!-- /.item_edit_form -->
339
                                                            [% END %]
340
                                                        </fieldset> <!-- /.rows.order_details -->
339
                                                    </td>
341
                                                    </td>
340
                                                    <td class="actions">
342
                                                    <td class="actions">
341
                                                        <a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% biblio.import_record_id | uri %]" class="previewData btn btn-default btn-xs">MARC</a>
343
                                                        <a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% biblio.import_record_id | uri %]" class="previewData btn btn-default btn-xs">MARC</a>
Lines 371-425 Link Here
371
                                    <p>Import all the checked items in the basket with the following parameters:</p>
373
                                    <p>Import all the checked items in the basket with the following parameters:</p>
372
374
373
                                    [% IF ( items ) %]
375
                                    [% IF ( items ) %]
374
                                        <div id="cataloguing_additem_newitem">
375
                                            <fieldset class="rows" style="float:none;">
376
                                            <fieldset class="rows" style="float:none;">
376
                                                <legend>Item</legend>
377
                                                <legend>Item</legend>
377
                                                [% IF ( NoACQframework ) %]
378
                                                [% IF ( NoACQframework ) %]
378
                                                    <div class="dialog message">No ACQ framework, using default. You should create a framework with code ACQ, the items framework would be used</div>
379
                                                    <div class="dialog message">No ACQ framework, using default. You should create a framework with code ACQ, the items framework would be used</div>
379
                                                [% END %]
380
                                                [% END %]
380
                                                [% FOREACH item IN items %]
381
                                                <div class="item_edit_form">
381
                                                    <div id="outeritemblock">
382
                                                    [% FOREACH item IN items %]
382
                                                        <div id="itemblock">
383
                                                        <div id="outeritemblock">
383
                                                            <ol>
384
                                                            <div id="itemblock">
384
                                                                [% FOREACH iteminformatio IN item.iteminformation %]
385
                                                                <ol>
385
                                                                    <li style="[% iteminformatio.hidden | html %];">
386
                                                                    [% FOREACH iteminformatio IN item.iteminformation %]
386
                                                                        <div class="subfield_line" id="subfield[% iteminformatio.serialid | html %][% iteminformatio.countitems | html %][% iteminformatio.subfield | html %][% iteminformatio.random | html %]">
387
                                                                        <li style="[% iteminformatio.hidden | html %];">
387
                                                                            [% IF (iteminformatio.mandatory) %]
388
                                                                            <div class="subfield_line" id="subfield[% iteminformatio.serialid | html %][% iteminformatio.countitems | html %][% iteminformatio.subfield | html %][% iteminformatio.random | html %]">
388
                                                                                <label class="required">[% iteminformatio.subfield | html %] - [% iteminformatio.marc_lib | $raw %]</label>
389
                                                                                [% IF (iteminformatio.mandatory) %]
389
                                                                            [% ELSE %]
390
                                                                                    <label class="required">[% iteminformatio.subfield | html %] - [% iteminformatio.marc_lib | $raw %]</label>
390
                                                                                <label>[% iteminformatio.subfield | html %] - [% iteminformatio.marc_lib | $raw %]</label>
391
                                                                                [% ELSE %]
391
                                                                            [% END %]
392
                                                                                    <label>[% iteminformatio.subfield | html %] - [% iteminformatio.marc_lib | $raw %]</label>
393
                                                                                [% END %]
392
394
393
                                                                            [% IF ( iteminformatio.marc_value.type == 'select' ) %]
395
                                                                                [% IF ( iteminformatio.marc_value.type == 'select' ) %]
394
                                                                                <select name="field_value" class="input_marceditor">
396
                                                                                    <select name="field_value" class="input_marceditor">
395
                                                                                    [% FOREACH value IN iteminformatio.marc_value.values %]
397
                                                                                        [% FOREACH value IN iteminformatio.marc_value.values %]
396
                                                                                        [% IF ( value == iteminformatio.marc_value.default ) %]
398
                                                                                            [% IF ( value == iteminformatio.marc_value.default ) %]
397
                                                                                            <option value="[% value | html %]" selected="selected">[% iteminformatio.marc_value.labels.$value | html %]</option>
399
                                                                                                <option value="[% value | html %]" selected="selected">[% iteminformatio.marc_value.labels.$value | html %]</option>
398
                                                                                        [% ELSE %]
400
                                                                                            [% ELSE %]
399
                                                                                            <option value="[% value | html %]">[% iteminformatio.marc_value.labels.$value | html %]</option>
401
                                                                                                <option value="[% value | html %]">[% iteminformatio.marc_value.labels.$value | html %]</option>
402
                                                                                            [% END %]
400
                                                                                        [% END %]
403
                                                                                        [% END %]
401
                                                                                    [% END %]
404
                                                                                    </select>
402
                                                                                </select>
405
                                                                                [% ELSE %]
403
                                                                            [% ELSE %]
406
                                                                                [% iteminformatio.marc_value | $raw %]
404
                                                                            [% iteminformatio.marc_value | $raw %]
407
                                                                                [% END %]
405
                                                                            [% END %]
408
                                                                                <input type="hidden" name="itemid" value="1" />
406
                                                                            <input type="hidden" name="itemid" value="1" />
409
                                                                                <input type="hidden" name="kohafield" value="[% iteminformatio.kohafield | html %]" />
407
                                                                            <input type="hidden" name="kohafield" value="[% iteminformatio.kohafield | html %]" />
410
                                                                                <input type="hidden" name="tag" value="[% iteminformatio.tag | html %]" />
408
                                                                            <input type="hidden" name="tag" value="[% iteminformatio.tag | html %]" />
411
                                                                                <input type="hidden" name="subfield" value="[% iteminformatio.subfield | html %]" />
409
                                                                            <input type="hidden" name="subfield" value="[% iteminformatio.subfield | html %]" />
412
                                                                                <input type="hidden" name="mandatory" value="[% iteminformatio.mandatory | html %]" />
410
                                                                            <input type="hidden" name="mandatory" value="[% iteminformatio.mandatory | html %]" />
413
                                                                                [% IF ( iteminformatio.mandatory ) %]
411
                                                                            [% IF ( iteminformatio.mandatory ) %]
414
                                                                                    <span class="required">Required</span>
412
                                                                                <span class="required">Required</span>
415
                                                                                [% END %]
413
                                                                            [% END %]
416
                                                                            </div>
414
                                                                        </div>
417
                                                                        </li>
415
                                                                    </li>
418
                                                                    [% END %]
416
                                                                [% END %]
419
                                                                </ol>
417
                                                            </ol>
420
                                                            </div><!-- /#itemblock -->
418
                                                        </div><!-- /#itemblock -->
421
                                                        </div> <!-- /#outeritemblock -->
419
                                                    </div> <!-- /#outeritemblock -->
422
                                                    [% END #/FOREACH item %]
420
                                                [% END #/FOREACH item %]
423
                                                </div> <!-- /.item_edit_form -->
421
                                            </fieldset>
424
                                            </fieldset>
422
                                        </div>
423
                                    [% END # /IF items %]
425
                                    [% END # /IF items %]
424
                                </div> <!-- /#items_info -->
426
                                </div> <!-- /#items_info -->
425
427
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt (-1 / +1 lines)
Lines 150-156 Link Here
150
    </div>
150
    </div>
151
    <div class="col-sm-10">
151
    <div class="col-sm-10">
152
152
153
<div id="cataloguing_additem_newitem">
153
<div id="cataloguing_additem_newitem" class="item_edit_form">
154
    <form id="f" method="post" action="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% biblio.biblionumber | html %]" name="f">
154
    <form id="f" method="post" action="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% biblio.biblionumber | html %]" name="f">
155
    <input type="hidden" name="op" value="[% op | html %]" />
155
    <input type="hidden" name="op" value="[% op | html %]" />
156
    [% IF (popup) %]
156
    [% IF (popup) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt (-1 / +1 lines)
Lines 143-149 Link Here
143
[% END %]
143
[% END %]
144
144
145
    [% IF ( itemresults ) %]
145
    [% IF ( itemresults ) %]
146
        <div id="cataloguing_additem_newitem">
146
        <div id="cataloguing_additem_newitem" class="item_edit_form">
147
         <input type="hidden" name="op" value="[% op | html %]" />
147
         <input type="hidden" name="op" value="[% op | html %]" />
148
         <p>This will delete [% IF ( too_many_items_display ) %]all the[% ELSE %]the selected[% END %] items.</p>
148
         <p>This will delete [% IF ( too_many_items_display ) %]all the[% ELSE %]the selected[% END %] items.</p>
149
         <input type="hidden" name="del" value="1" />
149
         <input type="hidden" name="del" value="1" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt (-2 / +1 lines)
Lines 172-178 Link Here
172
                [% END # /IF too_many_items_process %]
172
                [% END # /IF too_many_items_process %]
173
173
174
                [% UNLESS (too_many_items_process) %]
174
                [% UNLESS (too_many_items_process) %]
175
                    <div id="cataloguing_additem_newitem">
175
                    <div id="cataloguing_additem_newitem" class="item_edit_form">
176
                        <h2>Edit items</h2>
176
                        <h2>Edit items</h2>
177
                        <div class="hint">Checking the box right next to the subfield label will disable the entry and delete the subfield on all selected items. Leave fields blank to make no change.</div>
177
                        <div class="hint">Checking the box right next to the subfield label will disable the entry and delete the subfield on all selected items. Leave fields blank to make no change.</div>
178
                        <fieldset class="rows">
178
                        <fieldset class="rows">
179
- 

Return to bug 32046