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

Purchase suggestions

[% IF suggestions %] [% FOREACH s IN suggestions %] [% END %]
Summary Note Managed by 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 %] [% IF ( s.surnamemanagedby ) %] [% s.surnamemanagedby | html %] [% IF ( s.firstnamemanagedby ) %],[% END %] [% s.firstnamemanagedby | html %] [% ELSE %]   [% END %] [% 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' %]