minor template changes
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / tools / overduerules.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Tools &rsaquo; Overdue Rules</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4
5 <!-- TMPL_INCLUDE NAME="menus.inc" -->
6 <!-- TMPL_INCLUDE NAME="menu-tools.inc" -->
7
8         <h1>Defining <!-- TMPL_IF NAME="branch" -->overdue actions for <!-- TMPL_VAR NAME="branch" --><!-- TMPL_ELSE -->default overdue actions<!-- /TMPL_IF --></h1>
9         <div class="help">
10                 <p>Delay is the number of days after an issue is due before an action is triggered. </p>
11                 <p>If you want Koha to trigger an action (send a letter or debar member), delay is needed.</p>
12                 <p>Columns must be filled left to right: if the first column is blank, other columns will be ignored. </p>
13         </div>
14                 <form method="post" action="/cgi-bin/koha/tools/overduerules.pl">
15                 <label for="branch">Select a branch :</label>
16                         <select id="branch" name="branch">
17                                 <option value="">Default</option>
18                         <!-- TMPL_LOOP NAME="branchloop" -->
19                                 <option value="<!-- TMPL_VAR NAME="value" -->"<!-- TMPL_IF NAME="selected" --> selected="selected"<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="branchname" --></option><!-- /TMPL_LOOP --></select>
20                         <input type="submit" value="Select" />
21                 </form>
22                 <!--TMPL_IF Name="ERROR"-->
23                 <div class="error">
24                 <h3>Data error</h3>
25                         <p>The following fields have a forbidden value. Correct them and press OK again :</p><ul>
26                         <!-- TMPL_IF NAME="ERRORDELAY" -->
27                                 <li>Delay <!--TMPL_VAR Name="ERRORDELAY"--> for <!--TMPL_VAR Name="bor"--> borrower category has some unexpected characters. There should be only numerical characters. </li>
28                         <!-- /TMPL_IF -->
29                         <!-- TMPL_IF NAME="ERRORORDER" -->
30                                 <li>Delay1 should be less than Delay2 which should be less than Delay3 for <!--TMPL_VAR Name="bor"--> borrower category </li>
31                 <!-- /TMPL_IF -->
32                         </ul></div>
33                 <!--/TMPL_IF -->
34                 <form method="post" action="/cgi-bin/koha/tools/overduerules.pl">
35                         <input type="hidden" name="op" value="save" />
36                         
37                         <table>
38                         <caption>Rules for overdue actions: <!--TMPL_IF Name="branch"--><!-- TMPL_VAR NAME="branch" --><!--TMPL_ELSE--> default branch <!--/TMPL_IF-->          <!--TMPL_IF Name="datasaved"-->
39                 <br /><h3 align="center">INPUT SAVED</h3>
40                 <!--/TMPL_IF -->
41                         </caption>
42                         <tr>
43                                 <th>&nbsp;</th><th colspan="3" scope="col">First</th><th colspan="3" scope="col">Second</th><th colspan="3" scope="col">Third</th>
44                         </tr>
45                         <tr>
46                                 <th>&nbsp;</th><th scope="col">Delay</th><th scope="col">Letter</th><th scope="col">Debar</th><th scope="col">Delay</th><th scope="col">Letter</th><th scope="col">Debar</th><th scope="col">Delay</th><th scope="col">Letter</th><th scope="col">Debar</th>
47                         </tr>
48                         <!-- TMPL_LOOP NAME="table" -->
49                                 <tr>
50                                         <th><!-- TMPL_VAR NAME="line" --></th>
51                                         <td<!-- TMPL_IF NAME="toggle" --> class="highlight"<!-- /TMPL_IF -->>
52                                                 <input name="delay1-<!-- TMPL_VAR NAME="overduename" -->" size="5" value="<!-- TMPL_VAR NAME="delay1" -->" />
53                                         </td>
54                                         <td<!-- TMPL_IF NAME="toggle" --> class="highlight"<!-- /TMPL_IF -->>
55                                                 <!--TMPL_IF Name="noletter" --><input type="text" name="letter1-<!-- TMPL_VAR NAME="overduename" -->" value="<!--TMPL_VAR Name="letter1"-->"/>
56                                                 <!--TMPL_ELSE -->
57                                                         <select name="letter1-<!-- TMPL_VAR NAME="overduename" -->">
58                                                                 <option value="">Default</option>
59                                                                 <!-- TMPL_LOOP name="letterloop1" -->
60                                                                         <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="lettername" --></option>
61                                                                 <!-- /TMPL_LOOP -->
62                                                         </select>
63                                                 <!--/TMPL_IF -->
64                                         </td>
65                                         <td<!-- TMPL_IF NAME="toggle" --> class="highlight"<!-- /TMPL_IF -->>
66                                                 <input type="checkbox" name="debarred1-<!-- TMPL_VAR NAME="overduename" -->" <!-- TMPL_IF NAME="debarred1" -->checked<!-- /TMPL_IF --> value="1" />
67                                         </td>
68                                         <td<!-- TMPL_IF NAME="toggle" --> class="highlight"<!-- /TMPL_IF -->>
69                                                 <input name="delay2-<!-- TMPL_VAR NAME="overduename" -->" size="5" value="<!-- TMPL_VAR NAME="delay2" -->" />
70                                         </td>
71                                         <td<!-- TMPL_IF NAME="toggle" --> class="highlight"<!-- /TMPL_IF -->>
72                                                 <!--TMPL_IF Name="noletter" --><input type="text" name="letter2-<!-- TMPL_VAR NAME="overduename" -->" value="<!--TMPL_VAR Name="letter2"-->"/>
73                                                 <!--TMPL_ELSE -->
74                                                         <select name="letter2-<!-- TMPL_VAR NAME="overduename" -->">
75                                                                 <option value="">Default</option>
76                                                                 <!-- TMPL_LOOP name="letterloop2" -->
77                                                                         <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="lettername" --></option>
78                                                                 <!-- /TMPL_LOOP -->
79                                                         </select>
80                                                 <!--/TMPL_IF -->
81                                         </td>
82                                         <td<!-- TMPL_IF NAME="toggle" --> class="highlight"<!-- /TMPL_IF -->>
83                                                 <input type="checkbox" name="debarred2-<!-- TMPL_VAR NAME="overduename" -->" <!-- TMPL_IF NAME="debarred2" -->checked<!-- /TMPL_IF --> value="1" />
84                                         </td>
85                                         <td<!-- TMPL_IF NAME="toggle" --> class="highlight"<!-- /TMPL_IF -->>
86                                                 <input name="delay3-<!-- TMPL_VAR NAME="overduename" -->" size="5" value="<!-- TMPL_VAR NAME="delay3" -->" />
87                                         </td>
88                                         <td<!-- TMPL_IF NAME="toggle" --> class="highlight"<!-- /TMPL_IF -->>
89                                                 <!--TMPL_IF Name="noletter" --><input type="text" name="letter3-<!-- TMPL_VAR NAME="overduename" -->" value="<!--TMPL_VAR Name="letter3"-->"/>
90                                                 <!--TMPL_ELSE -->
91                                                         <select name="letter3-<!-- TMPL_VAR NAME="overduename" -->">
92                                                                 <option value="">Default</option>
93                                                                 <!-- TMPL_LOOP name="letterloop3" -->
94                                                                         <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="lettername" --></option>
95                                                                 <!-- /TMPL_LOOP -->
96                                                         </select>
97                                                 <!--/TMPL_IF -->
98                                         </td>
99                                         <td<!-- TMPL_IF NAME="toggle" --> class="highlight"<!-- /TMPL_IF -->>
100                                                 <input type="checkbox" name="debarred3-<!-- TMPL_VAR NAME="overduename" -->" <!-- TMPL_IF NAME="debarred3" -->checked<!-- /TMPL_IF --> value="1" />
101                                         </td>
102                                 </tr>
103                         <!-- /TMPL_LOOP -->
104                         </table>
105                         
106                         <input type="submit" value="Save Changes" />
107                 </form>
108
109 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->