2 [% USE AuthorisedValues %]
5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Koha › Patrons › Purchase suggestions for [% INCLUDE 'patron-title.inc' no_html = 1 %]</title>
7 <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" />
8 [% INCLUDE 'doc-head-close.inc' %]
11 <body id="pat_purchase_suggestions" class="pat">
12 [% INCLUDE 'header.inc' %]
13 [% INCLUDE 'patron-search.inc' %]
15 <div id="breadcrumbs">
16 <a href="/cgi-bin/koha/mainpage.pl">Home</a>
17 › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
18 › Purchase suggestions for [% INCLUDE 'patron-title.inc' %]
21 <div id="doc3" class="yui-t1">
27 <h2>Purchase suggestions</h2>
29 <div id="toolbar" class="btn-toolbar">
30 <a class="btn btn-default btn-sm" 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>
34 <table id="suggestions">
45 [% FOREACH s IN suggestions %]
50 [% IF ( CAN_user_catalogue ) %]
51 <a href="/cgi-bin/koha/suggestion/suggestion.pl?suggestionid=[% s.suggestionid %]&op=show">[% s.title |html %]</a>
58 [% IF ( s.author ) %][% s.author %],[% END %]
59 [% IF ( s.copyrightdate ) %] - [% s.copyrightdate %],[% END %]
60 [% IF ( s.publishercode ) %] - [% s.publishercode %][% END %]
61 [% IF ( s.place ) %]([% s.place %])[% END %]
62 [% IF ( s.collectiontitle ) %] , [% s.collectiontitle %][% END %]
63 [% IF ( s.itemtype ) %] - [% s.itemtype %][% END %]
68 [% IF ( s.surnamemanagedby ) %]
69 [% s.surnamemanagedby %]
70 [% IF ( s.firstnamemanagedby ) %],[% END %]
71 [% s.firstnamemanagedby %]
77 [% IF ( s.ASKED ) %]Requested[% END %]
78 [% IF ( s.CHECKED ) %]Checked by the library[% END %]
79 [% IF ( s.ACCEPTED ) %]Accepted by the library[% END %]
80 [% IF ( s.ORDERED ) %]Ordered by the library[% END %]
81 [% IF ( s.REJECTED ) %]Suggestion declined [% END %]
82 [% IF ( s.AVAILABLE ) %]Available in the library[% END %]
83 [% IF ( s.reason ) %]([% s.reason %])[% END %]
90 <div class="dialog message">
91 <p>This patron has not submitted any purchase suggestions</p>
98 [% INCLUDE 'circ-menu.inc' %]
102 [% MACRO jsinclude BLOCK %]
103 <script type="text/javascript" src="[% interface %]/[% theme %]/js/members-menu.js"></script>
104 [% INCLUDE 'datatables.inc' %]
105 <script type="text/javascript">
106 $(document).ready(function() {
107 $("#suggestions").dataTable($.extend(true, {}, dataTablesDefaults, {
117 [% INCLUDE 'intranet-bottom.inc' %]