1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Administration › Issuing Rules</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
5 <script type="text/javascript">
7 $(document).ready(function() {
8 $('#selectlibrary').find("input:submit").hide();
9 $('#branch').change(function() {
10 $('#selectlibrary').submit();
18 <!-- TMPL_INCLUDE NAME="header.inc" -->
19 <!-- TMPL_INCLUDE NAME="cat-search.inc" -->
21 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> › Issuing Rules</div>
23 <div id="doc3" class="yui-t1">
28 <h1 class="parameters">
29 <!-- TMPL_IF NAME="humanbranch" -->
30 Defining issuing rules for "<!-- TMPL_VAR NAME="humanbranch" -->"
32 Defining default issuing rules
36 <p>The rules are applied from most specific to less specific, using the first found in this order:</p>
38 <li>same branch, same borrower type, same item type</li>
39 <li>same branch, same borrower type, default item type</li>
40 <li>same branch, default borrower type, same item type</li>
41 <li>default branch, same borrower type, same item type</li>
42 <li>anything else</li>
44 <p>To modify a rule, create a new one with the same borrower type and item type.</p>
47 <form method="get" action="/cgi-bin/koha/admin/smart-rules.pl" id="selectlibrary">
49 <select name="branch" id="branch" style="width:20em;">
50 <option value="">Default</option>
51 <!-- TMPL_LOOP NAME="branchloop" -->
52 <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="branchname" --></option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branchname" --></option><!-- /TMPL_IF -->
58 <form method="post" action="/cgi-bin/koha/admin/smart-rules.pl">
59 <input type="hidden" name="op" value="add" />
62 <th>Item Type</th><th>Borrower Type</th><th>Amount</th><th>Grace<br />Period</th><th>Charging<br />Interval</th><th>Amount<br />Loanable</th><th>Loan time</th><th> </th>
64 <!-- TMPL_LOOP NAME="rules" -->
66 <td><!-- TMPL_VAR NAME="humanitemtype" --></td>
67 <td><!-- TMPL_VAR NAME="humancategorycode" --></td>
68 <td>$<!-- TMPL_VAR NAME="fine" --></td>
69 <td><!-- TMPL_IF NAME="firstremind" --><!-- TMPL_VAR NAME="firstremind" --> day(s)<!-- /TMPL_IF --></td>
70 <td><!-- TMPL_IF NAME="chargeperiod" --><!-- TMPL_VAR NAME="chargeperiod" --> day(s)<!-- /TMPL_IF --></td>
71 <td><!-- TMPL_VAR NAME="maxissueqty" --></td>
72 <td><!-- TMPL_IF NAME="issuelength" --><!-- TMPL_VAR NAME="issuelength" --> day(s)<!-- /TMPL_IF --></td>
74 <a class="button" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete-<!-- TMPL_VAR NAME="itemtype" -->-<!-- TMPL_VAR NAME="categorycode" -->&branch=<!-- TMPL_VAR NAME="branch" -->">Delete</a>
80 <select name="itemtype" style="width:13em;">
81 <!-- TMPL_LOOP NAME="itemtypeloop" -->
82 <option value="<!-- TMPL_VAR NAME="itemtype" -->"><!-- TMPL_VAR NAME="description" --></option>
87 <select name="categorycode">
88 <!-- TMPL_LOOP NAME="categoryloop" -->
89 <option value="<!-- TMPL_VAR NAME="categorycode" -->"><!-- TMPL_VAR NAME="description" --></option>
93 <td>$<input name="fine" size="4" /></td>
94 <td><input name="firstremind" size="2" /> day(s)</td>
95 <td><input name="chargeperiod" size="2" /> day(s)</td>
96 <td><input name="maxissueqty" size="3" /></td>
97 <td><input name="issuelength" size="3" /> day(s)</td>
98 <td><input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->"/><input type="submit" value="Add" class="submit" /></td>
107 <!-- TMPL_INCLUDE NAME="admin-menu.inc" -->
110 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->