[% USE raw %] [% USE Asset %] [% USE Koha %] [% USE KohaDates %] [% USE AuthorisedValues %] [% USE Branches %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Purchase suggestions for [% INCLUDE 'patron-title.inc' no_html = 1 %] › Patrons › Koha [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'patron-search-header.inc' %]
[% INCLUDE 'members-toolbar.inc' %]

Purchase suggestions

[% IF suggestions.size %] [% FOREACH s IN suggestions %] [% END %]
Summary Note Managed by Managed on Suggested on Status

[% IF ( CAN_user_catalogue ) %] [% s.title | html %] [% ELSE %] [% s.title | html %] [% END %]

[% IF ( s.author ) %][% s.author | html %],[% END %] [% IF ( s.copyrightdate ) %] - [% s.copyrightdate | html %],[% END %] [% IF ( s.publishercode ) %] - [% s.publishercode | html %][% END %] [% IF ( s.place ) %]([% s.place | html %])[% END %] [% IF ( s.collectiontitle ) %] , [% s.collectiontitle | html %][% END %] [% IF ( s.itemtype ) %] - [% s.itemtype | html %][% END %]

[% s.note | html %] [% INCLUDE 'patron-title.inc' patron => s.manager %] [% s.manageddate | $KohaDates %] [% s.suggesteddate | $KohaDates %] [% SWITCH s.STATUS %] [% CASE "ASKED" %]Requested [% CASE "CHECKED" %]Checked by the library [% CASE "ACCEPTED" %]Accepted by the library [% CASE "ORDERED" %]Ordered by the library [% CASE "REJECTED" %]Suggestion declined [% CASE "AVAILABLE" %]Available in the library [% CASE %] [% SET status_description = AuthorisedValues.GetByCode('SUGGEST_STATUS', s.STATUS) %] [% IF status_description %] [% status_description | html %] [% ELSE %] Unknown [% END %] [% END %] [% IF s.reason %]([% s.reason | html %])[% END %]
[% ELSE %]

This patron has not submitted any purchase suggestions

[% END %]
[% MACRO jsinclude BLOCK %] [% INCLUDE 'str/members-menu.inc' %] [% Asset.js("js/members-menu.js") | $raw %] [% INCLUDE 'datatables.inc' %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]