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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/checkouts-table.inc (+70 lines)
Line 0 Link Here
1
<div id="checkouts">
2
    [% IF ( issuecount ) %]
3
        <div id="issues-table-loading-message">
4
            <p>
5
                <a id="issues-table-load-now-button" href="#" class="btn"><i class="icon-book"></i> Show checkouts</a>
6
            </p>
7
        </div>
8
        <form name="issues" action="/cgi-bin/koha/tools/export.pl" method="post" class="checkboxed">
9
            <table id="issues-table" style="width: 100% !Important;">
10
                <thead>
11
                    <tr>
12
                        <th scope="col">&nbsp;</th>
13
                        <th scope="col">&nbsp;</th>
14
                        <th scope="col">Due date</th>
15
                        <th scope="col">Due date</th>
16
                        <th scope="col">Title</th>
17
                        <th scope="col">Item type</th>
18
                        <th scope="col">Checked out on</th>
19
                        <th scope="col">Checked out from</th>
20
                        <th scope="col">Call no</th>
21
                        <th scope="col">Charge</th>
22
                        <th scope="col">Price</th>
23
                        <th scope="col">Renew <p class="column-tool"><a href="#" id="CheckAllRenewals">select all</a> | <a href="#" id="UncheckAllRenewals">none</a></p></th>
24
                        <th scope="col">Check in <p class="column-tool"><a href="#" id="CheckAllCheckins">select all</a> | <a href="#" id="UncheckAllCheckins">none</a></p></th>
25
                        <th scope="col">Export <p class="column-tool"><a href="#" id="CheckAllExports">select all</a> | <a href="#" id="UncheckAllExports">none</a></p></th>
26
                    </tr>
27
                </thead>
28
                [% INCLUDE 'checkouts-table-footer.inc' %]
29
            </table>
30
31
            <label for="issues-table-load-immediately">Always show checkouts immediately</label>
32
            <input id="issues-table-load-immediately" type="checkbox" />
33
34
            <div id="issues-table-actions">
35
                <fieldset class="action">
36
                    [% IF ( CAN_user_circulate_override_renewals ) %]
37
                        [% IF ( AllowRenewalLimitOverride ) %]
38
                            <label for="override_limit">Override renewal limit:</label>
39
                            <input type="checkbox" name="override_limit" id="override_limit" value="1" />
40
                        [% END %]
41
                    [% END %]
42
                    <button class="btn" id="RenewCheckinChecked"><i class="icon-check"></i> Renew or return checked items</button>
43
                    <button class="btn" id="RenewAll"><i class="icon-book"></i> Renew all</button>
44
                </fieldset>
45
46
                [% IF ( exports_enabled ) %]
47
                    <fieldset>
48
                        <label for="output_format"><b>Export checkouts using format:</b></label>
49
                        <select name="output_format" id="output_format">
50
                            <option value="iso2709_995">ISO2709 with items</option>
51
                            <option value="iso2709">ISO2709 without items</option>
52
                            [% IF Koha.Preference('ExportWithCsvProfile') %]
53
                                <option value="csv">CSV</option>
54
                            [% END %]
55
                        </select>
56
57
                       <label for="export_remove_fields">Don't export fields:</label> <input type="text" id="export_remove_fields" name="export_remove_fields" value="[% export_remove_fields %]" title="Use for iso2709 exports" />
58
                        <input type="hidden" name="op" value="export" />
59
                        <input type="hidden" id="output_format" name="output_format" value="iso2709" />
60
                        <input type="hidden" id="dont_export_item" name="dont_export_item" value="0" />
61
                        <input type="hidden" id="record_type" name="record_type" value="bibs" />
62
                        <button class="btn btn-small" id="export_submit"><i class="icon-download-alt"></i> Export</button>
63
                    </fieldset>
64
                [% END %]
65
            </div>
66
        </form>
67
    [% ELSE %]
68
        <p>Patron has nothing checked out.</p>
69
    [% END %]
70
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-71 / +1 lines)
Lines 766-843 No patron matched <span class="ex">[% message %]</span> Link Here
766
</ul>
766
</ul>
767
767
768
<!-- SUMMARY : TODAY & PREVIOUS ISSUES -->
768
<!-- SUMMARY : TODAY & PREVIOUS ISSUES -->
769
<div id="checkouts">
770
    [% IF ( issuecount ) %]
