]> git.koha-community.org Git - koha.git/blob - koha-tmpl/intranet-tmpl/prog/en/modules/members/purchase-suggestions.tt
Bug 11554: Capitalization fix in patron account on fines tab
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / members / purchase-suggestions.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha &rsaquo; Patrons &rsaquo; Purchase suggestions for [% INCLUDE 'patron-title.inc' %]</title>
3 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
4 [% INCLUDE 'doc-head-close.inc' %]
5 [% INCLUDE 'datatables.inc' %]
6 <script type="text/javascript">
7     $(document).ready(function() {
8         $("#suggestions").dataTable($.extend(true, {}, dataTablesDefaults, {
9             'bPaginate': false,
10             'bFilter': false,
11             'bInfo': false,
12             'sDom': 't'
13         } ));
14     });
15 </script>
16 </head>
17
18 <body>
19 [% INCLUDE 'header.inc' %]
20 [% INCLUDE 'patron-search.inc' %]
21
22 <div id="breadcrumbs">
23          <a href="/cgi-bin/koha/mainpage.pl">Home</a>
24 &rsaquo; <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
25 &rsaquo; Purchase suggestions for [% INCLUDE 'patron-title.inc' %]
26 </div>
27
28 <div id="doc3" class="yui-t1">
29
30    <div id="bd">
31     <div id="yui-main">
32         <div class="yui-b">
33             <div class="yui-g">
34                 <h2>Purchase suggestions</h2>
35
36                 <div id="toolbar">
37                     <a class="btn" id="newsuggestion" href="/cgi-bin/koha/suggestion/suggestion.pl?op=add&suggestedby=[% borrowernumber %]&redirect=purchase_suggestions&borrowernumber=[% borrowernumber %]"><i class="icon-plus"></i> New purchase suggestion</a>
38                 </div>
39
40                 [% IF suggestions %]
41                   <table id="suggestions">
42                     <thead>
43                         <tr>
44                           <th>Summary</th>
45                           <th>Note</th>
46                           <th>Managed by</th>
47                           <th>Status</th>
48                         </tr>
49                     </thead>
50
51                     <tbody>
52                         [% FOREACH s IN suggestions %]
53                             <tr>
54                                 <td>
55                                     <p>
56                                         <strong>
57                                             [% IF ( CAN_user_catalogue ) %]
58                                                 <a href="/cgi-bin/koha/suggestion/suggestion.pl?suggestionid=[% s.suggestionid %]&op=show">[% s.title |html %]</a>
59                                             [% ELSE %]
60                                                 [% s.title |html %]
61                                             [% END %]
62                                         </strong>
63                                     </p>
64                                     <p>
65                                         [% IF ( s.author ) %][% s.author %],[% END %]
66                                         [% IF ( s.copyrightdate ) %] - [% s.copyrightdate %],[% END %]
67                                         [% IF ( s.publishercode ) %] - [% s.publishercode %][% END %]
68                                         [% IF ( s.place ) %]([% s.place %])[% END %]
69                                         [% IF ( s.collectiontitle ) %] , [% s.collectiontitle %][% END %]
70                                         [% IF ( s.itemtype ) %] - [% s.itemtype %][% END %]
71                                     </p>
72                                 </td>
73                                 <td>[% s.note %]
74                                 <td>
75                                     [% IF ( s.surnamemanagedby ) %]
76                                         [% s.surnamemanagedby %]
77                                         [% IF ( s.firstnamemanagedby ) %],[% END %]
78                                         [% s.firstnamemanagedby %]
79                                     [% ELSE %]
80                                         &nbsp;
81                                     [% END %]
82                                 </td>
83                                 <td>
84                                     [% IF ( s.ASKED ) %]Requested[% END %]
85                                     [% IF ( s.CHECKED ) %]Checked by the library[% END %]
86                                     [% IF ( s.ACCEPTED ) %]Accepted by the library[% END %]
87                                     [% IF ( s.ORDERED ) %]Ordered by the library[% END %]
88                                     [% IF ( s.REJECTED ) %]Suggestion declined [% END %]
89                                     [% IF ( s.AVAILABLE ) %]Available in the library[% END %]
90                                     [% IF ( s.reason ) %]([% s.reason %])[% END %]
91                                 </td>
92                             </tr>
93                         [% END %]
94                     </tbody>
95                   </table>
96                 [% ELSE %]
97                   There is no purchase suggestion for this patron.
98                 [% END %]
99             </div>
100         </div>
101     </div>
102 <div class="yui-b">
103 [% INCLUDE 'circ-menu.inc' %]
104 </div>
105 </div>
106 [% INCLUDE 'intranet-bottom.inc' %]