Line 0
Link Here
|
|
|
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
<title>Koha › Patrons › |
3 |
[% IF ( unknowuser ) %] |
4 |
Patron does not exist |
5 |
[% ELSE %] |
6 |
Purchase suggestions for [% INCLUDE 'patron-title.inc' %] |
7 |
[% END %] |
8 |
</title> |
9 |
<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" /> |
10 |
[% INCLUDE 'doc-head-close.inc' %] |
11 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script> |
12 |
[% INCLUDE 'datatables-strings.inc' %] |
13 |
<script type="text/javascript" src="[% themelang %]/js/datatables.js"></script> |
14 |
[% INCLUDE 'calendar.inc' %] |
15 |
<script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.tablesorter.min.js"></script> |
16 |
<script type="text/javascript"> |
17 |
$(document).ready(function() { |
18 |
$("#suggestions").dataTable($.extend(true, {}, dataTablesDefaults, { |
19 |
'bPaginate': false, |
20 |
'bFilter': false, |
21 |
'bInfo': false, |
22 |
} )); |
23 |
|
24 |
new YAHOO.widget.Button("newsuggestion"); |
25 |
}); |
26 |
</script> |
27 |
</head> |
28 |
|
29 |
<body> |
30 |
[% INCLUDE 'header.inc' %] |
31 |
[% INCLUDE 'patron-search.inc' %] |
32 |
|
33 |
<div id="breadcrumbs"> |
34 |
<a href="/cgi-bin/koha/mainpage.pl">Home</a> |
35 |
› <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> |
36 |
› [% IF ( unknowuser ) %]Patron does not exist[% ELSE %]Purchase suggestions for [% firstname %] [% surname %] ([% cardnumber %])[% END %] |
37 |
</div> |
38 |
|
39 |
<div id="doc3" class="yui-t1"> |
40 |
|
41 |
<div id="bd"> |
42 |
<div id="yui-main"> |
43 |
<div class="yui-b"> |
44 |
<div class="yui-g"> |
45 |
<h2>Purchase suggestions</h2> |
46 |
|
47 |
<div id="toolbar"> |
48 |
<ul class="toolbar"> |
49 |
<li><a id="newsuggestion" href="/cgi-bin/koha/suggestion/suggestion.pl?op=add&suggestedby=[% borrowernumber %]&redirect=[% borrowernumber %]">New purchase suggestion</a></li> |
50 |
</ul> |
51 |
</div> |
52 |
|
53 |
<table id="suggestions"> |
54 |
<thead> |
55 |
<tr> |
56 |
<th>Summary</th> |
57 |
<th>Note</th> |
58 |
<th>Managed by</th> |
59 |
<th>Status</th> |
60 |
</tr> |
61 |
</thead> |
62 |
|
63 |
<tbody> |
64 |
[% FOREACH s IN suggestions %] |
65 |
<tr> |
66 |
<td> |
67 |
<p><strong>[% s.title |html %]</strong></p> |
68 |
<p> |
69 |
[% IF ( s.author ) %][% s.author %],[% END %] |
70 |
[% IF ( s.copyrightdate ) %] - [% s.copyrightdate %],[% END %] |
71 |
[% IF ( s.publishercode ) %] - [% s.publishercode %][% END %] |
72 |
[% IF ( s.place ) %]([% s.place %])[% END %] |
73 |
[% IF ( s.collectiontitle ) %] , [% s.collectiontitle %][% END %] |
74 |
[% IF ( s.itemtype ) %] - [% s.itemtype %][% END %] |
75 |
</p> |
76 |
</td> |
77 |
<td>[% s.note %] |
78 |
<td> |
79 |
[% IF ( s.surnamemanagedby ) %] |
80 |
[% s.surnamemanagedby %] |
81 |
[% IF ( s.firstnamemanagedby ) %],[% END %] |
82 |
[% s.firstnamemanagedby %] |
83 |
[% ELSE %] |
84 |
|
85 |
[% END %] |
86 |
</td> |
87 |
<td> |
88 |
[% IF ( s.ASKED ) %]Requested[% END %] |
89 |
[% IF ( s.CHECKED ) %]Checked by the library[% END %] |
90 |
[% IF ( s.ACCEPTED ) %]Accepted by the library[% END %] |
91 |
[% IF ( s.ORDERED ) %]Ordered by the library[% END %] |
92 |
[% IF ( s.REJECTED ) %]Suggestion declined [% END %] |
93 |
[% IF ( s.AVAILABLE ) %]Available in the library[% END %] |
94 |
[% IF ( s.reason ) %]([% s.reason %])[% END %] |
95 |
</td> |
96 |
</tr> |
97 |
[% END %] |
98 |
</tbody> |
99 |
</table> |
100 |
</div> |
101 |
</div> |
102 |
</div> |
103 |
<div class="yui-b"> |
104 |
[% INCLUDE 'circ-menu.inc' %] |
105 |
</div> |
106 |
</div> |
107 |
[% INCLUDE 'intranet-bottom.inc' %] |