Fixing a bug that occured if Koha wasnt installed, but a cookie was set in the browser
[koha_ffzg] / koha-tmpl / intranet-tmpl / prog / en / admin / finesrules.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; System Administration &rsaquo; Issuing Rules</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4
5 <!-- TMPL_INCLUDE NAME="menus.inc" -->
6 <!-- TMPL_INCLUDE NAME="menu-admin.inc" -->
7
8         <h1>Defining <!-- TMPL_IF NAME="branch" -->fining rules for <!-- TMPL_VAR NAME="branch" --><!-- TMPL_ELSE -->default fining rules<!-- /TMPL_IF --></h1>
9                 
10         <div class="help">
11                 <h3>HINT for fines</h3>
12                 <p>Each box needs to be filled in with fine,time to start charging,charging cycle</p>
13                 <p>eg 1,7,7</span> = 1 [USD,EUR,etc] fine after 7 days, every 7 days</p>
14                 <p>Fines are calculated by the fines2.pl script, located in misc directory.  Ask your administrator to put this script in crontab, after midnight, to have fines calculated every night</p>
15         </div>
16         <div class="help">
17                 <h3>Default values</h3>
18                 <p> If a cell is not filled, the 1st of the following value is searched :</p>
19                 <ul>
20                         <li>same library and same patron category, itemtype *</li>
21                         <li>same patron and same itemtype, patron category *</li>
22                         <li>same itemtype and patron category, library *</li>
23                         <li>library * and itemtype *, same patron category</li>
24                         <li>library * and patron category *, same itemtype </li>
25                         <li>library * and patron category *, itemtype *</li>
26                 </ul>
27         
28                 <form method="post" action="/cgi-bin/koha/admin/finesrules.pl">
29                 <label for="branch">Select a library :</label>
30                         <select id="branch" name="branch">
31                                 <option value="">Default</option>
32                         <!-- TMPL_LOOP NAME="branchloop" -->
33                                 <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="branchname" --></option>
34                                 <!-- TMPL_ELSE -->
35                                 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branchname" --></option>
36                                 <!-- /TMPL_IF -->
37                         <!-- /TMPL_LOOP -->
38                         </select>
39                         <input type="submit" value="Select" />
40                 </form>
41                 <form method="post" action="/cgi-bin/koha/admin/finesrules.pl">
42                         <input type="hidden" name="op" value="save" />
43                         <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
44                         
45                         <table>
46                         <caption>Defining fines rules for <!-- TMPL_VAR NAME="branch" --></caption>
47                         <tr>
48                                 <th>&nbsp;</th><!-- TMPL_LOOP NAME="title" --><th scope="col"><!-- TMPL_VAR NAME="in_title" --></th><!-- /TMPL_LOOP -->
49                         </tr>
50                         <!-- TMPL_LOOP NAME="row" -->
51                                 <tr>
52                                         <th><!-- TMPL_VAR NAME="categorycode" --></th>
53                                         <!-- TMPL_LOOP NAME="cell" -->
54                                                 <!-- TMPL_IF NAME="toggle" -->
55    <td class="highlight">
56 <!-- TMPL_ELSE -->
57    <td>
58 <!-- /TMPL_IF -->
59                                                         <input name="<!-- TMPL_VAR NAME="finesname" -->" value="<!-- TMPL_VAR NAME="finesvalue" -->" size="6" maxlength="10" />
60                                                 </td>
61                                         <!-- /TMPL_LOOP -->
62                                 </tr>
63                         <!-- /TMPL_LOOP -->
64                         </table>
65                         
66                         <input type="submit" value="Save Changes" />
67                 </form>
68
69 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->