62 lines
3 KiB
Cheetah
62 lines
3 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- System Administration: Issuing Rules<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
<!-- TMPL_INCLUDE NAME="masthead.inc" -->
|
|
<!-- TMPL_INCLUDE NAME="admin-topmenu.inc" -->
|
|
<!-- TMPL_INCLUDE NAME="intranet-nav.inc" -->
|
|
|
|
<div id="main">
|
|
<h1>Defining <!-- TMPL_IF NAME="branch" -->issuing rules for <!-- TMPL_VAR NAME="branch" --><!-- TMPL_ELSE -->default issuing rules<!-- /TMPL_IF --></h1>
|
|
<div class="help">
|
|
<h3>HINT for issues</h3>
|
|
<p>Each box needs to be filled in with issuelength,maxissues</p>
|
|
<p>eq <span class="ex">21,5</span> enables 5 issues for 21 days</p>
|
|
</div>
|
|
<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 <span class="ex">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>everywhere</li>
|
|
<li>If nothing is set, default is 21,5 (hardcoded)</li>
|
|
</ul>
|
|
</div>
|
|
<form method="post" action="/cgi-bin/koha/admin/issuingrules.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" class="submit" />
|
|
</form>
|
|
<form method="post" action="/cgi-bin/koha/admin/issuingrules.pl">
|
|
<input type="hidden" name="op" value="save" />
|
|
<div class="data">
|
|
<table>
|
|
<caption>Defining issuing rules for <!-- TMPL_VAR NAME="branch" --></caption>
|
|
<tr>
|
|
<th> </th><!-- TMPL_LOOP NAME="title" --><th scope="col"><!-- TMPL_VAR NAME="in_title" --><br/>Issue / fine</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="issuingname" -->" value="<!-- TMPL_VAR NAME="issuingvalue" -->" size="6" maxlength="10" /> /
|
|
<input name="<!-- TMPL_VAR NAME="finesname" -->" value="<!-- TMPL_VAR NAME="finesvalue" -->" size="6" maxlength="10" />
|
|
</td>
|
|
<!-- /TMPL_LOOP -->
|
|
</tr>
|
|
<!-- /TMPL_LOOP -->
|
|
</table>
|
|
</div>
|
|
<input type="submit" value="Save Changes" class="submit" />
|
|
</form>
|
|
</div>
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|