Refining holds menu display; restructuring forgotton stopwords.tmpl with breadcrumbs...
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / admin / finesrules.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Administration &rsaquo; Fines</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/admin/admin-home.pl">Administration</a> &rsaquo; Fines</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" -->fining rules for <!-- TMPL_VAR NAME="branch" --><!-- TMPL_ELSE -->default fining rules<!-- /TMPL_IF --></h1>
18                 
19         <div class="help">
20                 <h3>HINT for fines</h3>
21                 <p>Each box needs to be filled in with fine,time to start charging,charging cycle</p>
22                 <p>eg 1,7,7 = 1 [USD,EUR,etc] fine after 7 days, every 7 days</p>
23                 <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>
24         </div>
25         <div class="help">
26                 <h3>Default values</h3>
27                 <p> If a cell is not filled, the 1st of the following value is searched :</p>
28                 <ul>
29                         <li>same library and same patron category, itemtype *</li>
30                         <li>same patron and same itemtype, patron category *</li>
31                         <li>same itemtype and patron category, library *</li>
32                         <li>library * and itemtype *, same patron category</li>
33                         <li>library * and patron category *, same itemtype </li>
34                         <li>library * and patron category *, itemtype *</li>
35                 </ul>
36         </div>
37                 <form method="post" action="/cgi-bin/koha/admin/finesrules.pl">
38                 <label for="branch">Select a library :</label>
39                         <select id="branch" name="branch">
40                                 <option value="">Default</option>
41                         <!-- TMPL_LOOP NAME="branchloop" -->
42                                 <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="branchname" --></option>
43                                 <!-- TMPL_ELSE -->
44                                 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branchname" --></option>
45                                 <!-- /TMPL_IF -->
46                         <!-- /TMPL_LOOP -->
47                         </select>
48                         <input type="submit" value="Select" />
49                 </form>
50                 <form method="post" action="/cgi-bin/koha/admin/finesrules.pl">
51                         <input type="hidden" name="op" value="save" />
52                         <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
53                         
54                         <table>
55                         <caption>Defining fines rules for <!-- TMPL_VAR NAME="branch" --></caption>
56                         <tr>
57                                 <th>&nbsp;</th><!-- TMPL_LOOP NAME="title" --><th scope="col"><!-- TMPL_VAR NAME="in_title" --></th><!-- /TMPL_LOOP -->
58                         </tr>
59                         <!-- TMPL_LOOP NAME="row" -->
60                                 <tr>
61                                         <th scope="row"><!-- TMPL_VAR NAME="categorycode" --></th>
62                                         <!-- TMPL_LOOP NAME="cell" -->
63                                                 <!-- TMPL_IF NAME="toggle" -->
64    <td class="highlight">
65 <!-- TMPL_ELSE -->
66    <td>
67 <!-- /TMPL_IF -->
68                                                         <input name="<!-- TMPL_VAR NAME="finesname" -->" value="<!-- TMPL_VAR NAME="finesvalue" -->" size="6" maxlength="10" />
69                                                 </td>
70                                         <!-- /TMPL_LOOP -->
71                                 </tr>
72                         <!-- /TMPL_LOOP -->
73                         </table>
74                         
75                         <input type="submit" value="Save Changes" />
76                 </form>
77
78 </div>
79 </div>
80 <div class="yui-b">
81 <!-- TMPL_INCLUDE NAME="admin-menu.inc" -->
82 </div>
83 </div>
84 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->