Lines 1-98
Link Here
|
1 |
[% USE Koha %] |
1 |
[% USE Koha %] |
2 |
[% PROCESS 'modal-claims.inc' %] |
2 |
[% PROCESS 'modal-claims.inc' %] |
3 |
[% INCLUDE 'format_price.inc' %] |
3 |
[% INCLUDE 'format_price.inc' %] |
4 |
<div id="checkouts" role="tabpanel" class="tab-pane active"> |
|
|
5 |
[% IF ( issuecount ) %] |
6 |
<div id="issues-table-loading-message"> |
7 |
<p> |
8 |
<a id="issues-table-load-now-button" href="#" class="btn btn-default"><i class="fa fa-book"></i> Show checkouts</a> |
9 |
</p> |
10 |
</div> |
11 |
<form name="issues" action="/cgi-bin/koha/tools/export.pl" method="post"> |
12 |
<table id="issues-table" style="width: 100% !Important;"> |
13 |
<thead> |
14 |
<tr> |
15 |
<th scope="col"> </th> |
16 |
<th scope="col"> </th> |
17 |
<th scope="col">Due date</th> |
18 |
<th scope="col">Due date</th> |
19 |
<th scope="col">Title</th> |
20 |
<th scope="col">Record-level item type</th> |
21 |
<th scope="col">Item type</th> |
22 |
<th scope="col">Collection</th> |
23 |
<th scope="col">Location</th> |
24 |
<th scope="col">Home library</th> |
25 |
<th scope="col"> </th> |
26 |
<th scope="col">Checked out on</th> |
27 |
<th scope="col">Checked out from</th> |
28 |
<th scope="col">Call number</th> |
29 |
<th scope="col">Copy number</th> |
30 |
<th scope="col">Charge</th> |
31 |
<th scope="col">Fine</th> |
32 |
<th scope="col">Price</th> |
33 |
<th scope="col">Renew <p class="column-tool"><a href="#" id="CheckAllRenewals">select all</a> | <a href="#" id="UncheckAllRenewals">none</a></p></th> |
34 |
<th scope="col">Check in <p class="column-tool"><a href="#" id="CheckAllCheckins">select all</a> | <a href="#" id="UncheckAllCheckins">none</a></p></th> |
35 |
<th scope="col">Return claims</th> |
36 |
<th scope="col">Export <p class="column-tool"><a href="#" id="CheckAllExports">select all</a> | <a href="#" id="UncheckAllExports">none</a></p></th> |
37 |
</tr> |
38 |
</thead> |
39 |
[% INCLUDE 'checkouts-table-footer.inc' %] |
40 |
</table> |
41 |
|
4 |
|
42 |
<label for="issues-table-load-immediately">Always show checkouts immediately</label> |
5 |
[% IF ( issuecount ) %] |
43 |
<input id="issues-table-load-immediately" type="checkbox" /> |
6 |
<div id="issues-table-loading-message"> |
|
|
7 |
<p> |
8 |
<a id="issues-table-load-now-button" href="#" class="btn btn-default"><i class="fa fa-book"></i> Show checkouts</a> |
9 |
</p> |
10 |
</div> |
11 |
<form name="issues" action="/cgi-bin/koha/tools/export.pl" method="post"> |
12 |
<table id="issues-table" style="width: 100% !Important;"> |
13 |
<thead> |
14 |
<tr> |
15 |
<th scope="col"> </th> |
16 |
<th scope="col"> </th> |
17 |
<th scope="col">Due date</th> |
18 |
<th scope="col">Due date</th> |
19 |
<th scope="col">Title</th> |
20 |
<th scope="col">Record-level item type</th> |
21 |
<th scope="col">Item type</th> |
22 |
<th scope="col">Collection</th> |
23 |
<th scope="col">Location</th> |
24 |
<th scope="col">Home library</th> |
25 |
<th scope="col"> </th> |
26 |
<th scope="col">Checked out on</th> |
27 |
<th scope="col">Checked out from</th> |
28 |
<th scope="col">Call number</th> |
29 |
<th scope="col">Copy number</th> |
30 |
<th scope="col">Charge</th> |
31 |
<th scope="col">Fine</th> |
32 |
<th scope="col">Price</th> |
33 |
<th scope="col">Renew <p class="column-tool"><a href="#" id="CheckAllRenewals">select all</a> | <a href="#" id="UncheckAllRenewals">none</a></p></th> |
34 |
<th scope="col">Check in <p class="column-tool"><a href="#" id="CheckAllCheckins">select all</a> | <a href="#" id="UncheckAllCheckins">none</a></p></th> |
35 |
<th scope="col">Return claims</th> |
36 |
<th scope="col">Export <p class="column-tool"><a href="#" id="CheckAllExports">select all</a> | <a href="#" id="UncheckAllExports">none</a></p></th> |
37 |
</tr> |
38 |
</thead> |
39 |
[% INCLUDE 'checkouts-table-footer.inc' %] |
40 |
</table> |
44 |
|
41 |
|
45 |
<div id="issues-table-actions"> |
42 |
<label for="issues-table-load-immediately">Always show checkouts immediately</label> |
46 |
<fieldset class="action"> |
43 |
<input id="issues-table-load-immediately" type="checkbox" /> |
47 |
[% IF ( CAN_user_circulate_override_renewals ) %] |
44 |
|
48 |
[% IF Koha.Preference( 'AllowRenewalLimitOverride' ) || Koha.Preference( 'AllowRenewalOnHoldOverride' ) %] |
45 |
<div id="issues-table-actions"> |
49 |
<label for="override_limit">Override renewal restrictions:</label> |
46 |
<fieldset class="action"> |
50 |
<input type="checkbox" name="override_limit" id="override_limit" value="1" /> |
47 |
[% IF ( CAN_user_circulate_override_renewals ) %] |
51 |
[% END %] |
48 |
[% IF Koha.Preference( 'AllowRenewalLimitOverride' ) || Koha.Preference( 'AllowRenewalOnHoldOverride' ) %] |
|
|
49 |
<label for="override_limit">Override renewal restrictions:</label> |
50 |
<input type="checkbox" name="override_limit" id="override_limit" value="1" /> |
52 |
[% END %] |
51 |
[% END %] |
53 |
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %] |
52 |
[% END %] |
54 |
[% IF Koha.Preference( 'UnseenRenewals' ) %] |
53 |
[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %] |
55 |
<label id="renew_as_unseen_label" for="override_limit">Renew as "unseen" if appropriate:</label> |
54 |
[% IF Koha.Preference( 'UnseenRenewals' ) %] |
56 |
<input type="checkbox" name="renew_as_unseen" id="renew_as_unseen_checkbox" value="1" /> |
55 |
<label id="renew_as_unseen_label" for="override_limit">Renew as "unseen" if appropriate:</label> |
57 |
[% END %] |
56 |
<input type="checkbox" name="renew_as_unseen" id="renew_as_unseen_checkbox" value="1" /> |
58 |
<button class="btn btn-default" id="RenewCheckinChecked"><i class="fa fa-check"></i> Renew or check in selected items</button> |
|
|
59 |
<button class="btn btn-default" id="RenewAll"><i class="fa fa-book"></i> Renew all</button> |
60 |
[% END %] |
57 |
[% END %] |
61 |
</fieldset> |
58 |
<button class="btn btn-default" id="RenewCheckinChecked"><i class="fa fa-check"></i> Renew or check in selected items</button> |
62 |
|
59 |
<button class="btn btn-default" id="RenewAll"><i class="fa fa-book"></i> Renew all</button> |
63 |
[% IF Koha.Preference('ExportCircHistory') %] |
60 |
[% END %] |
64 |
<fieldset> |
61 |
</fieldset> |
65 |
<label for="issues-table-output-format"><strong>Export checkouts using format:</strong></label> |
|
|
66 |
<select name="issues-table-output-format" id="issues-table-output-format"> |
67 |
<option value="iso2709_995">MARC with items</option> |
68 |
<option value="iso2709">MARC without items</option> |
69 |
[% IF csv_profiles.count %] |
70 |
<option value="csv">CSV</option> |
71 |
[% END %] |
72 |
</select> |
73 |
|
62 |
|
|
|
63 |
[% IF Koha.Preference('ExportCircHistory') %] |
64 |
<fieldset> |
65 |
<label for="issues-table-output-format"><strong>Export checkouts using format:</strong></label> |
66 |
<select name="issues-table-output-format" id="issues-table-output-format"> |
67 |
<option value="iso2709_995">MARC with items</option> |
68 |
<option value="iso2709">MARC without items</option> |
74 |
[% IF csv_profiles.count %] |
69 |
[% IF csv_profiles.count %] |
75 |
<select name="csv_profile_id"> |
70 |
<option value="csv">CSV</option> |
76 |
[% FOREACH csv_profile IN csv_profiles %] |
|
|
77 |
<option value="[% csv_profile.export_format_id | html %]">[% csv_profile.profile | html %]</option> |
78 |
[% END %] |
79 |
</select> |
80 |
[% END %] |
71 |
[% END %] |
81 |
<label for="export_items_bundle_contents">Export items bundle contents</label> <input type="checkbox" name="export_items_bundle_contents" id="export_items_bundle_contents"> |
72 |
</select> |
82 |
<label for="export_remove_fields">Don't export fields:</label> <input type="text" id="export_remove_fields" name="export_remove_fields" value="[% Koha.Preference('ExportRemoveFields') | html %]" title="Use for MARC exports" /> |
73 |
|
83 |
<input type="hidden" name="op" value="export" /> |
74 |
[% IF csv_profiles.count %] |
84 |
<input type="hidden" id="output_format" name="output_format" value="iso2709" /> |
75 |
<select name="csv_profile_id"> |
85 |
<input type="hidden" id="dont_export_item" name="dont_export_item" value="0" /> |
76 |
[% FOREACH csv_profile IN csv_profiles %] |
86 |
<input type="hidden" id="record_type" name="record_type" value="bibs" /> |
77 |
<option value="[% csv_profile.export_format_id | html %]">[% csv_profile.profile | html %]</option> |
87 |
<button class="btn btn-default btn-sm" id="export_submit"><i class="fa fa-download"></i> Export</button> |
78 |
[% END %] |
88 |
</fieldset> |
79 |
</select> |
89 |
[% END %] |
80 |
[% END %] |
90 |
</div> |
81 |
<label for="export_items_bundle_contents">Export items bundle contents</label> <input type="checkbox" name="export_items_bundle_contents" id="export_items_bundle_contents"> |
91 |
</form> |
82 |
<label for="export_remove_fields">Don't export fields:</label> <input type="text" id="export_remove_fields" name="export_remove_fields" value="[% Koha.Preference('ExportRemoveFields') | html %]" title="Use for MARC exports" /> |
92 |
[% ELSE %] |
83 |
<input type="hidden" name="op" value="export" /> |
93 |
<p>Patron has nothing checked out.</p> |
84 |
<input type="hidden" id="output_format" name="output_format" value="iso2709" /> |
94 |
[% END %] |
85 |
<input type="hidden" id="dont_export_item" name="dont_export_item" value="0" /> |
95 |
</div> |
86 |
<input type="hidden" id="record_type" name="record_type" value="bibs" /> |
|
|
87 |
<button class="btn btn-default btn-sm" id="export_submit"><i class="fa fa-download"></i> Export</button> |
88 |
</fieldset> |
89 |
[% END %] |
90 |
</div> |
91 |
</form> |
92 |
[% ELSE %] |
93 |
<p>Patron has nothing checked out.</p> |
94 |
[% END %] |
96 |
|
95 |
|
97 |
<!-- Claims Returned Modal --> |
96 |
<!-- Claims Returned Modal --> |
98 |
[% PROCESS 'modal-claims-display' %] |
97 |
[% PROCESS 'modal-claims-display' %] |