[% USE raw %] [% USE Asset %] [% USE Koha %] [% USE KohaDates %] [% USE Branches %] [% USE TablesSettings %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] [% IF ( add_form or copy_form ) %] [% IF ( modify ) %] Modify notice › [% ELSE %] Add notice › [% END %] [% END %] [% IF ( add_validate or copy_validate) %] Notice added › [% END %] [% IF ( delete_confirm ) %] Confirm deletion › [% END %] Notices › Tools › Koha [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'letters-search.inc' %] [% IF add_form or copy_form %]
[% ELSE %]
[% END %] [% IF ( no_op_set ) %]

Notices & slips

[% UNLESS independant_branch %]

Select a library:

[% END %]
[% IF ( search ) %]

You searched for [% searchfield | html %]

[% END %] [% IF ( letter && !independant_branch) %] [% select_for_copy = BLOCK %] [% END %] [% END %] [% IF letter %] [% FOREACH lette IN letter %] [% can_edit = lette.branchcode || !independant_branch %] [% END # /FOREACH lette %]
Library Module Code Name Last updated Copy notice Actions
[% IF lette.branchname %] [% lette.branchname | html %] [% ELSE %] (All libraries) [% END %] [% SWITCH lette.module %] [% CASE 'acquisition' %]Acquisition [% CASE 'catalogue' %]Catalog [% CASE 'circulation' %]Circulation [% CASE 'orderacquisition' %]Order acquisition [% CASE 'claimacquisition' %]Claim acquisition [% CASE 'claimissues' %]Claim serial issue [% CASE 'reserves' %]Holds [% CASE 'ill' %]Interlibrary loans [% CASE 'members' %]Patrons [% CASE 'serial' %]Serials (new issue) [% CASE 'suggestions' %]Suggestions [% CASE 'pos' %]Point of sale [% CASE %][% lette.module | html %] [% END %] [% lette.code | html %] [% lette.name | html %] [% lette.updated_on | $KohaDates with_hours = 1 %] [% IF !independant_branch || !lette.branchcode %]
[% IF independant_branch %] [% ELSE %] [% select_for_copy | $raw %] [% END %]
[% END # /IF !independent_branch %]
[% IF can_edit %] Edit [% END %] [% IF !lette.protected && can_edit %] Delete [% END %]
[% ELSE # IF lette %]
[% IF ( branchcode ) %]

There are no notices for this library.

[% ELSE %]

There are no notices.

[% END %]
[% END # /IF lette %] [% END # /IF no_op_set %] [% IF add_form or copy_form %]

[% IF ( modify ) %]Modify notice[% ELSE %]Add notice[% END %]

[% IF add_form %] [% ELSE %] [% END %] [% IF ( modify ) %] [% ELSE %] [% END %]
[% IF independant_branch %]
    [% ELSE %]
    1. [% IF adding %] [% ELSE %] Library: [% IF ( branchcode ) %] [% Branches.GetName( branchcode ) | html %] [% ELSE %] All libraries [% END %] [% END %]
    2. [% END # /IF independant_branch %]
    3. [% IF adding %] [% END %] [% IF ( module == "acquisition" ) %] [% ELSE %] [% END %] [% IF ( module == "catalogue" ) %] [% ELSE %] [% END %] [% IF ( module == "circulation" ) %] [% ELSE %] [% END %] [% IF ( module == "orderacquisition" ) %] [% ELSE %] [% END %] [% IF ( module == "claimacquisition" ) %] [% ELSE %] [% END %] [% IF ( module == "claimissues" ) %] [% ELSE %] [% END %] [% IF ( module == "reserves" ) %] [% ELSE %] [% END %] [% IF ( module == "ill" ) %] [% ELSE %] [% END %] [% IF ( module == "members" ) %] [% ELSE %] [% END %] [% IF ( module == "serial" ) %] [% ELSE %] [% END %] [% IF ( module == "suggestions" ) %] [% ELSE %] [% END %] [% IF ( module == "pos" ) %] [% ELSE %] [% END %]
    4. [% IF adding %] Required [% ELSE %] Code: [% code | html %] [% END %]
    5. Required
    6. [% IF code and preview_is_available%]
    7. [% SWITCH code %] [% CASE 'CHECKIN' %] [% CASE 'CHECKOUT' %] [% CASE 'HOLD_SLIP' %] [% CASE %] Not supported yet. [% END %]
    8. [% END # /IF code %]
[% IF Koha.Preference('TranslateNotices') %]
[% END # /IF TranslateNotices %] [% FOREACH lang IN letters.keys %]
[% FOR mtt IN letters.$lang.templates.keys.sort %] [% SET letter = letters.$lang.templates.$mtt %] [% NEXT IF letter.message_transport_type == "itiva" && !Koha.Preference('TalkingTechItivaPhoneNotification') %] [% NEXT IF letter.message_transport_type == "phone" && !Koha.Preference('PhoneNotification') %]

[% SWITCH letter.message_transport_type %] [% CASE 'email' %] Email [% CASE 'print' %] Print [% CASE 'sms' %] SMS [% CASE 'feed' %] Feed [% CASE 'itiva' %] Phone ( Itiva ) [% CASE 'phone' %] Phone [% CASE %] [% letter.message_transport_type | html %] [% END %]

[% IF letter.message_transport_type == "sms" and not Koha.Preference("SMSSendDriver") %]
You should enable the SMSSendDriver preference to use the SMS templates.
[% ELSE %]
[% END %]
    [% IF ( letter.updated_on ) %]
  1. [% letter.updated_on | $KohaDates with_hours = 1 %]
  2. [% END %]
  3. [% IF letter.is_html %] [% ELSE %] [% END %]
  4. [% IF letter.message_transport_type == 'sms' %] [% IF letter.content && letter.content.length > 0 %][% letter.content.length | html %][% ELSE %]0[% END %]/160 characters [% END %]
  5. [% IF preview_is_available %]
  6. Preview
  7. [% END %]
[% END # /FOR mtt %]
[% END # /FOREACH lang %] [% IF Koha.Preference('TranslateNotices') %]
[% END %]
[% END # /IF add_form %] [% IF ( add_validate or copy_validate) %] Data recorded
[% END %] [% IF ( delete_confirm ) %]

Delete notice?

Library Module Code Name
[% IF letter.branchcode %][% Branches.GetName( letter.branchcode ) | html %][% ELSE %](All libraries)[% END %] [% letter.module | html %] [% letter.code | html %] [% letter.name | html %]
[% END # /IF delete_confirm %] [% IF ( delete_confirmed ) %] Data deleted
[% END %] [% IF add_form or copy_form %]
[% ELSE %]
[% END %] [% MACRO jsinclude BLOCK %] [% Asset.js("js/tools-menu.js") | $raw %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'columns_settings.inc' %] [% Asset.js("lib/hc-sticky.js") | $raw %] [% Asset.js("lib/jquery/plugins/jquery.insertatcaret.js") | $raw %] [% Asset.js("js/letter.js") | $raw %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]