771
        <div id="issues-table-loading-message">
772
            <p>
773
                <a id="issues-table-load-now-button" href="#" class="btn"><i class="icon-book"></i> Show checkouts</a>
774
            </p>
775
        </div>
776
777
        <form name="issues" action="/cgi-bin/koha/tools/export.pl" method="post" class="checkboxed">
778
            <table id="issues-table">
779
                <thead>
780
                    <tr>
781
                        <th scope="col">&nbsp;</th>
782
                        <th scope="col">&nbsp;</th>
783
                        <th scope="col">Due date</th>
784
                        <th scope="col">Due date</th>
785
                        <th scope="col">Title</th>
786
                        <th scope="col">Item type</th>
787
                        <th scope="col">Checked out on</th>
788
                        <th scope="col">Checked out from</th>
789
                        <th scope="col">Call no</th>
790
                        <th scope="col">Charge</th>
791
                        <th scope="col">Price</th>
792
                        <th scope="col">Renew <p class="column-tool"><a href="#" id="CheckAllRenewals">select all</a> | <a href="#" id="UncheckAllRenewals">none</a></p></th>
793
                        <th scope="col">Check in <p class="column-tool"><a href="#" id="CheckAllCheckins">select all</a> | <a href="#" id="UncheckAllCheckins">none</a></p></th>
794
                        <th scope="col">Export <p class="column-tool"><a href="#" id="CheckAllExports">select all</a> | <a href="#" id="UncheckAllExports">none</a></p></th>
795
                    </tr>
796
                </thead>
797
                [% INCLUDE 'checkouts-table-footer.inc' %]
798
            </table>
799
800
            <label for="issues-table-load-immediately">Always show checkouts immediately</label>
801
            <input id="issues-table-load-immediately" type="checkbox" />
802
803
            <fieldset id="issues-table-actions" class="action">
804
                [% IF ( CAN_user_circulate_override_renewals ) %]
805
                    [% IF ( AllowRenewalLimitOverride ) %]
806
                        <label for="override_limit">Override renewal limit:</label>
807
                        <input type="checkbox" name="override_limit" id="override_limit" value="1" />
808
                    [% END %]
809
                [% END %]
810
                <button class="btn" id="RenewCheckinChecked"><i class="icon-check"></i> Renew or return checked items</button>
811
                <button class="btn" id="RenewAll"><i class="icon-book"></i> Renew all</button>
812
            </fieldset>
813
814
            [% IF issuecount %]
815
                [% IF ( exports_enabled ) %]
816
                    <fieldset>
817
                        <label for="output_format"><b>Export checkouts using format:</b></label>
818
                        <select name="output_format" id="output_format">
819
                            <option value="iso2709_995">ISO2709 with items</option>
820
                            <option value="iso2709">ISO2709 without items</option>
821
                            [% IF Koha.Preference('ExportWithCsvProfile') %]
822
                                <option value="csv">CSV</option>
823
                            [% END %]
824
                        </select>
825
826
                       <label for="export_remove_fields">Don't export fields:</label> <input type="text" id="export_remove_fields" name="export_remove_fields" value="[% export_remove_fields %]" title="Use for iso2709 exports" />
827
                        <input type="hidden" name="op" value="export" />
828
                        <input type="hidden" id="output_format" name="output_format" value="iso2709" />
829
                        <input type="hidden" id="dont_export_item" name="dont_export_item" value="0" />
830
                        <input type="hidden" id="record_type" name="record_type" value="bibs" />
831
                        <button class="btn btn-small" id="export_submit"><i class="icon-download-alt"></i> Export</button>
832
                    </fieldset>
833
                [% END %]
834
            [% END %]
835
        </form>
836
769
837
    [% ELSE %]
770
[% INCLUDE "checkouts-table.inc" %]
838
        <p>Patron has nothing checked out.</p>
839
    [% END %]
840
</div>
841
771
842
[% IF ( relatives_issues_count ) %]
772
[% IF ( relatives_issues_count ) %]
843
    <div id="relatives-issues">
773
    <div id="relatives-issues">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt (-74 / +1 lines)
