Koha/koha-tmpl/intranet-tmpl/prog/en/admin/issuingrules.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

58 lines
2.4 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" -->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 21,5</span> enables 5 issues for 21 days</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" />
</form>
<form method="post" action="/cgi-bin/koha/admin/issuingrules.pl">
<input type="hidden" name="op" value="save" />
<input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
<table>
<caption>Defining issuing 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="issuingname" -->" value="<!-- TMPL_VAR NAME="issuingvalue" -->" size="6" maxlength="10" />
</td>
<!-- /TMPL_LOOP -->
</tr>
<!-- /TMPL_LOOP -->
</table>
<input type="submit" value="Save Changes" />
</form>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->