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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt (-50 / +51 lines)
Lines 10-16 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
<style>#dataPreview { width : 80%; } @media (max-width: 767px) { #dataPreview { margin: 0; width : auto; } }</style>
13
<style>@media (max-width: 767px) { #dataPreview { margin: 0; width : auto; } }</style>
14
[% INCLUDE 'doc-head-close.inc' %]
14
[% INCLUDE 'doc-head-close.inc' %]
15
[%# As long as cataloging plugins rely on 'script' tags added inline, JS must be in the header %]
15
[%# As long as cataloging plugins rely on 'script' tags added inline, JS must be in the header %]
16
[% Asset.js("js/acquisitions-menu.js") | $raw %]
16
[% Asset.js("js/acquisitions-menu.js") | $raw %]
Lines 18-23 Link Here
18
[% Asset.js("js/acq.js") | $raw %]
18
[% Asset.js("js/acq.js") | $raw %]
19
[% Asset.js("js/funds_sorts.js") | $raw %]
19
[% Asset.js("js/funds_sorts.js") | $raw %]
20
[% Asset.js("js/addorderiso2709.js") | $raw %]
20
[% Asset.js("js/addorderiso2709.js") | $raw %]
21
[% INCLUDE 'calendar.inc' %]
21
</head>
22
</head>
22
23
23
<body id="acq_addorderiso2709" class="acq">
24
<body id="acq_addorderiso2709" class="acq">
Lines 180-190 Link Here
180
                                                </li>
181
                                                </li>
181
                                                <li class="sort1">
182
                                                <li class="sort1">
182
                                                    <label for="sort1_record_[% biblio.import_record_id | html %]">Statistic 1: </label>
183
                                                    <label for="sort1_record_[% biblio.import_record_id | html %]">Statistic 1: </label>
183
                                                    <input id="sort1_record_[% biblio.import_record_id | html %]" type="text" id="sort1" size="20" name="sort1" value="[% biblio.sort1 | html %]" />
184
                                                    <input id="sort1_record_[% biblio.import_record_id | html %]" type="text" size="20" name="sort1" value="[% biblio.sort1 | html %]" />
184
                                                </li>
185
                                                </li>
185
                                                <li class="sort2">
186
                                                <li class="sort2">
186
                                                    <label for="sort2_record_[% biblio.import_record_id | html %]">Statistic 2: </label>
187
                                                    <label for="sort2_record_[% biblio.import_record_id | html %]">Statistic 2: </label>
187
                                                    <input id="sort2_record_[% biblio.import_record_id | html %]" type="text" id="sort2" size="20" name="sort2" value="[% biblio.sort2 | html %]" />
188
                                                    <input id="sort2_record_[% biblio.import_record_id | html %]" type="text" size="20" name="sort2" value="[% biblio.sort2 | html %]" />
188
                                                </li>
189
                                                </li>
189
                                            </ol>
190
                                            </ol>
190
                                        </div>
191
                                        </div>
Lines 319-341 Link Here
319
                                        </div>
320
                                        </div>
320
                                    </fieldset> <!-- .biblio.unselected.rows -->
321
                                    </fieldset> <!-- .biblio.unselected.rows -->
321
322
322
                                    <div id="dataPreview" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="dataPreviewLabel" aria-hidden="true">
323
                                        <div class="modal-dialog">
324
                                                <div class="modal-content">
325
                                                <div class="modal-header">
326
                                                    <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
327
                                                    <h3 id="dataPreviewLabel">MARC preview</h3>
328
                                                </div>
329
                                                <div class="modal-body">
330
                                                    <div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div>
331
                                                </div>
332
                                                <div class="modal-footer">
333
                                                    <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
334
                                                </div>
335
                                            </div> <!-- /.modal-content -->
336
                                        </div> <!-- /modal-dialog -->
337
                                    </div> <!-- /#dataPreview -->
338
                                [% END # /FOREACH biblio %]
323
                                [% END # /FOREACH biblio %]
324
                                <div class="modal" id="dataPreview" tabindex="-1" role="dialog" aria-labelledby="dataPreviewLabel">
325
                                    <div class="modal-dialog modal-lg" role="document">
326
                                        <div class="modal-content">
327
                                            <div class="modal-header">
328
                                                <button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span
329
                                                        aria-hidden="true">&times;</span></button>
330
                                                <h4 id="dataPreviewLabel">MARC preview</h4>
331
                                            </div>
332
                                            <div class="modal-body">
333
                                                <div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div>
334
                                            </div>
335
                                            <div class="modal-footer">
336
                                                <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
337
                                            </div>
338
                                        </div> <!-- /.modal-content -->
339
                                    </div> <!-- /.modal-dialog -->
340
                                </div> <!-- /#dataPreview -->
339
                            </div> <!-- /#records_to_import -->
341
                            </div> <!-- /#records_to_import -->
340
342
341
                            <div id="items_info">
343
                            <div id="items_info">
Lines 402-441 Link Here
402
                                            <!-- origquantityrec only here for javascript compatibility (additem.js needs it, useless here, useful when receiveing an order -->
404
                                            <!-- origquantityrec only here for javascript compatibility (additem.js needs it, useless here, useful when receiveing an order -->
403
                                            <input id="origquantityrec" readonly="readonly" type="hidden" name="origquantityrec" value="1" />
405
                                            <input id="origquantityrec" readonly="readonly" type="hidden" name="origquantityrec" value="1" />
404
                                        </li>
406
                                        </li>
405
                                        <li>
407
                                        [% IF ( close ) %]
406
                                            [% IF ( close ) %]
408
                                            <li>
407
                                                <span class="label">Fund: </span>
409
                                                <span class="label">Fund: </span>
408
                                                <input type="hidden" size="20" name="budget_id" id="budget_id" value="[% budget_id | html %]" />[% Budget_name | html %]
410
                                                <input type="hidden" size="20" name="budget_id" id="budget_id" value="[% budget_id | html %]" />[% Budget_name | html %]
409
                                            [% ELSE %]
411
                                            </li>
410
                                                <li>
412
                                        [% ELSE %]
411
                                                    <label for="all_currency">Currency:</label>
413
                                            <li>
412
                                                    <select name="all_currency" id="all_currency">
414
                                                <label for="all_currency">Currency:</label>
413
                                                        [% FOREACH currency IN currencies %]
415
                                                <select name="all_currency" id="all_currency">
414
                                                            [% IF currency.currency == bookseller.listprice %]
416
                                                    [% FOREACH currency IN currencies %]
415
                                                                <option value="[% currency.currency | html %]" selected="selected">[% currency.currency | html %]</option>
417
                                                        [% IF currency.currency == bookseller.listprice %]
416
                                                            [% ELSIF not currency.archived %]
418
                                                            <option value="[% currency.currency | html %]" selected="selected">[% currency.currency | html %]</option>
417
                                                                <option value="[% currency.currency | html %]">[% currency.currency | html %]</option>
419
                                                        [% ELSIF not currency.archived %]
418
                                                            [% END %]
420
                                                            <option value="[% currency.currency | html %]">[% currency.currency | html %]</option>
419
                                                        [% END %]
421
                                                        [% END %]
420
                                                    </select>
422
                                                    [% END %]
421
                                                </li>
423
                                                </select>
422
                                                <li>
424
                                            </li>
423
                                                    <label for="all_budget_id">Fund: </label>
425
                                            <li>
424
                                                    <select id="all_budget_id" name="all_budget_id">
426
                                                <label for="all_budget_id">Fund: </label>
425
                                                        <option value="">Select a fund (will populate orders/items if set)</option>
427
                                                <select id="all_budget_id" name="all_budget_id">
426
                                                        [% FOREACH budget_loo IN budget_loop %]
428
                                                    <option value="">Select a fund (will populate orders/items if set)</option>
427
                                                            [% IF ( budget_loo.b_active ) %]
429
                                                    [% FOREACH budget_loo IN budget_loop %]
428
                                                                <option value="[% budget_loo.b_id | html %]" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]">[% budget_loo.b_txt | html %]</option>
430
                                                        [% IF ( budget_loo.b_active ) %]
429
                                                            [% ELSE %]
431
                                                            <option value="[% budget_loo.b_id | html %]" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]">[% budget_loo.b_txt | html %]</option>
430
                                                                <option value="[% budget_loo.b_id | html %]" class="b_inactive" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]">[% budget_loo.b_txt | html %] (inactive)</option>
432
                                                        [% ELSE %]
431
                                                            [% END %]
433
                                                            <option value="[% budget_loo.b_id | html %]" class="b_inactive" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]">[% budget_loo.b_txt | html %] (inactive)</option>
432
                                                        [% END %]
434
                                                        [% END %]
433
                                                    </select>
435
                                                    [% END %]
434
                                                    <label for="all_showallbudgets" style="float:none;width:auto;">&nbsp;Show inactive:</label>
436
                                                </select>
435
                                                    <input type="checkbox" id="all_showallbudgets" />
437
                                                <label for="all_showallbudgets" style="float:none;width:auto;">&nbsp;Show inactive:</label>
436
                                                </li>
438
                                                <input type="checkbox" id="all_showallbudgets" />
437
                                            [% END #/IF close %]
439
                                            </li>
438
                                        </li>
440
                                        [% END #/IF close %]
439
                                        <li>
441
                                        <li>
440
                                            <label for="all_order_internalnote">Internal note: </label>
442
                                            <label for="all_order_internalnote">Internal note: </label>
441
                                            <textarea id="all_order_internalnote" cols="30" rows="3" name="all_order_internalnote"></textarea>
443
                                            <textarea id="all_order_internalnote" cols="30" rows="3" name="all_order_internalnote"></textarea>
442
- 

Return to bug 30388