2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha › Patrons › Purchase suggestions for [% INCLUDE 'patron-title.inc' %]</title>
4 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
5 [% INCLUDE 'doc-head-close.inc' %]
6 [% INCLUDE 'datatables.inc' %]
7 <script type="text/javascript">
8 $(document).ready(function() {
9 $("#suggestions").dataTable($.extend(true, {}, dataTablesDefaults, {
19 <body id="pat_purchase_suggestions" class="pat">
20 [% INCLUDE 'header.inc' %]
21 [% INCLUDE 'patron-search.inc' %]
23 <div id="breadcrumbs">
24 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
25 › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
26 › Purchase suggestions for [% INCLUDE 'patron-title.inc' %]
29 <div id="doc3" class="yui-t1">
35 <h2>Purchase suggestions</h2>
37 <div id="toolbar" class="btn-toolbar">
38 <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>
42 <table id="suggestions">
53 [% FOREACH s IN suggestions %]
58 [% IF ( CAN_user_catalogue ) %]
59 <a href="/cgi-bin/koha/suggestion/suggestion.pl?suggestionid=[% s.suggestionid %]&op=show">[% s.title |html %]</a>
66 [% IF ( s.author ) %][% s.author %],[% END %]
67 [% IF ( s.copyrightdate ) %] - [% s.copyrightdate %],[% END %]
68 [% IF ( s.publishercode ) %] - [% s.publishercode %][% END %]
69 [% IF ( s.place ) %]([% s.place %])[% END %]
70 [% IF ( s.collectiontitle ) %] , [% s.collectiontitle %][% END %]
71 [% IF ( s.itemtype ) %] - [% s.itemtype %][% END %]
76 [% IF ( s.surnamemanagedby ) %]
77 [% s.surnamemanagedby %]
78 [% IF ( s.firstnamemanagedby ) %],[% END %]
79 [% s.firstnamemanagedby %]
85 [% IF ( s.ASKED ) %]Requested[% END %]
86 [% IF ( s.CHECKED ) %]Checked by the library[% END %]
87 [% IF ( s.ACCEPTED ) %]Accepted by the library[% END %]
88 [% IF ( s.ORDERED ) %]Ordered by the library[% END %]
89 [% IF ( s.REJECTED ) %]Suggestion declined [% END %]
90 [% IF ( s.AVAILABLE ) %]Available in the library[% END %]
91 [% IF ( s.reason ) %]([% s.reason %])[% END %]
98 <div class="dialog message">
99 <p>This patron has not submitted any purchase suggestions</p>
106 [% INCLUDE 'circ-menu.inc' %]
109 [% INCLUDE 'intranet-bottom.inc' %]