2 [% USE AuthorisedValues %]
3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Koha › Patrons › Purchase suggestions for [% INCLUDE 'patron-title.inc' %]</title>
5 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
6 [% INCLUDE 'doc-head-close.inc' %]
7 [% INCLUDE 'datatables.inc' %]
8 <script type="text/javascript">
9 $(document).ready(function() {
10 $("#suggestions").dataTable($.extend(true, {}, dataTablesDefaults, {
20 <body id="pat_purchase_suggestions" class="pat">
21 [% INCLUDE 'header.inc' %]
22 [% INCLUDE 'patron-search.inc' %]
24 <div id="breadcrumbs">
25 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
26 › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
27 › Purchase suggestions for [% INCLUDE 'patron-title.inc' %]
30 <div id="doc3" class="yui-t1">
36 <h2>Purchase suggestions</h2>
38 <div id="toolbar" class="btn-toolbar">
39 <a class="btn btn-small" id="newsuggestion" href="/cgi-bin/koha/suggestion/suggestion.pl?op=add&suggestedby=[% borrowernumber %]&redirect=purchase_suggestions&borrowernumber=[% borrowernumber %]"><i class="fa fa-plus"></i> New purchase suggestion</a>
43 <table id="suggestions">
54 [% FOREACH s IN suggestions %]
59 [% IF ( CAN_user_catalogue ) %]
60 <a href="/cgi-bin/koha/suggestion/suggestion.pl?suggestionid=[% s.suggestionid %]&op=show">[% s.title |html %]</a>
67 [% IF ( s.author ) %][% s.author %],[% END %]
68 [% IF ( s.copyrightdate ) %] - [% s.copyrightdate %],[% END %]
69 [% IF ( s.publishercode ) %] - [% s.publishercode %][% END %]
70 [% IF ( s.place ) %]([% s.place %])[% END %]
71 [% IF ( s.collectiontitle ) %] , [% s.collectiontitle %][% END %]
72 [% IF ( s.itemtype ) %] - [% s.itemtype %][% END %]
77 [% IF ( s.surnamemanagedby ) %]
78 [% s.surnamemanagedby %]
79 [% IF ( s.firstnamemanagedby ) %],[% END %]
80 [% s.firstnamemanagedby %]
86 [% IF ( s.ASKED ) %]Requested[% END %]
87 [% IF ( s.CHECKED ) %]Checked by the library[% END %]
88 [% IF ( s.ACCEPTED ) %]Accepted by the library[% END %]
89 [% IF ( s.ORDERED ) %]Ordered by the library[% END %]
90 [% IF ( s.REJECTED ) %]Suggestion declined [% END %]
91 [% IF ( s.AVAILABLE ) %]Available in the library[% END %]
92 [% IF ( s.reason ) %]([% s.reason %])[% END %]
99 <div class="dialog message">
100 <p>This patron has not submitted any purchase suggestions</p>
107 [% INCLUDE 'circ-menu.inc' %]
110 [% INCLUDE 'intranet-bottom.inc' %]