added missing admin menu to two templates
[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         <p>The rules are applied from most specific to less specific, the 1st who is filled :</p>
25         <ul>
26             <li>same branch, same category</li>
27             <li>same branch, default category</li>
28             <li>default branch, same category</li>
29             <li>default branch, default category</li>
30         </ul>
31     </div>
32         <form method="post" action="/cgi-bin/koha/admin/finesrules.pl">
33         <label for="branch">Select a library :</label>
34             <select id="branch" name="branch">
35                 <option value="">Default</option>
36                 <!-- TMPL_LOOP NAME="branchloop" -->
37                     <!-- TMPL_IF NAME="selected" -->
38                         <option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="branchname" --></option>
39                     <!-- TMPL_ELSE -->
40                         <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branchname" --></option>
41                     <!-- /TMPL_IF -->
42                 <!-- /TMPL_LOOP -->
43             </select>
44             <input type="submit" value="Select" />
45         </form>
46         <form method="post" action="/cgi-bin/koha/admin/finesrules.pl">
47             <input type="hidden" name="op" value="save" />
48             <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
49             
50             <table>
51             <caption>Defining fines rules for <!-- TMPL_VAR NAME="branch" --></caption>
52             <tr>
53                 <th>&nbsp;</th><!-- TMPL_LOOP NAME="title" --><th scope="col"><!-- TMPL_IF EXPR="in_title eq '*'" -->Default<!-- TMPL_ELSE --><!-- TMPL_VAR NAME="in_title" --><!-- /TMPL_IF --></th><!-- /TMPL_LOOP -->
54             </tr>
55             <!-- TMPL_LOOP NAME="row" -->
56                 <tr>
57                     <th scope="row"><!-- TMPL_IF name="total" -->Total <!-- TMPL_ELSE --><!-- TMPL_VAR NAME="categorycode" --><!-- /TMPL_IF --></th>
58                     <!-- TMPL_LOOP NAME="cell" -->
59                         <!-- TMPL_IF NAME="toggle" -->
60                             <td class="highlight">
61                         <!-- TMPL_ELSE -->
62                             <td>
63                         <!-- /TMPL_IF -->
64                             <input name="<!-- TMPL_VAR NAME="finesname" -->" value="<!-- TMPL_VAR NAME="finesvalue" -->" size="6" maxlength="10" />
65                         </td>
66                     <!-- /TMPL_LOOP -->
67                 </tr>
68             <!-- /TMPL_LOOP -->
69         </table>
70         <fieldset class="action"><input type="submit" value="Save Changes" /> <a class="cancel" href="/cgi-bin/koha/admin/admin-home.pl">Cancel</a></fieldset>
71     </form>
72
73 </div>
74 </div>
75 <div class="yui-b">
76 <!-- TMPL_INCLUDE NAME="admin-menu.inc" -->
77 </div>
78 </div>
79 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->