[% USE raw %] [% USE Asset %] [% USE Koha %] [% USE Branches %] [% USE AuthorisedValues %] [% USE KohaDates %] [% USE AdditionalContents %] [% SET opacsuggestion = AdditionalContents.get( location => "OpacSuggestioninstructions", lang => lang, library => logged_in_user.branchcode ) %] [% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode, blocktitle => 0 ) %] [% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode, blocktitle => 0 ) %] [% INCLUDE 'doc-head-open.inc' %] [% IF ( op_add ) %]Enter a new purchase suggestion[% END %] [% IF ( op_else ) %]Purchase suggestions[% END %] › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog [% INCLUDE 'doc-head-close.inc' %] [% BLOCK cssinclude %][% END %] [% IF ( loggedinusername ) %][% INCLUDE 'bodytag.inc' bodyid='opac-usersuggestions' bodyclass='scrollto' %][% ELSE %][% INCLUDE 'bodytag.inc' bodyid='opac-suggestions' bodyclass='scrollto' %][% END %] [% INCLUDE 'masthead.inc' %]
[% IF ( op_add ) %]

Your purchase suggestions

[% IF ( Koha.Preference('MaxTotalSuggestions') != '' && patrons_total_suggestions_count >= Koha.Preference('MaxTotalSuggestions') ) %]

You cannot place any more suggestions

You may only add up to [% Koha.Preference('MaxTotalSuggestions') | html %] suggestions in [% Koha.Preference('NumberOfSuggestionDays') | html %] days.

[% ELSIF ( Koha.Preference('MaxOpenSuggestions') != '' && patrons_pending_suggestions_count >= Koha.Preference('MaxOpenSuggestions') ) %]

You cannot place any more suggestions

You have reached your limit for suggestions you can place at this time ([% Koha.Preference('MaxOpenSuggestions') | html %]). Once the library has processed those suggestions you will be able to place more.

[% ELSE %] [% IF ( opacsuggestion ) %] [% PROCESS koha_news_block news => opacsuggestion %] [% ELSE %]

Enter a new purchase suggestion

Please fill out this form to make a purchase suggestion. You will receive an email when the library processes your suggestion.

Only certain fields (marked in red) are required, but the more information you enter the easier it will be for the librarians to find the title you're requesting. The "Notes" field can be used to provide any additional information.

[% END %] [% FOR m IN messages %]
[% SWITCH m.code %] [% CASE 'biblio_exists' %] A similar document already exists: [% m.title | html %]. Click on "Confirm your suggestion" to ignore this message. [% CASE %] [% m.code | html %] [% END %]
[% END %]
  1. [% IF ( title_required ) %]
    Required
    [% ELSE %] [% END %]
  2. [% UNLESS ( author_hidden ) %]
  3. [% IF ( author_required ) %]
    Required
    [% ELSE %] [% END %]
  4. [% END %] [% UNLESS ( copyrightdate_hidden )%]
  5. [% IF ( copyrightdate_required ) %]
    Required
    [% ELSE %] [% END %]
  6. [% END %] [% UNLESS ( isbn_hidden )%]
  7. [% IF ( isbn_required ) %]
    Required
    [% ELSE %] [% END %]
  8. [% END %] [% UNLESS ( publishercode_hidden ) %]
  9. [% IF ( publishercode_required ) %]
    Required
    [% ELSE %] [% END %]
  10. [% END %] [% UNLESS ( collectiontitle_hidden ) %]
  11. [% IF ( collectiontitle_required ) %]
    Required
    [% ELSE %] [% END %]
  12. [% END %] [% UNLESS ( place_hidden ) %]
  13. [% IF ( place_required ) %]
    Required
    [% ELSE %] [% END %]
  14. [% END %] [% UNLESS ( quantity_hidden ) %]
  15. [% IF ( quantity_required ) %]
    Required
    [% ELSE %] [% END %]
  16. [% END %] [% UNLESS ( itemtype_hidden )%]
  17. [% IF ( itemtype_required ) %] [% PROCESS 'av-build-dropbox.inc' name="itemtype", category="SUGGEST_FORMAT", size = 20, required = 1, blank = 1, default=itemtype %]
    Required
    [% ELSE %] [% PROCESS 'av-build-dropbox.inc' name="itemtype", category="SUGGEST_FORMAT", size = 20, blank = 1, default=itemtype %] [% END %]
  18. [% END %] [% UNLESS ( branchcode_hidden )%]
  19. [% IF ( branchcode_required ) %]
    Required
    [% ELSE %] [% END %]
  20. [% END %] [% IF ( patron_reason_loop ) %] [% UNLESS ( patronreason_hidden )%]
  21. [% IF ( patronreason_required ) %]
    Required
    [% ELSE %] [% END %]
  22. [% END %] [% END %] [% UNLESS ( note_hidden ) %]
  23. [% IF ( note_required ) %]
    Required
    [% ELSE %] [% END %]
  24. [% END %]
  25. negcap
