Koha/koha-tmpl/intranet-tmpl/prog/en/admin/finesrules.tmpl
hdl fccd02e67b Adding Finerules script.
It tears issuingrules script into two.
+ Fixing save button that would bring back to default branch.
2007-04-16 16:54:33 +00:00

60 lines
2.7 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; System Administration &rsaquo; Issuing Rules</title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<!-- TMPL_INCLUDE NAME="menus.inc" -->
<!-- TMPL_INCLUDE NAME="menu-admin.inc" -->
<h1>Defining <!-- TMPL_IF NAME="branch" -->fining rules for <!-- TMPL_VAR NAME="branch" --><!-- TMPL_ELSE -->default fining rules<!-- /TMPL_IF --></h1>
<div class="help">
<h3>HINT for fines</h3>
<p>Each box needs to be filled in with fine,time to start charging,charging cycle</p>
<p>eg 1,7,7</span> = 1 [USD,EUR,etc] fine after 7 days, every 7 days</p>
<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>
</div>
<div class="help">
<h3>Default values</h3>
<p> If a cell is not filled, the 1st of the following value is searched :</p>
<ul>
<li>same branch and same borrower category, itemtype *</li>
<li>same branch and same itemtype, borrower category *</li>
<li>same itemtype and borrower category, branch *</li>
<li>branch * and itemtype *, same borrower category</li>
<li>branch * and borrower category *, same itemtype </li>
<li>branch * and borrower category *, itemtype *</li>
</ul>
<form method="post" action="/cgi-bin/koha/admin/finesrules.pl">
<label for="branch">Select a branch :</label>
<select id="branch" name="branch">
<option value="">Default</option>
<!-- TMPL_LOOP NAME="branchloop" -->
<option value="<!-- TMPL_VAR NAME="value" -->"<!-- TMPL_IF NAME="selected" --> selected="selected"<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="branchname" --></option><!-- /TMPL_LOOP --></select>
<input type="submit" value="Select" />
</form>
<form method="post" action="/cgi-bin/koha/admin/finesrules.pl">
<input type="hidden" name="op" value="save" />
<input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
<table>
<caption>Defining fines rules for <!-- TMPL_VAR NAME="branch" --></caption>
<tr>
<th>&nbsp;</th><!-- TMPL_LOOP NAME="title" --><th scope="col"><!-- TMPL_VAR NAME="in_title" --></th><!-- /TMPL_LOOP -->
</tr>
<!-- TMPL_LOOP NAME="row" -->
<tr>
<th><!-- TMPL_VAR NAME="categorycode" --></th>
<!-- TMPL_LOOP NAME="cell" -->
<td<!-- TMPL_IF NAME="toggle" --> class="highlight"<!-- /TMPL_IF -->>
<input name="<!-- TMPL_VAR NAME="finesname" -->" value="<!-- TMPL_VAR NAME="finesvalue" -->" size="6" maxlength="10" />
</td>
<!-- /TMPL_LOOP -->
</tr>
<!-- /TMPL_LOOP -->
</table>
<input type="submit" value="Save Changes" />
</form>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->