Lines 417-495 function validate1(date) { Link Here
417
        <li><a id="debarments-tab-link" href="#reldebarments">[% debarments.size %] Restrictions</a></li>
417
        <li><a id="debarments-tab-link" href="#reldebarments">[% debarments.size %] Restrictions</a></li>
418
    </ul>
418
    </ul>
419
419
420
    <div id="checkouts">
420
[% INCLUDE "checkouts-table.inc" %]
421
        [% IF ( issuecount ) %]
422
            <div id="issues-table-loading-message">
423
                <p>
424
                    <a id="issues-table-load-now-button" href="#" class="btn"><i class="icon-book"></i> Show checkouts</a>
425
                </p>
426
            </div>
427
428
            <form name="issues" action="/cgi-bin/koha/tools/export.pl" method="post" class="checkboxed">
429
                <table id="issues-table" style="width: 100% !Important;">
430
                    <thead>
431
                        <tr>
432
                            <th scope="col">&nbsp;</th>
433
                            <th scope="col">&nbsp;</th>
434
                            <th scope="col">Due date</th>
435
                            <th scope="col">Due date</th>
436
                            <th scope="col">Title</th>
437
                            <th scope="col">Item type</th>
438
                            <th scope="col">Checked out on</th>
439
                            <th scope="col">Checked out from</th>
440
                            <th scope="col">Call no</th>
441
                            <th scope="col">Charge</th>
442
                            <th scope="col">Price</th>
443
                            <th scope="col">Renew <p class="column-tool"><a href="#" id="CheckAllRenewals">select all</a> | <a href="#" id="UncheckAllRenewals">none</a></p></th>
444
                            <th scope="col">Check in <p class="column-tool"><a href="#" id="CheckAllCheckins">select all</a> | <a href="#" id="UncheckAllCheckins">none</a></p></th>
445
                            <th scope="col">Export <p class="column-tool"><a href="#" id="CheckAllExports">select all</a> | <a href="#" id="UncheckAllExports">none</a></p></th>
446
                        </tr>
447
                    </thead>
448
                    [% INCLUDE 'checkouts-table-footer.inc' %]
449
                </table>
450
451
                <label for="issues-table-load-immediately">Always show checkouts immediately</label>
452
                <input id="issues-table-load-immediately" type="checkbox" />
453
454
                [% IF ( issuecount ) %]
455
                    <div id="issues-table-actions">
456
                        <fieldset class="action">
457
                            [% IF ( CAN_user_circulate_override_renewals ) %]
458
                                [% IF ( AllowRenewalLimitOverride ) %]
459
                                    <label for="override_limit">Override renewal limit:</label>
460
                                    <input type="checkbox" name="override_limit" id="override_limit" value="1" />
461
                                [% END %]
462
                            [% END %]
463
                            <button class="btn" id="RenewCheckinChecked"><i class="icon-check"></i> Renew or return checked items</button>
464
                            <button class="btn" id="RenewAll"><i class="icon-book"></i> Renew all</button>
465
                        </fieldset>
466
467
                        [% IF ( exports_enabled ) %]
468
                            <fieldset>
469
                                <label for="output_format"><b>Export checkouts using format:</b></label>
470
                                <select name="output_format" id="output_format">
471
                                    <option value="iso2709_995">ISO2709 with items</option>
472
                                    <option value="iso2709">ISO2709 without items</option>
473
                                    [% IF Koha.Preference('ExportWithCsvProfile') %]
474
                                        <option value="csv">CSV</option>
475
                                    [% END %]
476
                                </select>
477
478
                               <label for="export_remove_fields">Don't export fields:</label> <input type="text" id="export_remove_fields" name="export_remove_fields" value="[% export_remove_fields %]" title="Use for iso2709 exports" />
479
                                <input type="hidden" name="op" value="export" />
480
                                <input type="hidden" id="output_format" name="output_format" value="iso2709" />
481
                                <input type="hidden" id="dont_export_item" name="dont_export_item" value="0" />
482
                                <input type="hidden" id="record_type" name="record_type" value="bibs" />
483
                                <button class="btn btn-small" id="export_submit"><i class="icon-download-alt"></i> Export</button>
484
                            </fieldset>
485
                        [% END %]
486
                    </div>
487
                [% END %]
488
            </form>
489
        [% ELSE %]
490
            <p>Patron has nothing checked out.</p>
491
        [% END %]
492
    </div>
493
421
494
[% IF ( relatives_issues_count ) %]
422
[% IF ( relatives_issues_count ) %]
495
    <div id="relatives-issues">
423
    <div id="relatives-issues">
496
- 

Return to bug 13190