Bug 14224: Replace AllowIssueNotes with AllowCheckoutNotes
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / clubs / club-enrollments.tt
1 [% USE KohaDates %]
2 [% USE Branches %]
3 [% USE Koha %]
4 [% INCLUDE 'doc-head-open.inc' %]
5 <title>Koha &rsaquo; Tools &rsaquo; Patron clubs &rsaquo; Club enrollments</title>
6 [% INCLUDE 'doc-head-close.inc' %]
7
8 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
9 [% INCLUDE 'datatables.inc' %]
10
11 <script type="text/javascript">
12 //<![CDATA[
13     $(document).ready(function() {
14         eTable = $('#enrollments-table').dataTable($.extend(true, {}, dataTablesDefaults, {
15             "sPaginationType": "four_button",
16             "sDom": 'C<"top pager"ilpf><"#filter_c">tr<"bottom pager"ip>',
17             "aoColumnDefs": [
18                     { "aTargets": [ -1, -2 ], "bSortable": false, "bSearchable": false },
19             ]
20         } ));
21     });
22 //]]>
23 </script>
24
25 </head>
26
27 <body id="club_enrollments" class="clubs">
28 [% INCLUDE 'header.inc' %]
29 [% INCLUDE 'cat-search.inc' %]
30 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> &rsaquo; <a href="clubs.pl">Patron clubs</a> &rsaquo; Club enrollments</div>
31
32 <div id="doc3" class="yui-t2">
33    <div id="bd">
34         <div id="yui-main">
35             <div class="yui-b">
36                 <h1>Club enrollments for <i>[% club.name %]</i></h1>
37
38                 <table id="enrollments-table">
39                     <thead>
40                         <tr>
41                             <th>Name</th>
42                             <th>Card number</th>
43                             <th>&nbsp;</th>
44                         </tr>
45                     </thead>
46
47                     <tbody>
48                         [% FOREACH e IN club.club_enrollments %]
49                             [% SET p = e.patron %]
50                             <tr>
51                                 <td>
52                                     [% p.firstname %] [% p.surname %]
53                                 </td>
54                                 <td>
55                                     [% p.cardnumber %]
56                                 </td>
57                                 <td>
58                                     <a class="btn btn-sm" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% p.id %]">
59                                         <i class="fa fa-eye"></i>
60                                         View patron
61                                     </a>
62                                 </td>
63                             </tr>
64                         [% END %]
65                     </tbody>
66                 </table>
67             </div>
68         </div>
69         <div class="yui-b noprint">
70             [% INCLUDE 'tools-menu.inc' %]
71         </div>
72     </div>
73 </div>
74 [% INCLUDE 'intranet-bottom.inc' %]