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 library, same patron type, same item type</li>
39 <li>same library, same patron type, default item type</li>
40 <li>same library, default patron type, same item type</li>
41 <li>same library, default patron type, default item type</li>
42 <li>default library, same patron type, same item type</li>
43 <li>default library, same patron type, default item type</li>
44 <li>default library, default patron type, same item type</li>
45 <li>default library, default patron type, default item type</li>
47 <p>To modify a rule, create a new one with the same patron type and item type.</p>
50 <form method="get" action="/cgi-bin/koha/admin/smart-rules.pl" id="selectlibrary">
52 <select name="branch" id="branch" style="width:20em;">
53 <option value="*">Default</option>
54 <!-- TMPL_LOOP NAME="branchloop" -->
55 <!-- 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 -->
59 <!-- TMPL_IF Name="definedbranch" --><form action="/cgi-bin/koha/admin/clone-rules.pl" method="post"><input type="hidden" name="frombranch" value="<!-- TMPL_VAR NAME="branch" -->" /><input type="submit" value="Clone these rules" /></form><!-- /TMPL_IF -->
62 <form method="post" action="/cgi-bin/koha/admin/smart-rules.pl">
63 <input type="hidden" name="op" value="add" />
66 <th>Patron Category</th>
70 <th>Fine Grace Period</th>
71 <th>Fine Charging Interval</th>
72 <th>Current Checkouts Allowed</th>
73 <th>Renewals Allowed</th>
74 <th>Reserves Allowed</th>
75 <th>Loan Period</th><th> </th>
77 <!-- TMPL_LOOP NAME="rules" -->
78 <!-- TMPL_UNLESS NAME="__odd__" -->
79 <tr class="highlight">
83 <td><!-- TMPL_IF NAME="default_humancategorycode" -->
86 <!-- TMPL_VAR NAME="humancategorycode" -->
89 <td><!-- TMPL_IF NAME="default_humanitemtype" -->
92 <!-- TMPL_VAR NAME="humanitemtype" -->
95 <td><!-- TMPL_VAR NAME="fine" --></td>
97 <!-- TMPL_IF NAME="finedays" -->
98 <!-- TMPL_VAR NAME="finedays" --> day(s)
101 <td><!-- TMPL_IF NAME="firstremind" --><!-- TMPL_VAR NAME="firstremind" --> day(s)<!-- /TMPL_IF --></td>
102 <td><!-- TMPL_IF NAME="chargeperiod" --><!-- TMPL_VAR NAME="chargeperiod" --> day(s)<!-- /TMPL_IF --></td>
103 <td><!-- TMPL_IF NAME="unlimited_maxissueqty" -->
106 <!-- TMPL_VAR NAME="maxissueqty" -->
109 <td><!-- TMPL_IF NAME="renewalsallowed" --><!-- TMPL_VAR NAME="renewalsallowed" --> time(s)<!-- /TMPL_IF --></td>
110 <td><!-- TMPL_IF NAME="reservesallowed" --><!-- TMPL_VAR NAME="reservesallowed" --> time(s)<!-- /TMPL_IF --></td>
111 <td><!-- TMPL_IF NAME="issuelength" --><!-- TMPL_VAR NAME="issuelength" --> day(s)<!-- /TMPL_IF --></td>
113 <a class="button" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete&itemtype=<!-- TMPL_VAR NAME="itemtype" -->&categorycode=<!-- TMPL_VAR NAME="categorycode" -->&branch=<!-- TMPL_VAR NAME="branch" -->">Delete</a>
119 <select name="categorycode">
120 <option value="*">Default</option>
121 <!-- TMPL_LOOP NAME="categoryloop" -->
122 <option value="<!-- TMPL_VAR NAME="categorycode" -->"><!-- TMPL_VAR NAME="description" --></option>
127 <select name="itemtype" style="width:13em;">
128 <option value="*">Default</option>
129 <!-- TMPL_LOOP NAME="itemtypeloop" -->
130 <option value="<!-- TMPL_VAR NAME="itemtype" -->"><!-- TMPL_VAR NAME="description" --></option>
134 <td><input name="fine" size="4" /></td>
135 <td><input name="firstremind" size="2" /> day(s)</td>
136 <td><input name="chargeperiod" size="2" /> day(s)</td>
137 <td><input name="maxissueqty" size="3" /></td>
138 <td><input name="issuelength" size="3" /> day(s)</td>
139 <td><input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->"/><input type="submit" value="Add" class="submit" /></td>
145 <h4>Defaults for this library</h4>
146 <p>You can set a default maximum number of checkouts and hold policy that will be used if none is defined below for a particular item type or category.</p>
149 <form method="post" action="/cgi-bin/koha/admin/smart-rules.pl">
150 <input type="hidden" name="op" value="set-branch-defaults" />
151 <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->"/>
155 <th>Total Current Checkouts Allowed</th>
160 <td><em>Defaults<!-- TMPL_UNLESS NAME="default_rules" --> (not set)<!-- /TMPL_IF --></em></td>
161 <td><input name="maxissueqty" size="3" value="<!-- TMPL_VAR NAME="default_maxissueqty" -->"/></td>
163 <select name="holdallowed">
164 <!-- TMPL_IF NAME="default_holdallowed_any" -->
165 <option value="2" selected="selected">
171 <!-- TMPL_IF NAME="default_holdallowed_same" -->
172 <option value="1" selected="selected">
178 <!-- TMPL_IF NAME="default_holdallowed_none" -->
179 <option value="0" selected="selected">
187 <td><input type="submit" value="Save" class="submit" /></td>
189 <a class="button" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete-branch-cat&categorycode=*&branch=<!-- TMPL_VAR NAME="branch" -->">Unset</a>
195 <!-- TMPL_IF NAME="show_branch_cat_rule_form" -->
197 <p>For this library, you can specify the maximum number of loans that
198 a patron of a given category can make, regardless of the item type.
200 <p>If the total amount loanable for a given patron category is left blank,
201 no limit applies, except possibly for a limit you define for a specific item type.
205 <form method="post" action="/cgi-bin/koha/admin/smart-rules.pl">
206 <input type="hidden" name="op" value="add-branch-cat" />
207 <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->"/>
210 <th>Patron Category</th>
211 <th>Total Current Checkouts Allowed</th>
214 <!-- TMPL_LOOP NAME="branch_cat_rule_loop" -->
215 <!-- TMPL_UNLESS NAME="__odd__" -->
216 <tr class="highlight">
219 <!-- /TMPL_UNLESS -->
220 <td><!-- TMPL_IF NAME="default_humancategorycode" -->
223 <!-- TMPL_VAR NAME="humancategorycode" -->
226 <td><!-- TMPL_IF NAME="unlimited_maxissueqty" -->
229 <!-- TMPL_VAR NAME="maxissueqty" -->
233 <a class="button" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete-branch-cat&categorycode=<!-- TMPL_VAR NAME="categorycode" -->&branch=<!-- TMPL_VAR NAME="branch" -->">Delete</a>
239 <select name="categorycode">
240 <!-- TMPL_LOOP NAME="categoryloop" -->
241 <option value="<!-- TMPL_VAR NAME="categorycode" -->"><!-- TMPL_VAR NAME="description" --></option>
245 <td><input name="maxissueqty" size="3" /></td>
246 <td><input type="submit" value="Add" class="submit" /></td>
254 For this library, you can edit rules for given itemtypes, regardless
255 of the patron's category.
258 Currently, this means hold policies.
259 The various policies have the following effects:
262 <li><strong>From Any Library:</strong> Patrons from any library may put this item on hold. <cite>(default if none is defined)</cite></li>
263 <li><strong>From Home Library:</strong> Only patrons from the item's home library may put this book on hold.</li>
264 <li><strong>No Holds Allowed:</strong> No patron may put this book on hold.</li>
267 Note that if the system preference
268 <code>AllowHoldPolicyOverride</code> is enabled, these policies can
269 be overridden by your circulation staff. Also, these policies are
270 based on the patron's home branch, <em>not</em> the branch that
271 the reserving staff member is from.
275 <form method="post" action="/cgi-bin/koha/admin/smart-rules.pl">
276 <input type="hidden" name="op" value="add-branch-item" />
277 <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->"/>
284 <!-- TMPL_LOOP NAME="branch_item_rule_loop" -->
285 <!-- TMPL_UNLESS NAME="__odd__" -->
286 <tr class="highlight">
289 <!-- /TMPL_UNLESS -->
290 <td><!-- TMPL_IF NAME="default_humanitemtype" -->
293 <!-- TMPL_VAR NAME="humanitemtype" -->
296 <td><!-- TMPL_IF NAME="holdallowed_any" -->
298 <!-- TMPL_ELSIF NAME="holdallowed_same" -->
305 <a class="button" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete-branch-item&itemtype=<!-- TMPL_VAR NAME="itemtype" -->&branch=<!-- TMPL_VAR NAME="branch" -->">Delete</a>
311 <select name="itemtype">
312 <!-- TMPL_LOOP NAME="itemtypeloop" -->
313 <option value="<!-- TMPL_VAR NAME="itemtype" -->"><!-- TMPL_VAR NAME="description" --></option>
318 <select name="holdallowed">
319 <option value="2">From Any Library</option>
320 <option value="1">From Home Library</option>
321 <option value="0">No Holds Allowed</option>
324 <td><input type="submit" value="Add" class="submit" /></td>
333 <!-- TMPL_INCLUDE NAME="admin-menu.inc" -->
336 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->