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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/ill-list-table.inc (-1 / +1 lines)
Lines 1-4 Link Here
1
<div>
1
<div class="page-section">
2
    [% IF prefilters.length > 0 %]
2
    [% IF prefilters.length > 0 %]
3
    <table id="ill-requests" data-prefilters="[% prefilters | html %]">
3
    <table id="ill-requests" data-prefilters="[% prefilters | html %]">
4
    [% ELSE %]
4
    [% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharges.tt (-1 / +1 lines)
Lines 36-42 Link Here
36
36
37
    [% IF pending_discharges %]
37
    [% IF pending_discharges %]
38
      <h1>Pending discharge requests</h1>
38
      <h1>Pending discharge requests</h1>
39
      <div id="pending_updates">
39
      <div id="pending_updates" class="page-section">
40
        <table>
40
        <table>
41
          <thead>
41
          <thead>
42
            <tr>
42
            <tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/files.tt (-23 / +25 lines)
Lines 49-77 Link Here
49
                [% END %]
49
                [% END %]
50
50
51
                [% IF ( files ) %]
51
                [% IF ( files ) %]
52
                <table>
52
                    <div class="page-section">
53
                    <thead>
53
                        <table>
54
                        <tr>
54
                            <thead>
55
                            <th>Name</th>
55
                                <tr>
56
                            <th>Type</th>
56
                                    <th>Name</th>
57
                            <th>Description</th>
57
                                    <th>Type</th>
58
                            <th>Uploaded</th>
58
                                    <th>Description</th>
59
                            [% IF CAN_user_borrowers_edit_borrowers %]<th>&nbsp;</th>[% END %]
59
                                    <th>Uploaded</th>
60
                        </tr>
60
                                    [% IF CAN_user_borrowers_edit_borrowers %]<th>&nbsp;</th>[% END %]
61
                    </thead>
61
                                </tr>
62
62
                            </thead>
63
                    <tbody>
63
64
                        [% FOREACH f IN files %]
64
                            <tbody>
65
                            <tr>
65
                                [% FOREACH f IN files %]
66
                                 <td><a href="?borrowernumber=[% patron.borrowernumber | uri %]&amp;op=download&amp;file_id=[% f.file_id | uri %]">[% f.file_name | html %]</a></td>
66
                                    <tr>
67
                                 <td>[% f.file_type | html %]</td>
67
                                        <td><a href="?borrowernumber=[% patron.borrowernumber | uri %]&amp;op=download&amp;file_id=[% f.file_id | uri %]">[% f.file_name | html %]</a></td>
68
                                 <td>[% f.file_description | html %]</td>
68
                                        <td>[% f.file_type | html %]</td>
69
                                 <td>[% f.date_uploaded | $KohaDates %]</td>
69
                                        <td>[% f.file_description | html %]</td>
70
                                 [% IF CAN_user_borrowers_edit_borrowers %]<td><a class="btn btn-default btn-xs confirmdelete" href="?borrowernumber=[% patron.borrowernumber | html %]&amp;op=delete&amp;file_id=[% f.file_id | html %]"><i class="fa fa-trash"></i> Delete</a></td>[% END %]
70
                                        <td>[% f.date_uploaded | $KohaDates %]</td>
71
                            </tr>
71
                                        [% IF CAN_user_borrowers_edit_borrowers %]<td><a class="btn btn-default btn-xs confirmdelete" href="?borrowernumber=[% patron.borrowernumber | html %]&amp;op=delete&amp;file_id=[% f.file_id | html %]"><i class="fa fa-trash"></i> Delete</a></td>[% END %]
72
                        [% END %]
72
                                    </tr>
73
                    </tbody>
73
                                [% END %]
74
                </table>
74
                            </tbody>
75
                        </table>
76
                    </div>
75
                [% ELSE %]
77
                [% ELSE %]
76
                <div class="dialog message">
78
                <div class="dialog message">
77
                    <p>This patron has no files attached.</p>
79
                    <p>This patron has no files attached.</p>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/holdshistory.tt (-1 / +1 lines)
Lines 53-59 Link Here
53
53
54
[% SET show_itemtype_column = Koha.Preference('AllowHoldItemTypeSelection') %]
54
[% SET show_itemtype_column = Koha.Preference('AllowHoldItemTypeSelection') %]
55
55
56
<div id="holdshistory">
56
<div id="holdshistory" class="page-section">
57
  <table id="table_holdshistory">
57
  <table id="table_holdshistory">
58
      <thead>
58
      <thead>
59
        <tr>
59
        <tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt (-60 / +62 lines)
Lines 45-112 Link Here
45
                    <h1>Sent notices for [% INCLUDE 'patron-title.inc' %]</h1>
45
                    <h1>Sent notices for [% INCLUDE 'patron-title.inc' %]</h1>
46
46
47
                    [% IF ( QUEUED_MESSAGES ) %]
47
                    [% IF ( QUEUED_MESSAGES ) %]
48
                        <table id="noticestable">
48
                        <div class="page-section">
49
                            <thead>
49
                            <table id="noticestable">
50
                                <tr>
50
                                <thead>
51
                                    <th>Notice</th>
52
                                    <th>Type</th>
53
                                    <th>Status</th>
54
                                    <th>Updated on</th>
55
                                    <th>Time created</th>
56
                                    <th>Delivery note</th>
57
                                </tr>
58
                            </thead>
59
                            <tbody>
60
                                [% FOREACH QUEUED_MESSAGE IN QUEUED_MESSAGES %]
61
                                    <tr>
51
                                    <tr>
62
                                        <td>
52
                                        <th>Notice</th>
63
                                            <a class="notice-title" data-noticeid="[% QUEUED_MESSAGE.message_id | html %]" href="/cgi-bin/koha/members/notices.pl?borrowernumber=[% borrowernumber | uri %]&amp;noticeid=[% QUEUED_MESSAGE.message_id | uri %]">[% QUEUED_MESSAGE.subject | html %]</a>
53
                                        <th>Type</th>
64
                                            <iframe class="notice" id="notice[% QUEUED_MESSAGE.message_id | html %]" srcdoc="[% QUEUED_MESSAGE.content | html | html_line_break %]"></iframe>
54
                                        <th>Status</th>
65
                                        </td>
55
                                        <th>Updated on</th>
66
                                        <td>
56
                                        <th>Time created</th>
67
                                            [% IF ( QUEUED_MESSAGE.message_transport_type == 'email' ) %]<span>email</span>
57
                                        <th>Delivery note</th>
68
                                            [% ELSIF ( QUEUED_MESSAGE.message_transport_type == 'print' ) %]<span>print</span>
69
                                            [% ELSIF ( QUEUED_MESSAGE.message_transport_type == 'feed' ) %]<span>feed</span>
70
                                            [% ELSIF ( QUEUED_MESSAGE.message_transport_type == 'sms' ) %]<span>sms</span>
71
                                            [% ELSE %][% QUEUED_MESSAGE.message_transport_type | html %][% END %]
72
                                        </td>
73
                                        <td>
74
                                            [% IF ( QUEUED_MESSAGE.status == 'sent' ) %]<span>sent</span>
75
                                            [% ELSIF ( QUEUED_MESSAGE.status == 'pending' ) %]<span>pending</span>
76
                                            [% ELSIF ( QUEUED_MESSAGE.status == 'failed' ) %]<span>failed</span>
77
                                            [% ELSIF ( QUEUED_MESSAGE.status == 'deleted' ) %]<span>deleted</span>
78
                                            [% ELSE %][% QUEUED_MESSAGE.status | html %][% END %]
79
                                            [% IF ( QUEUED_MESSAGE.status != 'pending' ) %]
80
                                                <div class="notice">
81
                                                    <form id="resend_notice[% QUEUED_MESSAGE.message_id | html %]" action="/cgi-bin/koha/members/notices.pl?borrowernumber=[% borrowernumber | html %]" method="POST">
82
                                                        <input type="hidden" name="op" value="resend_notice" />
83
                                                        <input type="hidden" name="borrowernumber" value="[% borrowernumber | html %]" />
84
                                                        <input type="hidden" name="message_id" value="[% QUEUED_MESSAGE.message_id | html %]" />
85
                                                    </form>
86
                                                </div>
87
                                            [% END %]
88
                                        </td>
89
                                        <td data-order="[% QUEUED_MESSAGE.updated_on | html %]">[% QUEUED_MESSAGE.updated_on | $KohaDates  with_hours => 1 %]</td>
90
                                        <td data-order="[% QUEUED_MESSAGE.time_queued | html %]">[% QUEUED_MESSAGE.time_queued | $KohaDates  with_hours => 1 %]</td>
91
                                        <td>
92
                                            [% IF ( QUEUED_MESSAGE.failure_code ) %]
93
            [% IF ( QUEUED_MESSAGE.failure_code == "INVALID_BORNUMBER" ) %]<span>Invalid borrowernumber [% borrowernumber | html %]</span>
94
            [% ELSIF ( QUEUED_MESSAGE.failure_code == 'NO_EMAIL' ) %]<span>Unable to find an email address for this borrower</span>
95
            [% ELSIF (matches = QUEUED_MESSAGE.failure_code.match('INVALID_EMAIL:(\w+)') ) %]<span>Invalid [% matches.0 | html %] email address found [% borrowernumber | html %]</span>
96
            [% ELSIF ( QUEUED_MESSAGE.failure_code == 'NO_FROM' ) %]<span>Missing from email address</span>
97
            [% ELSIF ( QUEUED_MESSAGE.failure_code == 'MISSING_SMS' ) %]<span>Missing SMS number</span>
98
            [% ELSIF ( QUEUED_MESSAGE.failure_code == 'DUPLICATE_MESSAGE' ) %]<span>Message is duplicate</span>
99
            [% ELSIF ( QUEUED_MESSAGE.failure_code == 'NO_NOTES' ) %]<span>No notes from SMS driver</span>
100
            [% ELSIF ( QUEUED_MESSAGE.failure_code == 'SENDMAIL' ) %]<span>Unhandled email failure, check the logs for further details</span>
101
            [% ELSIF ( QUEUED_MESSAGE.failure_code == "UNKNOWN_ERROR" ) %]<span>Unknown error</span>
102
            [% ELSE %]<span>Error occurred while sending email.</span>
103
                                                [% END %]
104
                                            [% END %]
105
                                        </td>
106
                                    </tr>
58
                                    </tr>
107
                                [% END %]
59
                                </thead>
108
                            </tbody>
60
                                <tbody>
109
                        </table>
61
                                    [% FOREACH QUEUED_MESSAGE IN QUEUED_MESSAGES %]
62
                                        <tr>
63
                                            <td>
64
                                                <a class="notice-title" data-noticeid="[% QUEUED_MESSAGE.message_id | html %]" href="/cgi-bin/koha/members/notices.pl?borrowernumber=[% borrowernumber | uri %]&amp;noticeid=[% QUEUED_MESSAGE.message_id | uri %]">[% QUEUED_MESSAGE.subject | html %]</a>
65
                                                <iframe class="notice" id="notice[% QUEUED_MESSAGE.message_id | html %]" srcdoc="[% QUEUED_MESSAGE.content | html | html_line_break %]"></iframe>
66
                                            </td>
67
                                            <td>
68
                                                [% IF ( QUEUED_MESSAGE.message_transport_type == 'email' ) %]<span>email</span>
69
                                                [% ELSIF ( QUEUED_MESSAGE.message_transport_type == 'print' ) %]<span>print</span>
70
                                                [% ELSIF ( QUEUED_MESSAGE.message_transport_type == 'feed' ) %]<span>feed</span>
71
                                                [% ELSIF ( QUEUED_MESSAGE.message_transport_type == 'sms' ) %]<span>sms</span>
72
                                                [% ELSE %][% QUEUED_MESSAGE.message_transport_type | html %][% END %]
73
                                            </td>
74
                                            <td>
75
                                                [% IF ( QUEUED_MESSAGE.status == 'sent' ) %]<span>sent</span>
76
                                                [% ELSIF ( QUEUED_MESSAGE.status == 'pending' ) %]<span>pending</span>
77
                                                [% ELSIF ( QUEUED_MESSAGE.status == 'failed' ) %]<span>failed</span>
78
                                                [% ELSIF ( QUEUED_MESSAGE.status == 'deleted' ) %]<span>deleted</span>
79
                                                [% ELSE %][% QUEUED_MESSAGE.status | html %][% END %]
80
                                                [% IF ( QUEUED_MESSAGE.status != 'pending' ) %]
81
                                                    <div class="notice">
82
                                                        <form id="resend_notice[% QUEUED_MESSAGE.message_id | html %]" action="/cgi-bin/koha/members/notices.pl?borrowernumber=[% borrowernumber | html %]" method="POST">
83
                                                            <input type="hidden" name="op" value="resend_notice" />
84
                                                            <input type="hidden" name="borrowernumber" value="[% borrowernumber | html %]" />
85
                                                            <input type="hidden" name="message_id" value="[% QUEUED_MESSAGE.message_id | html %]" />
86
                                                        </form>
87
                                                    </div>
88
                                                [% END %]
89
                                            </td>
90
                                            <td data-order="[% QUEUED_MESSAGE.updated_on | html %]">[% QUEUED_MESSAGE.updated_on | $KohaDates  with_hours => 1 %]</td>
91
                                            <td data-order="[% QUEUED_MESSAGE.time_queued | html %]">[% QUEUED_MESSAGE.time_queued | $KohaDates  with_hours => 1 %]</td>
92
                                            <td>
93
                                                [% IF ( QUEUED_MESSAGE.failure_code ) %]
94
                                                    [% IF ( QUEUED_MESSAGE.failure_code == "INVALID_BORNUMBER" ) %]<span>Invalid borrowernumber [% borrowernumber | html %]</span>
95
                                                    [% ELSIF ( QUEUED_MESSAGE.failure_code == 'NO_EMAIL' ) %]<span>Unable to find an email address for this borrower</span>
96
                                                    [% ELSIF (matches = QUEUED_MESSAGE.failure_code.match('INVALID_EMAIL:(\w+)') ) %]<span>Invalid [% matches.0 | html %] email address found [% borrowernumber | html %]</span>
97
                                                    [% ELSIF ( QUEUED_MESSAGE.failure_code == 'NO_FROM' ) %]<span>Missing from email address</span>
98
                                                    [% ELSIF ( QUEUED_MESSAGE.failure_code == 'MISSING_SMS' ) %]<span>Missing SMS number</span>
99
                                                    [% ELSIF ( QUEUED_MESSAGE.failure_code == 'DUPLICATE_MESSAGE' ) %]<span>Message is duplicate</span>
100
                                                    [% ELSIF ( QUEUED_MESSAGE.failure_code == 'NO_NOTES' ) %]<span>No notes from SMS driver</span>
101
                                                    [% ELSIF ( QUEUED_MESSAGE.failure_code == 'SENDMAIL' ) %]<span>Unhandled email failure, check the logs for further details</span>
102
                                                    [% ELSIF ( QUEUED_MESSAGE.failure_code == "UNKNOWN_ERROR" ) %]<span>Unknown error</span>
103
                                                    [% ELSE %]<span>Error occurred while sending email.</span>
104
                                                    [% END %]
105
                                                [% END %]
106
                                            </td>
107
                                        </tr>
108
                                    [% END %]
109
                                </tbody>
110
                            </table>
111
                        </div> <!-- /.page-section -->
110
                    [% ELSE %]
112
                    [% ELSE %]
111
                        <div class="dialog message">There is no record of any messages that have been sent to this patron.</div>
113
                        <div class="dialog message">There is no record of any messages that have been sent to this patron.</div>
112
                    [% END %]
114
                    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt (-64 / +66 lines)
Lines 46-117 Link Here
46
                </div>
46
                </div>
47
47
48
                [% IF suggestions.size %]
48
                [% IF suggestions.size %]
49
                  <table id="suggestions">
49
                    <div class="page-section">
50
                    <thead>
50
                        <table id="suggestions">
51
                        <tr>
51
                            <thead>
52
                          <th>Summary</th>
52
                                <tr>
53
                          <th>Note</th>
53
                                <th>Summary</th>
54
                          <th>Managed by</th>
54
                                <th>Note</th>
55
                          <th>Managed on</th>
55
                                <th>Managed by</th>
56
                          <th>Suggested on</th>
56
                                <th>Managed on</th>
57
                          <th>Status</th>
57
                                <th>Suggested on</th>
58
                        </tr>
58
                                <th>Status</th>
59
                    </thead>
59
                                </tr>
60
                            </thead>
60
61
61
                    <tbody>
62
                            <tbody>
62
                        [% FOREACH s IN suggestions %]
63
                                [% FOREACH s IN suggestions %]
63
                            <tr>
64
                                    <tr>
64
                                <td>
65
                                        <td>
65
                                    <p>
66
                                            <p>
66
                                        <strong>
67
                                                <strong>
67
                                            [% IF ( CAN_user_catalogue ) %]
68
                                                    [% IF ( CAN_user_catalogue ) %]
68
                                                <a href="/cgi-bin/koha/suggestion/suggestion.pl?suggestionid=[% s.suggestionid | uri %]&amp;op=show">[% s.title | html %]</a>
69
                                                        <a href="/cgi-bin/koha/suggestion/suggestion.pl?suggestionid=[% s.suggestionid | uri %]&amp;op=show">[% s.title | html %]</a>
69
                                            [% ELSE %]
70
                                                    [% ELSE %]
70
                                                [% s.title | html %]
71
                                                        [% s.title | html %]
72
                                                    [% END %]
73
                                                </strong>
74
                                            </p>
75
                                            <p>
76
                                                [% IF ( s.author ) %][% s.author | html %],[% END %]
77
                                                [% IF ( s.copyrightdate ) %] - [% s.copyrightdate | html %],[% END %]
78
                                                [% IF ( s.publishercode ) %] - [% s.publishercode | html %][% END %]
79
                                                [% IF ( s.place ) %]([% s.place | html %])[% END %]
80
                                                [% IF ( s.collectiontitle ) %] , [% s.collectiontitle | html %][% END %]
81
                                                [% IF ( s.itemtype ) %] - [% s.itemtype | html %][% END %]
82
                                            </p>
83
                                        </td>
84
                                        <td>[% s.note | html %]
85
                                        <td>
86
                                            [% INCLUDE 'patron-title.inc' patron => s.manager %]
87
                                        </td>
88
                                        <td data-order="[% s.manageddate | html %]">
89
                                            [% s.manageddate | $KohaDates %]
90
                                        </td>
91
                                        <td data-order="[% s.suggesteddate | html %]">
92
                                            [% s.suggesteddate | $KohaDates %]
93
                                        </td>
94
                                        <td>
95
                                            [% SWITCH s.STATUS %]
96
                                            [% CASE "ASKED" %]<span>Requested</span>
97
                                            [% CASE "CHECKED" %]<span>Checked by the library</span>
98
                                            [% CASE "ACCEPTED" %]<span>Accepted by the library</span>
99
                                            [% CASE "ORDERED" %]<span>Ordered by the library</span>
100
                                            [% CASE "REJECTED" %]<span>Suggestion declined<span>
101
                                            [% CASE "AVAILABLE" %]<span>Available in the library</span>
102
                                            [% CASE %]
103
                                                [% SET status_description = AuthorisedValues.GetByCode('SUGGEST_STATUS', s.STATUS) %]
104
                                                [% IF status_description %]
105
                                                    [% status_description | html %]
106
                                                [% ELSE %]
107
                                                    <span>Unknown</span>
108
                                                [% END %]
71
                                            [% END %]
109
                                            [% END %]
72
                                        </strong>
110
                                            [% IF s.reason %]([% s.reason | html %])[% END %]
73
                                    </p>
111
                                        </td>
74
                                    <p>
112
                                    </tr>
75
                                        [% IF ( s.author ) %][% s.author | html %],[% END %]
113
                                [% END %]
76
                                        [% IF ( s.copyrightdate ) %] - [% s.copyrightdate | html %],[% END %]
114
                            </tbody>
77
                                        [% IF ( s.publishercode ) %] - [% s.publishercode | html %][% END %]
115
                        </table>
78
                                        [% IF ( s.place ) %]([% s.place | html %])[% END %]
116
                </div> <!-- /.page-section -->
79
                                        [% IF ( s.collectiontitle ) %] , [% s.collectiontitle | html %][% END %]
80
                                        [% IF ( s.itemtype ) %] - [% s.itemtype | html %][% END %]
81
                                    </p>
82
                                </td>
83
                                <td>[% s.note | html %]
84
                                <td>
85
                                    [% INCLUDE 'patron-title.inc' patron => s.manager %]
86
                                </td>
87
                                <td data-order="[% s.manageddate | html %]">
88
                                    [% s.manageddate | $KohaDates %]
89
                                </td>
90
                                <td data-order="[% s.suggesteddate | html %]">
91
                                    [% s.suggesteddate | $KohaDates %]
92
                                </td>
93
                                <td>
94
                                    [% SWITCH s.STATUS %]
95
                                    [% CASE "ASKED" %]<span>Requested</span>
96
                                    [% CASE "CHECKED" %]<span>Checked by the library</span>
97
                                    [% CASE "ACCEPTED" %]<span>Accepted by the library</span>
98
                                    [% CASE "ORDERED" %]<span>Ordered by the library</span>
99
                                    [% CASE "REJECTED" %]<span>Suggestion declined<span>
100
                                    [% CASE "AVAILABLE" %]<span>Available in the library</span>
101
                                    [% CASE %]
102
                                        [% SET status_description = AuthorisedValues.GetByCode('SUGGEST_STATUS', s.STATUS) %]
103
                                        [% IF status_description %]
104
                                            [% status_description | html %]
105
                                        [% ELSE %]
106
                                            <span>Unknown</span>
107
                                        [% END %]
108
                                    [% END %]
109
                                    [% IF s.reason %]([% s.reason | html %])[% END %]
110
                                </td>
111
                            </tr>
112
                        [% END %]
113
                    </tbody>
114
                  </table>
115
                [% ELSE %]
117
                [% ELSE %]
116
                    <div class="dialog message">
118
                    <div class="dialog message">
117
                        <p>This patron has not submitted any purchase suggestions</p>
119
                        <p>This patron has not submitted any purchase suggestions</p>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/routing-lists.tt (-1 / +1 lines)
Lines 57-63 Link Here
57
[% END %]
57
[% END %]
58
</h2>
58
</h2>
59
59
60
<div id="subscriptions">
60
<div id="subscriptions" class="page-section">
61
61
62
[% IF ( routinglists ) %]
62
[% IF ( routinglists ) %]
63
    <table id="subscriptiont">
63
    <table id="subscriptiont">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/statistics.tt (-45 / +46 lines)
Lines 56-108 Link Here
56
56
57
            <h1>Statistics for [% INCLUDE 'patron-title.inc' %]</h1>
57
            <h1>Statistics for [% INCLUDE 'patron-title.inc' %]</h1>
58
            [% IF ( datas.size ) %]
58
            [% IF ( datas.size ) %]
59
                <table id="statistics">
59
                <div class="page-section">
60
                <thead>
60
                    <table id="statistics">
61
                    <tr>
61
                    <thead>
62
                      [% FOREACH cn IN column_names %]
62
                        <tr>
63
                          <th>
63
                        [% FOREACH cn IN column_names %]
64
                            [% SWITCH cn %]
64
                            <th>
65
                            [% CASE 'itype' %]
65
                                [% SWITCH cn %]
66
                                <span>Item type</span>
66
                                [% CASE 'itype' %]
67
                            [% CASE 'ccode' %]
67
                                    <span>Item type</span>
68
                                <span>Collection</span>
68
                                [% CASE 'ccode' %]
69
                            [% CASE 'location' %]
69
                                    <span>Collection</span>
70
                                <span>Shelving location</span>
70
                                [% CASE 'location' %]
71
                            [% CASE 'homebranch' %]
71
                                    <span>Shelving location</span>
72
                                <span>Home library</span>
72
                                [% CASE 'homebranch' %]
73
                            [% CASE 'holdingbranch' %]
73
                                    <span>Home library</span>
74
                                <span>Holding library</span>
74
                                [% CASE 'holdingbranch' %]
75
                            [% CASE %]
75
                                    <span>Holding library</span>
76
                                <span>[% cn | html %]</span>
76
                                [% CASE %]
77
                            [% END %]
77
                                    <span>[% cn | html %]</span>
78
                          </th>
78
                                [% END %]
79
                      [% END %]
79
                            </th>
80
                      <th>Total checkouts as of yesterday</th>
80
                        [% END %]
81
                      <th>Today's checkouts</th>
81
                        <th>Total checkouts as of yesterday</th>
82
                      <th>Today's checkins</th>
82
                        <th>Today's checkouts</th>
83
                      <th>Total checkouts</th>
83
                        <th>Today's checkins</th>
84
                    </tr>
84
                        <th>Total checkouts</th>
85
                </thead>
85
                        </tr>
86
                    </thead>
86
87
87
                <tbody>
88
                    <tbody>
88
                    [% FOREACH r IN datas %]
89
                        [% FOREACH r IN datas %]
90
                            <tr>
91
                                [% FOREACH c IN r %]
92
                                    <td>[% c | html %]</td>
93
                                [% END %]
94
                            </tr>
95
                        [% END %]
96
                    </tbody>
97
                    <tfoot>
89
                        <tr>
98
                        <tr>
90
                            [% FOREACH c IN r %]
99
                            <td colspan="[% column_names.size | html %]">TOTAL</td>
91
                                <td>[% c | html %]</td>
100
                            <td>[% count_total_precedent_state | html %]</td>
92
                            [% END %]
101
                            <td>[% count_total_issues | html %]</td>
102
                            <td>[% count_total_issues_returned | html %]</td>
103
                            <td>[% count_total_actual_state | html %]</td>
93
                        </tr>
104
                        </tr>
94
                    [% END %]
105
                    </tfoot>
95
                </tbody>
106
                    </table>
96
                <tfoot>
107
                </div> <!-- /.page-section -->
97
                    <tr>
98
                        <td colspan="[% column_names.size | html %]">TOTAL</td>
99
                        <td>[% count_total_precedent_state | html %]</td>
100
                        <td>[% count_total_issues | html %]</td>
101
                        <td>[% count_total_issues_returned | html %]</td>
102
                        <td>[% count_total_actual_state | html %]</td>
103
                    </tr>
104
                </tfoot>
105
                </table>
106
            [% ELSE %]
108
            [% ELSE %]
107
                <div class="dialog message">There are no statistics for this patron.</div>
109
                <div class="dialog message">There are no statistics for this patron.</div>
108
            [% END %]
110
            [% END %]
109
- 

Return to bug 32199