|
Lines 69-86
for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde
Link Here
|
| 69 |
<input type="hidden" name="op" value="add" /> |
69 |
<input type="hidden" name="op" value="add" /> |
| 70 |
<table> |
70 |
<table> |
| 71 |
<tr> |
71 |
<tr> |
| 72 |
<th>Patron Category</th> |
72 |
<th>Patron category</th> |
| 73 |
<th>Item Type</th> |
73 |
<th>Item type</th> |
| 74 |
<th>Current Checkouts Allowed</th> |
74 |
<th>Current checkouts allowed</th> |
| 75 |
<th>Loan Period (day)</th> |
75 |
<th>Loan period (day)</th> |
| 76 |
<th>Hard Due Date</th> |
76 |
<th>Hard due date</th> |
| 77 |
<th>Fine Amount</th> |
77 |
<th>Fine amount</th> |
| 78 |
<th>Fine Charging Interval</th> |
78 |
<th>Fine charging interval</th> |
| 79 |
<th>Fine Grace period (day)</th> |
79 |
<th>Fine grace period (day)</th> |
| 80 |
<th>Suspension in Days (day)</th> |
80 |
<th>Suspension in days (day)</th> |
| 81 |
<th>Renewals Allowed (count)</th> |
81 |
<th>Renewals allowed (count)</th> |
| 82 |
<th>Holds Allowed (count)</th> |
82 |
<th>Holds allowed (count)</th> |
| 83 |
<th>Rental Discount (%)</th> |
83 |
<th>Rental discount (%)</th> |
| 84 |
<th> </th> |
84 |
<th> </th> |
| 85 |
</tr> |
85 |
</tr> |
| 86 |
[% FOREACH rule IN rules %] |
86 |
[% FOREACH rule IN rules %] |
|
Lines 182-198
for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde
Link Here
|
| 182 |
</form> |
182 |
</form> |
| 183 |
</div> |
183 |
</div> |
| 184 |
<div id="defaults-for-this-library" class="container"> |
184 |
<div id="defaults-for-this-library" class="container"> |
| 185 |
<h3>Default checkout and hold policy for [% IF ( humanbranch ) %][% humanbranch %][% ELSE %]all libraries[% END %]</h3> |
185 |
<h3>Default checkout, checkin and hold policy for [% IF ( humanbranch ) %][% humanbranch %][% ELSE %]all libraries[% END %]</h3> |
| 186 |
<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> |
186 |
<p>You can set a default maximum number of checkouts, hold policy and checkin policy that will be used if none is defined below for a particular item type or category.</p> |
| 187 |
<form method="post" action="/cgi-bin/koha/admin/smart-rules.pl"> |
187 |
<form method="post" action="/cgi-bin/koha/admin/smart-rules.pl"> |
| 188 |
<input type="hidden" name="op" value="set-branch-defaults" /> |
188 |
<input type="hidden" name="op" value="set-branch-defaults" /> |
| 189 |
<input type="hidden" name="branch" value="[% current_branch %]"/> |
189 |
<input type="hidden" name="branch" value="[% current_branch %]"/> |
| 190 |
<table> |
190 |
<table> |
| 191 |
<tr> |
191 |
<tr> |
| 192 |
<th> </th> |
192 |
<th> </th> |
| 193 |
<th>Total Current Checkouts Allowed</th> |
193 |
<th>Total current checkouts allowed</th> |
| 194 |
<th>Hold Policy</th> |
194 |
<th>Hold policy</th> |
| 195 |
<th>Return Policy</th> |
195 |
<th>Return policy</th> |
| 196 |
<th> </th> |
196 |
<th> </th> |
| 197 |
<th> </th> |
197 |
<th> </th> |
| 198 |
</tr> |
198 |
</tr> |
|
Lines 206-226
for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde
Link Here
|
| 206 |
[% ELSE %] |
206 |
[% ELSE %] |
| 207 |
<option value="2"> |
207 |
<option value="2"> |
| 208 |
[% END %] |
208 |
[% END %] |
| 209 |
From Any Library |
209 |
From any library |
| 210 |
</option> |
210 |
</option> |
| 211 |
[% IF ( default_holdallowed_same ) %] |
211 |
[% IF ( default_holdallowed_same ) %] |
| 212 |
<option value="1" selected="selected"> |
212 |
<option value="1" selected="selected"> |
| 213 |
[% ELSE %] |
213 |
[% ELSE %] |
| 214 |
<option value="1"> |
214 |
<option value="1"> |
| 215 |
[% END %] |
215 |
[% END %] |
| 216 |
From Home Library |
216 |
From home library |
| 217 |
</option> |
217 |
</option> |
| 218 |
[% IF ( default_holdallowed_none ) %] |
218 |
[% IF ( default_holdallowed_none ) %] |
| 219 |
<option value="0" selected="selected"> |
219 |
<option value="0" selected="selected"> |
| 220 |
[% ELSE %] |
220 |
[% ELSE %] |
| 221 |
<option value="0"> |
221 |
<option value="0"> |
| 222 |
[% END %] |
222 |
[% END %] |
| 223 |
No Holds Allowed |
223 |
No holds allowed |
| 224 |
</option> |
224 |
</option> |
| 225 |
</select> |
225 |
</select> |
| 226 |
</td> |
226 |
</td> |
|
Lines 231-251
for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde
Link Here
|
| 231 |
[% ELSE %] |
231 |
[% ELSE %] |
| 232 |
<option value="homebranch"> |
232 |
<option value="homebranch"> |
| 233 |
[% END %] |
233 |
[% END %] |
| 234 |
Item Returns Home |
234 |
Item returns home |
| 235 |
</option> |
235 |
</option> |
| 236 |
[% IF ( default_returnbranch == 'holdingbranch' ) %] |
236 |
[% IF ( default_returnbranch == 'holdingbranch' ) %] |
| 237 |
<option value="holdingbranch" selected="selected"> |
237 |
<option value="holdingbranch" selected="selected"> |
| 238 |
[% ELSE %] |
238 |
[% ELSE %] |
| 239 |
<option value="holdingbranch"> |
239 |
<option value="holdingbranch"> |
| 240 |
[% END %] |
240 |
[% END %] |
| 241 |
Item Returns to Issuing Branch |
241 |
Item returns to issuing branch |
| 242 |
</option> |
242 |
</option> |
| 243 |
[% IF ( default_returnbranch == 'noreturn' ) %] |
243 |
[% IF ( default_returnbranch == 'noreturn' ) %] |
| 244 |
<option value="noreturn" selected="selected"> |
244 |
<option value="noreturn" selected="selected"> |
| 245 |
[% ELSE %] |
245 |
[% ELSE %] |
| 246 |
<option value="noreturn"> |
246 |
<option value="noreturn"> |
| 247 |
[% END %] |
247 |
[% END %] |
| 248 |
Item Floats |
248 |
Item floats |
| 249 |
</option> |
249 |
</option> |
| 250 |
</select> |
250 |
</select> |
| 251 |
</td> |
251 |
</td> |
|
Lines 271-278
for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde
Link Here
|
| 271 |
<input type="hidden" name="branch" value="[% current_branch %]"/> |
271 |
<input type="hidden" name="branch" value="[% current_branch %]"/> |
| 272 |
<table> |
272 |
<table> |
| 273 |
<tr> |
273 |
<tr> |
| 274 |
<th>Patron Category</th> |
274 |
<th>Patron category</th> |
| 275 |
<th>Total Current Checkouts Allowed</th> |
275 |
<th>Total current checkouts allowed</th> |
| 276 |
<th> </th> |
276 |
<th> </th> |
| 277 |
</tr> |
277 |
</tr> |
| 278 |
[% FOREACH branch_cat_rule_loo IN branch_cat_rule_loop %] |
278 |
[% FOREACH branch_cat_rule_loo IN branch_cat_rule_loop %] |
|
Lines 324-332
for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde
Link Here
|
| 324 |
The various policies have the following effects: |
324 |
The various policies have the following effects: |
| 325 |
</p> |
325 |
</p> |
| 326 |
<ul> |
326 |
<ul> |
| 327 |
<li><strong>From Any Library:</strong> Patrons from any library may put this item on hold. <cite>(default if none is defined)</cite></li> |
327 |
<li><strong>From any library:</strong> Patrons from any library may put this item on hold. <cite>(default if none is defined)</cite></li> |
| 328 |
<li><strong>From Home Library:</strong> Only patrons from the item's home library may put this book on hold.</li> |
328 |
<li><strong>From home library:</strong> Only patrons from the item's home library may put this book on hold.</li> |
| 329 |
<li><strong>No Holds Allowed:</strong> No patron may put this book on hold.</li> |
329 |
<li><strong>No holds allowed:</strong> No patron may put this book on hold.</li> |
| 330 |
</ul> |
330 |
</ul> |
| 331 |
<p> |
331 |
<p> |
| 332 |
Note that if the system preference |
332 |
Note that if the system preference |
|
Lines 340-348
for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde
Link Here
|
| 340 |
<input type="hidden" name="branch" value="[% current_branch %]"/> |
340 |
<input type="hidden" name="branch" value="[% current_branch %]"/> |
| 341 |
<table> |
341 |
<table> |
| 342 |
<tr> |
342 |
<tr> |
| 343 |
<th>Item Type</th> |
343 |
<th>Item type</th> |
| 344 |
<th>Hold Policy</th> |
344 |
<th>Hold policy</th> |
| 345 |
<th>Return Policy</th> |
345 |
<th>Return policy</th> |
| 346 |
<th> </th> |
346 |
<th> </th> |
| 347 |
</tr> |
347 |
</tr> |
| 348 |
[% FOREACH branch_item_rule_loo IN branch_item_rule_loop %] |
348 |
[% FOREACH branch_item_rule_loo IN branch_item_rule_loop %] |
|
Lines 358-376
for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde
Link Here
|
| 358 |
[% END %] |
358 |
[% END %] |
| 359 |
</td> |
359 |
</td> |
| 360 |
<td>[% IF ( branch_item_rule_loo.holdallowed_any ) %] |
360 |
<td>[% IF ( branch_item_rule_loo.holdallowed_any ) %] |
| 361 |
From Any Library |
361 |
From any library |
| 362 |
[% ELSIF ( branch_item_rule_loo.holdallowed_same ) %] |
362 |
[% ELSIF ( branch_item_rule_loo.holdallowed_same ) %] |
| 363 |
From Home Library |
363 |
From home library |
| 364 |
[% ELSE %] |
364 |
[% ELSE %] |
| 365 |
No Holds Allowed |
365 |
No holds allowed |
| 366 |
[% END %] |
366 |
[% END %] |
| 367 |
</td> |
367 |
</td> |
| 368 |
<td>[% IF ( branch_item_rule_loo.returnbranch == 'homebranch' ) %] |
368 |
<td>[% IF ( branch_item_rule_loo.returnbranch == 'homebranch' ) %] |
| 369 |
Item Returns Home |
369 |
Item returns home |
| 370 |
[% ELSIF ( branch_item_rule_loo.returnbranch == 'holdingbranch' ) %] |
370 |
[% ELSIF ( branch_item_rule_loo.returnbranch == 'holdingbranch' ) %] |
| 371 |
Item Returns to Issuing Branch |
371 |
Item returns to issuing branch |
| 372 |
[% ELSIF ( branch_item_rule_loo.returnbranch == 'noreturn' ) %] |
372 |
[% ELSIF ( branch_item_rule_loo.returnbranch == 'noreturn' ) %] |
| 373 |
Item Floats |
373 |
Item floats |
| 374 |
[% ELSE %] |
374 |
[% ELSE %] |
| 375 |
Error - unknown option |
375 |
Error - unknown option |
| 376 |
[% END %] |
376 |
[% END %] |
|
Lines 390-405
for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde
Link Here
|
| 390 |
</td> |
390 |
</td> |
| 391 |
<td> |
391 |
<td> |
| 392 |
<select name="holdallowed"> |
392 |
<select name="holdallowed"> |
| 393 |
<option value="2">From Any Library</option> |
393 |
<option value="2">From any library</option> |
| 394 |
<option value="1">From Home Library</option> |
394 |
<option value="1">From home library</option> |
| 395 |
<option value="0">No Holds Allowed</option> |
395 |
<option value="0">No holds allowed</option> |
| 396 |
</select> |
396 |
</select> |
| 397 |
</td> |
397 |
</td> |
| 398 |
<td> |
398 |
<td> |
| 399 |
<select name="returnbranch"> |
399 |
<select name="returnbranch"> |
| 400 |
<option value="homebranch">Item Returns Home</option> |
400 |
<option value="homebranch">Item returns home</option> |
| 401 |
<option value="holdingbranch">Item Returns to Issuing Branch</option> |
401 |
<option value="holdingbranch">Item returns to issuing branch</option> |
| 402 |
<option value="noreturn">Item Floats</option> |
402 |
<option value="noreturn">Item floats</option> |
| 403 |
</select> |
403 |
</select> |
| 404 |
</td> |
404 |
</td> |
| 405 |
<td><input type="submit" value="Add" class="submit" /></td> |
405 |
<td><input type="submit" value="Add" class="submit" /></td> |
| 406 |
- |
|
|