changing nomenclature of notice/status triggers feature
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / tools / overduerules.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Tools &rsaquo; Notice Triggers</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 </head>
5 <body>
6 <!-- TMPL_INCLUDE NAME="header.inc" -->
7 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
8
9 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/reports/tools-home.pl">Tools</a> &rsaquo; Notice Triggers</div>
10
11 <div id="doc3" class="yui-t2">
12    
13    <div id="bd">
14         <div id="yui-main">
15         <div class="yui-b">
16
17         <h1>Defining <!-- TMPL_IF NAME="branch" -->overdue notice triggers for <!-- TMPL_VAR NAME="branch" --><!-- TMPL_ELSE -->default overdue notice trigers<!-- /TMPL_IF --></h1>
18         <div class="help">
19                 <p>Define up to three notices below. Specify the 'Delay' (days after item is overdue), a Notice to send, and whether to change the
20                 status of the patron to 'Debarred'</p>
21                 <p>Note: you must specify the delay or the entry will be ignored. Delay is measured in days</p>
22         </div>
23                 <form method="post" action="/cgi-bin/koha/tools/overduerules.pl">
24                 <label for="branch">Select a library :</label>
25                         <select id="branch" name="branch">
26                                 <option value="">Default</option>
27                         <!-- TMPL_LOOP NAME="branchloop" -->
28                                 <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="branchname" --></option>
29                                 <!-- TMPL_ELSE -->
30                                 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branchname" --></option>
31                                 <!-- /TMPL_IF --><!-- /TMPL_LOOP --></select>
32                         <input type="submit" value="Select" />
33                 </form>
34                 <!--TMPL_IF Name="ERROR"-->
35                 <div class="error">
36                 <h3>Data error</h3>
37                         <p>The following fields have a forbidden value. Correct them and press OK again :</p><ul>
38                         <!-- TMPL_IF NAME="ERRORDELAY" -->
39                                 <li>Delay <!--TMPL_VAR Name="ERRORDELAY"--> for <!--TMPL_VAR Name="bor"--> patron category has some unexpected characters. There should be only numerical characters. </li>
40                         <!-- /TMPL_IF -->
41                         <!-- TMPL_IF NAME="ERRORORDER" -->
42                                 <li>Delay1 should be less than Delay2 which should be less than Delay3 for <!--TMPL_VAR Name="bor"--> patron category </li>
43                 <!-- /TMPL_IF -->
44                         </ul></div>
45                 <!--/TMPL_IF -->
46                 <form method="post" action="/cgi-bin/koha/tools/overduerules.pl">
47                         <input type="hidden" name="op" value="save" />
48                         
49                         <table>
50                         <caption>Notice triggers for overdues: <!--TMPL_IF Name="branch"--><!-- TMPL_VAR NAME="branch" --><!--TMPL_ELSE--> default library <!--/TMPL_IF-->              <!--TMPL_IF Name="datasaved"-->
51                 <br /><h3 align="center">INPUT SAVED</h3>
52                 <!--/TMPL_IF -->
53                         </caption>
54                         <tr>
55                                 <th>&nbsp;</th><th colspan="3" scope="col">First</th><th colspan="3" scope="col">Second</th><th colspan="3" scope="col">Third</th>
56                         </tr>
57                         <tr>
58                                 <th>&nbsp;</th><th scope="col">Delay</th><th scope="col">Notice</th><th scope="col">Debar</th><th scope="col">Delay</th><th scope="col">Notice</th><th scope="col">Debar</th><th scope="col">Delay</th><th scope="col">Notice</th><th scope="col">Debar</th>
59                         </tr>
60                         <!-- TMPL_LOOP NAME="table" -->
61                                 <tr>
62                                         <th><!-- TMPL_VAR NAME="line" --></th>
63                                         <!-- TMPL_IF NAME="toggle" -->
64    <td class="highlight">
65 <!-- TMPL_ELSE -->
66    <td>
67 <!-- /TMPL_IF -->
68                                                 <input name="delay1-<!-- TMPL_VAR NAME="overduename" -->" size="5" value="<!-- TMPL_VAR NAME="delay1" -->" />
69                                         </td>
70                                         <!-- TMPL_IF NAME="toggle" -->
71    <td class="highlight">
72 <!-- TMPL_ELSE -->
73    <td>
74 <!-- /TMPL_IF -->
75                                                 <!--TMPL_IF Name="noletter" --><input type="text" name="letter1-<!-- TMPL_VAR NAME="overduename" -->" value="<!--TMPL_VAR Name="letter1"-->" />
76                                                 <!--TMPL_ELSE -->
77                                                         <select name="letter1-<!-- TMPL_VAR NAME="overduename" -->">
78                                                                 <option value="">Default</option>
79                                                                 <!-- TMPL_LOOP name="letterloop1" -->
80                                                                         <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="lettername" --></option>
81                                 <!-- TMPL_ELSE -->
82                                 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="lettername" --></option>
83                                 <!-- /TMPL_IF -->
84                                                                 <!-- /TMPL_LOOP -->
85                                                         </select>
86                                                 <!--/TMPL_IF -->
87                                         </td>
88                                         <!-- TMPL_IF NAME="toggle" -->
89    <td class="highlight">
90 <!-- TMPL_ELSE -->
91    <td>
92 <!-- /TMPL_IF -->
93                                                 <!-- TMPL_IF NAME="debarred1" --><input type="checkbox" name="debarred1-<!-- TMPL_VAR NAME="overduename" -->" checked="checked" value="1" />
94                                                 <!-- TMPL_ELSE -->
95                                                 <input type="checkbox" name="debarred1-<!-- TMPL_VAR NAME="overduename" -->" value="1" />
96                                                 <!-- /TMPL_IF -->
97                                         </td>
98                                         <!-- TMPL_IF NAME="toggle" -->
99    <td class="highlight">
100 <!-- TMPL_ELSE -->
101    <td>
102 <!-- /TMPL_IF -->
103                                                 <input name="delay2-<!-- TMPL_VAR NAME="overduename" -->" size="5" value="<!-- TMPL_VAR NAME="delay2" -->" />
104                                         </td>
105                                         <!-- TMPL_IF NAME="toggle" -->
106    <td class="highlight">
107 <!-- TMPL_ELSE -->
108    <td>
109 <!-- /TMPL_IF -->
110                                                 <!--TMPL_IF Name="noletter" --><input type="text" name="letter2-<!-- TMPL_VAR NAME="overduename" -->" value="<!--TMPL_VAR Name="letter2"-->" />
111                                                 <!--TMPL_ELSE -->
112                                                         <select name="letter2-<!-- TMPL_VAR NAME="overduename" -->">
113                                                                 <option value="">Default</option>
114                                                                 <!-- TMPL_LOOP name="letterloop2" -->
115                                                                         <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="lettername" --></option>
116                                 <!-- TMPL_ELSE -->
117                                 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="lettername" --></option>
118                                 <!-- /TMPL_IF -->
119                                                                 <!-- /TMPL_LOOP -->
120                                                         </select>
121                                                 <!--/TMPL_IF -->
122                                         </td>
123                                         <!-- TMPL_IF NAME="toggle" -->
124    <td class="highlight">
125 <!-- TMPL_ELSE -->
126    <td>
127 <!-- /TMPL_IF -->
128 <!-- TMPL_IF NAME="debarred2" -->
129                                                 <input type="checkbox" name="debarred2-<!-- TMPL_VAR NAME="overduename" -->" checked="checked" value="1" />
130 <!-- TMPL_ELSE -->
131                                                 <input type="checkbox" name="debarred2-<!-- TMPL_VAR NAME="overduename" -->" value="1" />
132 <!-- /TMPL_IF -->
133                                         </td>
134                                         <!-- TMPL_IF NAME="toggle" -->
135    <td class="highlight">
136 <!-- TMPL_ELSE -->
137    <td>
138 <!-- /TMPL_IF -->
139                                                 <input name="delay3-<!-- TMPL_VAR NAME="overduename" -->" size="5" value="<!-- TMPL_VAR NAME="delay3" -->" />
140                                         </td>
141                                         <!-- TMPL_IF NAME="toggle" -->
142    <td class="highlight">
143 <!-- TMPL_ELSE -->
144    <td>
145 <!-- /TMPL_IF -->
146                                                 <!--TMPL_IF Name="noletter" --><input type="text" name="letter3-<!-- TMPL_VAR NAME="overduename" -->" value="<!--TMPL_VAR Name="letter3"-->" />
147                                                 <!--TMPL_ELSE -->
148                                                         <select name="letter3-<!-- TMPL_VAR NAME="overduename" -->">
149                                                                 <option value="">Default</option>
150                                                                 <!-- TMPL_LOOP name="letterloop3" -->
151                                                                         <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="lettername" --></option>
152                                 <!-- TMPL_ELSE -->
153                                 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="lettername" --></option>
154                                 <!-- /TMPL_IF -->
155                                                                 <!-- /TMPL_LOOP -->
156                                                         </select>
157                                                 <!--/TMPL_IF -->
158                                         </td>
159                                         <!-- TMPL_IF NAME="toggle" -->
160    <td class="highlight">
161 <!-- TMPL_ELSE -->
162    <td>
163 <!-- /TMPL_IF --><!-- TMPL_IF NAME="debarred3" -->
164                                                 <input type="checkbox" name="debarred3-<!-- TMPL_VAR NAME="overduename" -->" checked="checked" value="1" />
165                                                 <!-- TMPL_ELSE -->
166                                                 <input type="checkbox" name="debarred3-<!-- TMPL_VAR NAME="overduename" -->" value="1" /><!-- /TMPL_IF -->
167                                         </td>
168                                 </tr>
169                         <!-- /TMPL_LOOP -->
170                         </table>
171                         
172                         <input type="submit" value="Save Changes" />
173                 </form>
174
175 </div>
176 </div>
177 <div class="yui-b">
178 <!-- TMPL_INCLUDE NAME="tools-menu.inc" -->
179 </div>
180 </div>
181 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->