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 765-842 No patron matched <span class="ex">[% message %]</span> Link Here
765
</ul>
765
</ul>
766
766
767
<!-- SUMMARY : TODAY & PREVIOUS ISSUES -->
767
<!-- SUMMARY : TODAY & PREVIOUS ISSUES -->
768
<div id="checkouts">
769
    [% IF ( issuecount ) %]
770
        <div id="issues-table-loading-message">
771
            <p>
772
                <a id="issues-table-load-now-button" href="#" class="btn"><i class="icon-book"></i> Show checkouts</a>
773
            </p>
774
        </div>
775
776
        <form name="issues" action="/cgi-bin/koha/tools/export.pl" method="post" class="checkboxed">
777
            <table id="issues-table">
778
                <thead>
779
                    <tr>
780
                        <th scope="col">&nbsp;</th>
781
                        <th scope="col">&nbsp;</th>
782
                        <th scope="col">Due date</th>
783
                        <th scope="col">Due date</th>
784
                        <th scope="col">Title</th>
785
                        <th scope="col">Item type</th>
786
                        <th scope="col">Checked out on</th>
787
                        <th scope="col">Checked out from</th>
788
                        <th scope="col">Call no</th>
789
                        <th scope="col">Charge</th>
790
                        <th scope="col">Price</th>
791
                        <th scope="col">Renew <p class="column-tool"><a href="#" id="CheckAllRenewals">select all</a> | <a href="#" id="UncheckAllRenewals">none</a></p></th>
792
                        <th scope="col">Check in <p class="column-tool"><a href="#" id="CheckAllCheckins">select all</a> | <a href="#" id="UncheckAllCheckins">none</a></p></th>
793
                        <th scope="col">Export <p class="column-tool"><a href="#" id="CheckAllExports">select all</a> | <a href="#" id="UncheckAllExports">none</a></p></th>
794
                    </tr>
795
                </thead>
796
                [% INCLUDE 'checkouts-table-footer.inc' %]
797
            </table>
798
799
            <label for="issues-table-load-immediately">Always show checkouts immediately</label>
800
            <input id="issues-table-load-immediately" type="checkbox" />
801
802
            <fieldset id="issues-table-actions" class="action">
803
                [% IF ( CAN_user_circulate_override_renewals ) %]
804
                    [% IF ( AllowRenewalLimitOverride ) %]
805
                        <label for="override_limit">Override renewal limit:</label>
806
                        <input type="checkbox" name="override_limit" id="override_limit" value="1" />
807
                    [% END %]
808
                [% END %]
809
                <button class="btn" id="RenewCheckinChecked"><i class="icon-check"></i> Renew or return checked items</button>
810
                <button class="btn" id="RenewAll"><i class="icon-book"></i> Renew all</button>
811
            </fieldset>
812
813
            [% IF issuecount %]
814
                [% IF ( exports_enabled ) %]
815
                    <fieldset>
816
                        <label for="output_format"><b>Export checkouts using format:</b></label>
817
                        <select name="output_format" id="output_format">
818
                            <option value="iso2709_995">ISO2709 with items</option>
819
                            <option value="iso2709">ISO2709 without items</option>
820
                            [% IF Koha.Preference('ExportWithCsvProfile') %]
821
                                <option value="csv">CSV</option>
822
                            [% END %]
823
                        </select>
824
825
                       <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" />
826
                        <input type="hidden" name="op" value="export" />
827
                        <input type="hidden" id="output_format" name="output_format" value="iso2709" />
828
                        <input type="hidden" id="dont_export_item" name="dont_export_item" value="0" />
829
                        <input type="hidden" id="record_type" name="record_type" value="bibs" />
830
                        <button class="btn btn-small" id="export_submit"><i class="icon-download-alt"></i> Export</button>
831
                    </fieldset>
832
                [% END %]
833
            [% END %]
834
        </form>
835
768
836
    [% ELSE %]
769
[% INCLUDE "checkouts-table.inc" %]
837
        <p>Patron has nothing checked out.</p>
838
    [% END %]
839
</div>
840
770
841
[% IF ( relatives_issues_count ) %]
771
[% IF ( relatives_issues_count ) %]
842
    <div id="relatives-issues">
772
    <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