6 [% USE TablesSettings %]
7 [% PROCESS 'i18n.inc' %]
9 [% INCLUDE 'doc-head-open.inc' %]
10 <title>[% FILTER collapse %]
11 [% IF ( add_form or copy_form ) %]
13 [% t("Modify notice") | html %] ›
15 [% t("New notice") | html %] ›
18 [% IF ( add_validate or copy_validate) %]
19 [% t("Notice added") | html %] ›
21 [% IF ( delete_confirm ) %]
22 [% t("Confirm deletion") | html %] ›
24 [% IF ( branchcode ) %]
25 [% Branches.GetName( branchcode ) | html %] ›
27 [% t("Notices and slips") | html %] ›
28 [% t("Tools") | html %] ›
29 [% t("Koha") | html %]
31 [% INCLUDE 'doc-head-close.inc' %]
34 #preview_template .modal-dialog {
40 @media (max-width: 767px) {
42 margin: 0; width : auto;
45 .panel-body fieldset.rows {
47 background: transparent none;
58 <body id="tools_letter" class="tools">
59 [% WRAPPER 'header.inc' %]
60 [% INCLUDE 'letters-search.inc' %]
63 [% WRAPPER 'sub-header.inc' %]
64 [% WRAPPER breadcrumbs %]
65 [% WRAPPER breadcrumb_item %]
66 <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a>
69 [% IF ( add_form OR copy_form OR add_validate OR copy_validate OR delete_confirm OR branchcode ) %]
70 [% WRAPPER breadcrumb_item %]
71 <a href="/cgi-bin/koha/tools/letter.pl">Notices and slips</a>
75 [% IF ( add_form or copy_form) %]
77 [% WRAPPER breadcrumb_item bc_active= 1 %]
78 <span>Modify notice</span>
81 [% WRAPPER breadcrumb_item bc_active= 1 %]
82 <span>New notice</span>
84 [% END # /IF modify %]
85 [% ELSIF ( branchcode ) %]
86 [% WRAPPER breadcrumb_item bc_active= 1 %]
87 [% Branches.GetName( branchcode ) | html %]
90 [% IF ( add_validate or copy_validate) %]
91 [% WRAPPER breadcrumb_item bc_active= 1 %]
92 <span>Notice added</span>
95 [% IF ( delete_confirm ) %]
96 [% WRAPPER breadcrumb_item bc_active= 1 %]
97 <span>Confirm deletion</span>
100 [% WRAPPER breadcrumb_item bc_active= 1 %]
101 <span>Notices and slips</span>
103 [% END # /IF ( delete_confirm ) %]
104 [% END # /IF ( add_validate or copy_validate) %]
105 [% END # /IF ( add_form or copy_form) %]
106 [% END #/ WRAPPER breadcrumbs %]
107 [% END #/ WRAPPER sub-header.inc %]
109 <div id="preview_template" class="modal in" tabindex="-1" role="dialog" aria-labelledby="preview_template_label" aria-hidden="true">
110 <div class="modal-dialog modal-lg">
111 <div class="modal-content">
112 <div class="modal-header">
113 <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
114 <h3 id="preview_template_label">Preview notice template</h3>
116 <div class="modal-body">
118 <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading
121 <div class="modal-footer">
122 <!-- TODO <a href="#" class="btn btn-default" id="preview_template_button" role="button" data-toggle="modal">Convert using the Template Toolkit syntax</a>-->
123 <button class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
125 </div> <!-- /.modal-content -->
126 </div> <!-- /.modal-dialog -->
127 </div> <!-- /#preview_template -->
129 [% IF add_form or copy_form %]
130 <div class="main container-fluid">
132 <div class="col-md-8 col-md-offset-2">
134 <div class="main container-fluid">
136 <div class="col-sm-10 col-sm-push-2">
140 [% IF ( no_op_set ) %]
141 <h1>Notices and slips</h1>
142 [% IF ( branchcode ) %]
143 <h2>[% Branches.GetName( branchcode ) | html %]</h2>
145 <form method="get" action="/cgi-bin/koha/tools/letter.pl" id="selectlibrary">
146 <input type="hidden" name="searchfield" value="[% searchfield | html %]" />
147 [% UNLESS independant_branch %]
150 <select name="branchcode" id="branch" style="width:20em;">
151 <option value="*">All libraries</option>
152 [% PROCESS options_for_libraries libraries => Branches.all( selected => branchcode ) %]
156 </form> <!-- /#selectlibrary -->
158 <div id="toolbar" class="btn-toolbar">
159 <div class="btn-group">
160 <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> New notice <span class="caret"></span></button>
161 <ul class="dropdown-menu">
162 <li><a href="/cgi-bin/koha/tools/letter.pl?op=add_form&module=acquisition">Acquisition</a></li>
163 <li><a href="/cgi-bin/koha/tools/letter.pl?op=add_form&module=catalogue">Catalog</a></li>
164 <li><a href="/cgi-bin/koha/tools/letter.pl?op=add_form&module=circulation">Circulation</a></li>
165 <li><a href="/cgi-bin/koha/tools/letter.pl?op=add_form&module=claimacquisition">Claim acquisition</a></li>
166 <li><a href="/cgi-bin/koha/tools/letter.pl?op=add_form&module=claimissues">Claim serial issue</a></li>
167 <li><a href="/cgi-bin/koha/tools/letter.pl?op=add_form&module=reserves">Holds</a></li>
168 <li><a href="/cgi-bin/koha/tools/letter.pl?op=add_form&module=ill">Interlibrary loans</a></li>
169 <li><a href="/cgi-bin/koha/tools/letter.pl?op=add_form&module=orderacquisition">Order acquisition</a></li>
170 <li><a href="/cgi-bin/koha/tools/letter.pl?op=add_form&module=members">Patrons</a></li>
171 <li><a href="/cgi-bin/koha/tools/letter.pl?op=add_form&module=preservation">Preservation</a></li>
172 <li><a href="/cgi-bin/koha/tools/letter.pl?op=add_form&module=serial">Serials (new issue)</a></li>
173 <li><a href="/cgi-bin/koha/tools/letter.pl?op=add_form&module=suggestions">Suggestions</a></li>
174 <li><a href="/cgi-bin/koha/tools/letter.pl?op=add_form&module=pos">Point of sale</a></li>
175 <li><a href="/cgi-bin/koha/tools/letter.pl?op=add_form&module=report">Reports</a></li>
178 </div> <!-- /#toolbar -->
181 <p>You searched for <strong>[% searchfield | html %]</strong></p>
184 [% IF ( letter && !independant_branch) %]
185 [% select_for_copy = BLOCK %]
186 <select name="branchcode">
187 [% FOREACH l IN Branches.all() %]
188 <option value="[% l.branchcode | html %]">Copy to [% l.branchname | html %]</option>
195 <div class="page-section">
203 <th>Last updated</th>
204 <th class="NoSort noExport">Copy notice</th>
205 <th class="NoSort noExport">Actions</th>
209 [% FOREACH lette IN letter %]
210 [% can_edit = lette.branchcode || !independant_branch %]
213 [% IF lette.branchname %]
214 [% lette.branchname | html %]
216 <span>(All libraries)</span>
220 [% SWITCH lette.module %]
221 [% CASE 'acquisition' %]<span>Acquisition</span>
222 [% CASE 'catalogue' %]<span>Catalog</span>
223 [% CASE 'circulation' %]<span>Circulation</span>
224 [% CASE 'orderacquisition' %]<span>Order acquisition</span>
225 [% CASE 'claimacquisition' %]<span>Claim acquisition</span>
226 [% CASE 'claimissues' %]<span>Claim serial issue</span>
227 [% CASE 'reserves' %]<span>Holds</span>
228 [% CASE 'ill' %]<span>Interlibrary loans</span>
229 [% CASE 'members' %]<span>Patrons</span>
230 [% CASE 'preservation' %]<span>Preservation</span>
231 [% CASE 'serial' %]<span>Serials (new issue)</span>
232 [% CASE 'suggestions' %]<span>Suggestions</span>
233 [% CASE 'pos' %]<span>Point of sale</span>
234 [% CASE 'report' %]<span>Reports</span>
235 [% CASE %]<span>[% lette.module | html %]</span>
238 <td>[% lette.code | html %]</td>
239 <td>[% lette.name | html %]</td>
240 <td data-order="[% lette.updated_on | html %]">[% lette.updated_on | $KohaDates with_hours = 1 %]</td>
242 [% IF !independant_branch || !lette.branchcode %]
243 <form method="post" action="/cgi-bin/koha/tools/letter.pl">
244 <input type="hidden" name="op" value="copy_form" />
245 <input type="hidden" name="oldbranchcode" value="[% lette.branchcode | html %]" />
246 <input type="hidden" name="module" value="[% lette.module | html %]" />
247 <input type="hidden" name="code" value="[% lette.code | html %]" />
248 [% IF independant_branch %]
249 <input type="hidden" name="branchcode" value="[% independant_branch | html %]" />
251 [% select_for_copy | $raw %]
253 <button class="btn btn-default btn-xs"><i class="fa-solid fa-copy"></i> Copy</button>
255 [% END # /IF !independent_branch %]
259 <a class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/letter.pl?op=add_form&branchcode=[% lette.branchcode | html %]&module=[% lette.module | html %]&code=[% lette.code | html %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
261 [% IF !lette.protected && can_edit %]
262 <a class="btn btn-default btn-xs" href="/cgi-bin/koha/tools/letter.pl?op=delete_confirm&branchcode=[% lette.branchcode | html %]&module=[% lette.module | html %]&code=[% lette.code | html %]"><i class="fa fa-trash-can"></i> Delete</a>
266 [% END # /FOREACH lette %]
268 </table> <!-- /#lettert -->
269 </div><!-- /.page-section -->
270 [% ELSE # IF lette %]
271 <div class="dialog message">
272 [% IF ( branchcode ) %]
273 <p>There are no notices for this library.</p>
275 <p>There are no notices.</p>
278 [% END # /IF lette %]
279 [% END # /IF no_op_set %]
281 [% IF add_form or copy_form %]
284 <span>Modify notice</span>
286 <span>New notice</span>
290 <div id="toolbar" class="btn-toolbar">
291 <div class="btn-group">
292 <button class="btn btn-primary" id="submit_form"><i class="fa fa-save"></i> Save</button>
293 <button class="btn btn-primary dropdown-toggle" data-toggle="dropdown">
294 <span class="caret"></span>
296 <ul class="dropdown-menu">
297 <li><a id="saveandcontinue" href="#">Save and continue editing</a></li>
300 <a class="btn btn-default cancel" href="/cgi-bin/koha/tools/letter.pl"><i class="fa fa-times"></i> Cancel</a>
301 </div> <!-- /#toolbar -->
303 <form id="add_notice" name="Aform" method="post" enctype="multipart/form-data" class="validate">
305 <input type="hidden" name="op" id="op" value="add_validate" />
307 <input type="hidden" name="op" id="op" value="copy_validate" />
310 <input type="hidden" name="checked" value="0" />
313 <input type="hidden" name="add" value="0" />
315 <input type="hidden" name="add" value="1" />
318 <fieldset class="rows">
319 <input type="hidden" name="oldbranchcode" value="[% oldbranchcode | html %]" />
320 [% IF independant_branch %]
321 <input type="hidden" name="branchcode" value="[% independant_branch | html %]" />
327 <label for="branch">Library:</label>
328 <select name="branchcode" id="branch" style="width:20em;">
329 <option value="">All libraries</option>
330 [% PROCESS options_for_libraries libraries => Branches.all( selected => branchcode ) %]
333 <span class="label">Library:</span>
334 <input type="hidden" id="branch" name="branchcode" value="[% branchcode | html %]" />
335 [% IF ( branchcode ) %]
336 [% Branches.GetName( branchcode ) | html %]
338 <span>All libraries</span>
342 [% END # /IF independant_branch %]
344 <label for="module">Koha module:</label>
345 <input type="hidden" name="oldmodule" value="[% module | html %]" />
347 <select name="module" id="newmodule">
349 <select name="module" id="module">
351 [% IF ( module == "acquisition" ) %]
352 <option value="acquisition" selected="selected">Acquisition</option>
354 <option value="acquisition" >Acquisition</option>
356 [% IF ( module == "catalogue" ) %]
357 <option value="catalogue" selected="selected">Catalog</option>
359 <option value="catalogue" >Catalog</option>
361 [% IF ( module == "circulation" ) %]
362 <option value="circulation" selected="selected">Circulation</option>
364 <option value="circulation">Circulation</option>
366 [% IF ( module == "orderacquisition" ) %]
367 <option value="orderacquisition" selected="selected">Order acquisition</option>
369 <option value="orderacquisition">Order acquisition</option>
371 [% IF ( module == "claimacquisition" ) %]
372 <option value="claimacquisition" selected="selected">Claim acquisition</option>
374 <option value="claimacquisition">Claim acquisition</option>
376 [% IF ( module == "claimissues" ) %]
377 <option value="claimissues" selected="selected">Claim serial issue</option>
379 <option value="claimissues">Claim serial issue</option>
381 [% IF ( module == "reserves" ) %]
382 <option value="reserves" selected="selected">Holds</option>
384 <option value="reserves">Holds</option>
386 [% IF ( module == "ill" ) %]
387 <option value="ill" selected="selected">Interlibrary loans</option>
389 <option value="ill">Interlibrary loans</option>
391 [% IF ( module == "members" ) %]
392 <option value="members" selected="selected">Patrons</option>
394 <option value="members">Patrons</option>
396 [% IF ( module == "preservation" ) %]
397 <option value="preservation" selected="selected">Preservation</option>
399 <option value="preservation">Preservation</option>
401 [% IF ( module == "serial" ) %]
402 <option value="serial" selected="selected">Serials (new issue)</option>
404 <option value="serial">Serials (new issue)</option>
406 [% IF ( module == "suggestions" ) %]
407 <option value="suggestions" selected="selected">Suggestions</option>
409 <option value="suggestions">Suggestions</option>
411 [% IF ( module == "pos" ) %]
412 <option value="pos" selected="selected">Point of sale</option>
414 <option value="pos">Point of sale</option>
416 [% IF ( module == "report" ) %]
417 <option value="report" selected="selected">Reports</option>
419 <option value="report">Reports</option>
425 <label for="code" class="required">Code:</label>
426 <input type="text" id="code" name="code" size="20" maxlength="20" value="" required="required"/>
427 <span class="required">Required</span>
429 <span class="label">Code:</span>
430 <input type="hidden" id="code" name="code" value="[% code | html %]" />
435 <label for="name" class="required">Name:</label>
436 <input type="text" id="name" name="name" size="60" value="[% letter_name | html %]" required="required" />
437 <span class="required">Required</span>
439 [% IF code and preview_is_available%]
441 <label for="name">Data for preview:</label>
444 <input type="text" id="data_preview" name="data_preview" value="" placeholder="barcode" />
445 [% CASE 'CHECKOUT' %]
446 <input type="text" id="data_preview" name="data_preview" value="" placeholder="barcode|borrowernumber" />
447 [% CASE 'HOLD_SLIP' %]
448 <input type="text" id="data_preview" name="data_preview" value="" placeholder="biblionumber|borrowernumber" />
450 <span>Not supported yet.</span>
455 </fieldset> <!-- /#add_notice -->
457 [% IF Koha.Preference('TranslateNotices') %]
458 <div style="clear:both"></div>
459 [% WRAPPER tabs id= "tabs" %]
460 [% WRAPPER tabs_nav %]
461 [% WRAPPER tab_item tabname= "lang_default" %] <span>Default</span> [% END %]
462 [% FOR language IN languages %]
463 [% FOR sublanguage IN language.sublanguages_loop %]
464 [% IF language.plural %]
465 [% WRAPPER tab_item tabname= "lang_${sublanguage.rfc4646_subtag}" %] [% sublanguage.native_description | html %] [% sublanguage.region_description | html %] ([% sublanguage.rfc4646_subtag | html %]) [% END %]
467 [% WRAPPER tab_item tabname= "lang_${sublanguage.rfc4646_subtag}" %] [% sublanguage.native_description | html %] ([% sublanguage.rfc4646_subtag | html %]) [% END %]
471 [% END # /.tabs_nav %]
473 [% WRAPPER tab_panels %]
474 [% FOREACH lang IN letters.keys %]
475 [% WRAPPER tab_panel tabname="lang_${lang}" %]
476 [% PROCESS message_templates %]
477 [% END # /WRAPPER tab_panel %]
478 [% END # /FOREACH lang %]
479 [% END # /WRAPPER tab_panels %]
480 [% END # /WRAPPER tabs#tabs %]
482 <div style="clear:both"></div>
483 [% FOREACH lang IN letters.keys %]
484 [% PROCESS message_templates %]
485 [% END # /FOREACH lang %]
486 [% END # /IF TranslateNotices %]
488 <input type="hidden" id="redirect" name="redirect" value="" />
489 <input type="hidden" id="section" name="section" value="[% section | html %]" />
490 <input type="hidden" id="langtab" name="langtab" value="[% langtab | html %]" />
491 <input type="hidden" name="searchfield" value="[% searchfield | html %]" />
492 </form> <!-- /#add_notice -->
493 [% END # /IF add_form %]
495 [% IF ( add_validate or copy_validate) %]
497 <form action="[% action | html %]" method="post">
498 <input type="submit" class="btn btn-primary" value="OK" />
502 [% IF ( delete_confirm ) %]
503 <div class="dialog alert">
504 <h1>Delete notice?</h1>
515 <td>[% IF letter.branchcode %][% Branches.GetName( letter.branchcode ) | html %][% ELSE %]<span>(All libraries)</span>[% END %]</td>
516 <td>[% letter.module | html %]</td>
517 <td>[% letter.code | html %]</td>
518 <td>[% letter.name | html %]</td>
521 <form action="[% action | html %]" method="post">
522 <input type="hidden" name="op" value="delete_confirmed">
523 <input type="hidden" name="branchcode" value="[% letter.branchcode | html %]" />
524 <input type="hidden" name="code" value="[% letter.code | html %]" />
525 <input type="hidden" name="module" value="[% letter.module | html %]" />
526 <button type="submit" class="approve"><i class="fa fa-check"></i> Yes, delete</button>
529 <form action="[% action | html %]" method="get">
530 <button type="submit" class="deny"><i class="fa fa-times"></i> No, do not delete</button>
533 [% END # /IF delete_confirm %]
535 [% IF ( delete_confirmed ) %]
536 <span>Data deleted</span>
537 <form action="[% action | html %]" method="post">
538 <input type="submit" class="btn btn-primary" value="OK" />
542 [% IF add_form or copy_form %]
543 </div> <!-- /.col-md-8 -->
544 </div> <!-- /.row -->
547 </div> <!-- /.col-sm-10.col-sm-push-2 -->
549 <div class="col-sm-2 col-sm-pull-10">
551 [% INCLUDE 'tools-menu.inc' %]
553 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
554 </div> <!-- /.row -->
557 [% BLOCK message_templates %]
558 <div class="panel-group" id="group_[% lang | html %]" role="tablist" aria-multiselectable="true">
559 [% FOR mtt IN letters.$lang.templates.keys.sort %]
560 [% SET letter = letters.$lang.templates.$mtt %]
561 [% NEXT IF letter.message_transport_type == "itiva" && !Koha.Preference('TalkingTechItivaPhoneNotification') %]
562 [% NEXT IF letter.message_transport_type == "phone" && !Koha.Preference('PhoneNotification') %]
563 <div class="panel panel-default">
564 <div class="panel-heading" role="tab" id="[% letter.message_transport_type | html %]_[% lang | html %]Heading">
565 <h3 class="panel-title">
566 <a role="button" class="collapsed" data-toggle="collapse" data-parent="#group_[% lang | html %]" href="#[% letter.message_transport_type | html %]_[% lang | html %]" aria-expanded="false" aria-controls="[% letter.message_transport_type | html %]_[% lang | html %]">
567 [% SWITCH letter.message_transport_type %]
568 [% CASE 'email' %]<span>Email</span>
569 [% CASE 'print' %]<span>[% tp('Message transport type', 'Print') | html %]</span>
570 [% CASE 'sms' %]<span>SMS</span>
571 [% CASE 'feed' %]<span>Feed</span>
572 [% CASE 'itiva' %]<span>Phone (i-tiva)</span>
573 [% CASE 'phone' %]<span>Phone</span>
574 [% CASE %]<span>[% letter.message_transport_type | html %]</span>
578 </div> <!-- /.panel-heading -->
579 <div id="[% letter.message_transport_type | html %]_[% lang | html %]" class="panel-collapse collapse" role="tabpanel" aria-labelledby="[% letter.message_transport_type | html %]_[% lang | html %]Heading">
580 <div class="panel-body">
581 [% IF letter.message_transport_type == "sms" and not Koha.Preference("SMSSendDriver") %]
582 <fieldset class="rows mtt" disabled="disabled">
583 <div class="dialog message">You should enable the SMSSendDriver preference to use the SMS templates.</div>
585 <fieldset class="rows mtt">
587 <input type="hidden" name="message_transport_type" value="[% letter.message_transport_type | html %]" />
588 <input type="hidden" name="lang" value="[% lang | html %]" />
590 [% IF ( letter.tt_error ) %]
591 <li class="template_toolkit_error">
592 <span class="label error">Template Toolkit error:</span>
593 [% letter.tt_error | html %]
596 [% IF ( letter.updated_on ) %]
598 <span class="label">Last updated:</span>
599 [% letter.updated_on | $KohaDates with_hours = 1 %]
603 <label for="is_html_[% letter.message_transport_type | html %]_[% lang | html %]">HTML message:</label>
604 [% IF letter.is_html %]
605 <input type="checkbox" name="is_html_[% letter.message_transport_type | html %]_[% lang | html %]" id="is_html_[% letter.message_transport_type | html %]_[% lang | html %]" value="1" checked="checked" />
607 <input type="checkbox" name="is_html_[% letter.message_transport_type | html %]_[% lang | html %]" id="is_html_[% letter.message_transport_type | html %]_[% lang | html %]" value="1" />
611 <label for="title_[% letter.message_transport_type | html %]_[% lang | html %]">Message subject:</label><input type="text" id="title_[% letter.message_transport_type | html %]_[% lang | html %]" name="title" size="60" value="[% letter.title | html %]" />
614 <label for="SQLfieldname_[% letter.message_transport_type | html %]_[% lang | html %]">Message body:</label>
615 [% IF letter.message_transport_type == 'sms' %]
616 <span class="sms_counter" id="sms_counter_[% lang | html %]">
617 [% IF letter.content && letter.content.length > 0 %]
618 [% tx("{content_length} / 160 characters", {content_length = letter.content.length} ) %]
620 [% tx("{content_length} / 160 characters", {content_length = 0} ) %]
627 <select name="SQLfieldname" id="SQLfieldname_[% letter.message_transport_type | html %]_[% lang | html %]" multiple="multiple" size="9">
628 [% FOREACH SQLfieldname IN SQLfieldnames %]
629 <option value="[% SQLfieldname.value | html %]">[% SQLfieldname.text | html %]</option>
634 <button type="button" data-containerid="[% letter.message_transport_type | html %]_[% lang | html %]" class="btn btn-default btn-sm insert">Insert <i class="fa-solid fa-right-long"></i></button>
637 <textarea name="content" data-lang="[% lang | html %]" class="content_[% letter.message_transport_type | html %]" id="content_[% letter.message_transport_type | html %]_[% lang | html %]" cols="80" rows="15">[% letter.content | html %]</textarea>
642 [% IF preview_is_available %]
644 <a href="/cgi-bin/koha/svc/letters/preview" class="preview_template btn btn-default btn-xs" title="Preview this notice template" data-mtt="[% letter.message_transport_type | html %]" data-lang="[% lang | html %]"><i class="fa-solid fa-eye"></i> Preview</a>
648 </fieldset> <!-- /.rows.mtt -->
649 </div> <!-- /.panel-body -->
650 </div> <!-- /.panel-collapse -->
651 </div> <!-- /.panel.panel-default -->
653 </div> <!-- /.panel-group#lang_lang -->
656 [% MACRO jsinclude BLOCK %]
657 [% Asset.js("js/tools-menu.js") | $raw %]
658 [% INCLUDE 'datatables.inc' %]
659 [% INCLUDE 'columns_settings.inc' %]
660 [% Asset.js("lib/hc-sticky.js") | $raw %]
661 [% Asset.js("lib/jquery/plugins/jquery.insertatcaret.js") | $raw %]
663 var no_op_set = '[% no_op_set | html %]';
664 var interface = '[% interface | html %]';
665 var theme = '[% theme | html %]';
666 var add_form = '[% add_form | html %]';
667 var copy_form = '[% copy_form | html %]';
668 var code = '[% code | html %]';
669 var new_lettercode = '[% new_lettercode | html %]';
670 var new_branchcode = '[% new_branchcode | html %]';
671 var table_settings = [% TablesSettings.GetTableSettings( 'tools', 'notices', 'lettert', 'json' ) | $raw %];
673 [% Asset.js("js/letter.js") | $raw %]
676 [% INCLUDE 'intranet-bottom.inc' %]