[% IF need_confirm # Confirm that we want a duplicate %] [% ELSIF biblionumber # Create from an existing title %] [% ELSE # Not created from an existing title, search for possible duplicate %] [% END %] Cancel
[% END %] [% END # IF op_add %] [% IF ( op_else ) %]

[% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %] Purchase suggestions [% ELSE %] [% IF ( loggedinusername ) %] Your purchase suggestions [% ELSE %] Purchase suggestions [% END %] [% END %]

[% FOR m IN messages %]
[% SWITCH m.code %] [% CASE 'total_suggestions' %] The suggestion has not been added. You have reached your limit for suggestions you can place at this time ([% Koha.Preference('MaxTotalSuggestions') | html %] in [% Koha.Preference('NumberOfSuggestionDays') | html %] days). [% CASE 'too_many' %] The suggestion has not been added. You have reached your limit for suggestions you can place at this time ([% Koha.Preference('MaxOpenSuggestions') | html %]). Once the library has processed those suggestions you will be able to place more. [% CASE 'already_exists' %] The suggestion has not been added. A suggestion with this title already exists. [% CASE 'success_on_inserted' %] Your suggestion has been submitted. [% CASE %] [% m.code | html %] [% END %]
[% END %] [% IF ( deleted ) %]
The selected suggestions have been deleted.
[% END %] [% IF suggestions_loop OR title_filter %]
[% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %] [% IF loggedinusername %]
[% END %] [% END %]
[% END %] [% IF suggestions_loop %] [% SET can_delete_suggestion = 0 %]
[% IF ( loggedinusername || ( Koha.Preference( 'AnonSuggestions' ) == 1 ) ) %]
[% IF ( Koha.Preference('MaxTotalSuggestions') != '' && patrons_total_suggestions_count >= Koha.Preference('MaxTotalSuggestions') ) %]

You may only add up to [% Koha.Preference('MaxTotalSuggestions') | html %] suggestions in [% Koha.Preference('NumberOfSuggestionDays') | html %] days.

[% ELSIF ( Koha.Preference('MaxOpenSuggestions') != '' && patrons_pending_suggestions_count >= Koha.Preference('MaxOpenSuggestions') ) %]

You have reached your limit for suggestions you can place at this time ([% Koha.Preference('MaxOpenSuggestions') | html %]).
Once the library has processed those suggestions you will be able to place more.

[% ELSE %] New purchase suggestion [% END %]
[% END %] [% IF ( loggedinusername ) %]
[% END %] [% IF ( loggedinusername ) %][% END %] [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %][% END %] [% IF Koha.Preference( 'OpacSuggestionManagedBy' ) %][% END %] [% FOREACH suggestions_loo IN suggestions_loop %] [% IF ( loggedinusername ) %] [% END %] [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %] [% END %] [% IF Koha.Preference( 'OpacSuggestionManagedBy' ) %] [% END %] [% END # / FOREACH suggestions_loo %]
Your purchase suggestions
 Summary Suggested on NoteSuggested forManaged byStatus
[% IF ( suggestions_loo.showcheckbox ) %] [% SET can_delete_suggestion = 1 %] [% END %]

[% IF ( suggestions_loo.author ) %][% suggestions_loo.author | html %],[% END %] [% IF ( suggestions_loo.copyrightdate ) %] - [% suggestions_loo.copyrightdate | html %],[% END %] [% IF ( suggestions_loo.publishercode ) %] - [% suggestions_loo.publishercode | html %][% END %] [% IF ( suggestions_loo.place ) %]([% suggestions_loo.place | html %])[% END %] [% IF ( suggestions_loo.collectiontitle ) %] , [% suggestions_loo.collectiontitle | html %][% END %] [% IF ( suggestions_loo.itemtype ) %] - [% AuthorisedValues.GetByCode( 'SUGGEST_FORMAT', suggestions_loo.itemtype, 1 ) | html %][% END %]

[% IF ( suggestions_loo.suggesteddate ) %][% suggestions_loo.suggesteddate |$KohaDates %][% END %] [% IF ( suggestions_loo.note ) %] Note: [% suggestions_loo.note | html %] [% END %] [% IF ( suggestions_loo.branchcodesuggestedby ) %] Suggested for: [% suggestions_loo.branchcodesuggestedby | html %] [% END %] [% IF ( suggestions_loo.surnamemanagedby ) %] Managed by: [% suggestions_loo.surnamemanagedby | html %] [% IF ( suggestions_loo.firstnamemanagedby ) %] , [% suggestions_loo.firstnamemanagedby | html %] [% END %] [% END %] Status: [% IF ( suggestions_loo.ASKED ) %]Requested [% ELSIF ( suggestions_loo.CHECKED ) %]Checked by the library [% ELSIF ( suggestions_loo.ACCEPTED ) %]Accepted by the library [% ELSIF ( suggestions_loo.ORDERED ) %]Ordered by the library [% ELSIF ( suggestions_loo.REJECTED ) %]Suggestion declined [% ELSIF ( suggestions_loo.AVAILABLE ) %]Available in the library [% ELSE %] [% AuthorisedValues.GetByCode( 'SUGGEST_STATUS', suggestions_loo.STATUS, 1 ) | html %] [% END %] [% IF ( suggestions_loo.reason ) %]([% suggestions_loo.reason | html %])[% END %]
[% IF ( loggedinusername && can_delete_suggestion ) %]
[% END %]
[% ELSE %] [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) %] [% IF title_filter %]

There are no pending purchase suggestions matching your search.

[% ELSIF loggedinusername AND NOT suggested_by_anyone %]

You have no pending purchase suggestions. View all suggestions

[% ELSE %]

There are no pending purchase suggestions.

[% END %] [% ELSE %] [% IF ( loggedinusername ) %] [% IF title_filter %]

There are no pending purchase suggestions matching your search.

[% ELSE %]

You have no pending purchase suggestions.

[% END %] [% ELSE %]

You are not authorized to see pending purchase suggestions.

[% END %] [% END %] [% IF ( loggedinusername || ( Koha.Preference( 'AnonSuggestions' ) == 1 ) ) %] [% IF ( Koha.Preference('MaxTotalSuggestions') != '' && patrons_total_suggestions_count >= Koha.Preference('MaxTotalSuggestions') ) %]

You may only add up to [% Koha.Preference('MaxTotalSuggestions') | html %] suggestions in [% Koha.Preference('NumberOfSuggestionDays') | html %] days.

[% ELSIF ( Koha.Preference('MaxOpenSuggestions') != '' && patrons_pending_suggestions_count >= Koha.Preference('MaxOpenSuggestions') ) %]

You have reached your limit for suggestions you can place at this time.
Once the library has processed those suggestions you will be able to place more.

[% ELSE %]

New purchase suggestion

[% END %] [% END %] [% END # / IF suggestions_loop %] [% END # IF op_else %]
[% INCLUDE 'opac-bottom.inc' %] [% BLOCK jsinclude %] [% INCLUDE 'datatables.inc' %] [% END %]