Bug 15674: Make "Column visibility" translatable
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / checkouts-table.inc
1 [% USE Koha %]
2 <div id="checkouts">
3     [% IF ( issuecount ) %]
4         <div id="issues-table-loading-message">
5             <p>
6                 <a id="issues-table-load-now-button" href="#" class="btn"><i class="fa fa-book"></i> Show checkouts</a>
7             </p>
8         </div>
9         <form name="issues" action="/cgi-bin/koha/tools/export.pl" method="post" class="checkboxed">
10             <table id="issues-table" style="width: 100% !Important;">
11                 <thead>
12                     <tr>
13                         <th scope="col">&nbsp;</th>
14                         <th scope="col">&nbsp;</th>
15                         <th scope="col">Due date</th>
16                         <th scope="col">Due date</th>
17                         <th scope="col">Title</th>
18                         <th scope="col">Item type</th>
19                         <th scope="col">Location</th>
20                         <th scope="col">Checked out on</th>
21                         <th scope="col">Checked out from</th>
22                         <th scope="col">Call no</th>
23                         <th scope="col">Charge</th>
24                         <th scope="col">Fine</th>
25                         <th scope="col">Price</th>
26                         <th scope="col">Renew <p class="column-tool"><a href="#" id="CheckAllRenewals">select all</a> | <a href="#" id="UncheckAllRenewals">none</a></p></th>
27                         <th scope="col">Check in <p class="column-tool"><a href="#" id="CheckAllCheckins">select all</a> | <a href="#" id="UncheckAllCheckins">none</a></p></th>
28                         <th scope="col">Export <p class="column-tool"><a href="#" id="CheckAllExports">select all</a> | <a href="#" id="UncheckAllExports">none</a></p></th>
29                     </tr>
30                 </thead>
31                 [% INCLUDE 'checkouts-table-footer.inc' %]
32             </table>
33
34             <label for="issues-table-load-immediately">Always show checkouts immediately</label>
35             <input id="issues-table-load-immediately" type="checkbox" />
36
37             <div id="issues-table-actions">
38                 <fieldset class="action">
39                     [% IF ( CAN_user_circulate_override_renewals ) %]
40                         [% IF CAN_user_circulate_override_renewals && Koha.Preference( 'AllowRenewalLimitOverride' ) %]
41                             <label for="override_limit">Override renewal limit:</label>
42                             <input type="checkbox" name="override_limit" id="override_limit" value="1" />
43                         [% END %]
44                     [% END %]
45                     [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
46                         <button class="btn" id="RenewCheckinChecked"><i class="fa fa-check"></i> Renew or check in selected items</button>
47                         <button class="btn" id="RenewAll"><i class="fa fa-book"></i> Renew all</button>
48                     [% END %]
49                 </fieldset>
50
51                 [% IF ( exports_enabled ) %]
52                     <fieldset>
53                         <label for="output_format"><b>Export checkouts using format:</b></label>
54                         <select name="output_format" id="output_format">
55                             <option value="iso2709_995">ISO2709 with items</option>
56                             <option value="iso2709">ISO2709 without items</option>
57                             [% IF Koha.Preference('ExportWithCsvProfile') %]
58                                 <option value="csv">CSV</option>
59                             [% END %]
60                         </select>
61
62                        <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" />
63                         <input type="hidden" name="op" value="export" />
64                         <input type="hidden" id="output_format" name="output_format" value="iso2709" />
65                         <input type="hidden" id="dont_export_item" name="dont_export_item" value="0" />
66                         <input type="hidden" id="record_type" name="record_type" value="bibs" />
67                         <button class="btn btn-small" id="export_submit"><i class="fa fa-download"></i> Export</button>
68                     </fieldset>
69                 [% END %]
70             </div>
71         </form>
72     [% ELSE %]
73         <p>Patron has nothing checked out.</p>
74     [% END %]
75 </div>