[% USE raw %] [% USE Asset %] [% USE Koha %] [% USE Branches %] [% USE ColumnsSettings %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Tools › Notices[% 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 %] [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("css/datatables.css") | $raw %] [% 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 | html %] [% END %]
Library Module Code Name 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 'members' %]Patrons [% CASE 'serial' %]Serials (new issue) [% CASE 'suggestions' %]Suggestions [% CASE %][% lette.module | html %] [% END %] [% lette.code | html %] [% lette.name | html %] [% IF !independant_branch || !lette.branchcode %]
[% IF independant_branch %] [% ELSE %] [% select_for_copy | $raw %] [% END %]
[% END %]
[% IF can_edit %] Edit [% END %] [% IF !lette.protected && can_edit %] Delete [% END %]
[% ELSE %]
[% IF ( branchcode ) %]

There are no notices for this library.

[% ELSE %]

There are no notices.

[% END %]
[% END %] [% END %] [% 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 %]
  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 == "members" ) %] [% ELSE %] [% END %] [% IF ( module == "serial" ) %] [% ELSE %] [% END %] [% IF ( module == "suggestions" ) %] [% 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 Koha.Preference('TranslateNotices') %]
[% END %] [% FOREACH lang IN letters.keys %]
[% FOR mtt IN letters.$lang.templates.keys.sort %] [% SET letter = letters.$lang.templates.$mtt %]

[% SWITCH letter.message_transport_type %] [% CASE 'email' %] Email [% CASE 'print' %] Print [% CASE 'sms' %] SMS [% CASE 'feed' %] Feed [% 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.
[% ELSIF letter.message_transport_type == "phone" and not Koha.Preference("TalkingTechItivaPhoneNotification") %]
You should enable the TalkingTechItivaPhoneNotification preference to use the phone templates.
[% ELSE %]
[% END %]
  1. [% IF letter.is_html %] [% ELSE %] [% END %]
  2. [% IF letter.message_transport_type == 'sms' %] [% IF letter.content && letter.content.length > 0 %][% letter.content.length | html %][% ELSE %]0[% END %]/160 characters [% END %]
  3. [% IF preview_is_available %]
  4. Preview
  5. [% END %]
[% END %]
[% END %] [% IF Koha.Preference('TranslateNotices') %]
[% END %] [% IF code.search('DGST') %] Warning, this is a template for a Digest, as such, any references to branch data ( e.g. branches.branchname ) will refer to the borrower's home branch. [% END %]
[% END %] [% 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_confirmed ) %] Data deleted
[% END %]
[% UNLESS add_form or copy_form %]
[% INCLUDE 'tools-menu.inc' %]
[% END %]
[% MACRO jsinclude BLOCK %] [% Asset.js("js/tools-menu.js") | $raw %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'columns_settings.inc' %] [% Asset.js("lib/jquery/plugins/jquery.fixFloat.js") | $raw %] [% Asset.js("lib/jquery/plugins/jquery.insertatcaret.js") | $raw %] [% Asset.js("js/letter.js") | $raw %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]