|
Lines 648-653
Link Here
|
| 648 |
<p>If the total amount loanable for a given patron category is left blank, |
648 |
<p>If the total amount loanable for a given patron category is left blank, |
| 649 |
no limit applies, except possibly for a limit you define for a specific item type. |
649 |
no limit applies, except possibly for a limit you define for a specific item type. |
| 650 |
</p> |
650 |
</p> |
|
|
651 |
<p> |
| 652 |
<b>Has priority: </b>If checked, the rule will override those for all branches. Else |
| 653 |
it behaves like a default one: used if no rule existe for the coresponding branch. |
| 654 |
</p> |
| 651 |
<form method="post" action="/cgi-bin/koha/admin/smart-rules.pl"> |
655 |
<form method="post" action="/cgi-bin/koha/admin/smart-rules.pl"> |
| 652 |
<input type="hidden" name="op" value="add-branch-cat" /> |
656 |
<input type="hidden" name="op" value="add-branch-cat" /> |
| 653 |
<input type="hidden" name="branch" value="[% current_branch | html %]"/> |
657 |
<input type="hidden" name="branch" value="[% current_branch | html %]"/> |
|
Lines 657-662
Link Here
|
| 657 |
<th>Total current checkouts allowed</th> |
661 |
<th>Total current checkouts allowed</th> |
| 658 |
<th>Total current on-site checkouts allowed</th> |
662 |
<th>Total current on-site checkouts allowed</th> |
| 659 |
<th>Total holds allowed</th> |
663 |
<th>Total holds allowed</th> |
|
|
664 |
[% UNLESS humanbranch %]<th>Has priority</th>[% END %] |
| 660 |
<th> </th> |
665 |
<th> </th> |
| 661 |
</tr> |
666 |
</tr> |
| 662 |
[% FOREACH c IN categorycodes %] |
667 |
[% FOREACH c IN categorycodes %] |
|
Lines 695-700
Link Here
|
| 695 |
<span>Unlimited</span> |
700 |
<span>Unlimited</span> |
| 696 |
[% END %] |
701 |
[% END %] |
| 697 |
</td> |
702 |
</td> |
|
|
703 |
[% UNLESS humanbranch %] |
| 704 |
<td> |
| 705 |
<input type="checkbox" [% IF branch_cat_rule_loo.has_priority %]checked[% END %] disabled/> |
| 706 |
</td> |
| 707 |
[% END %] |
| 698 |
|
708 |
|
| 699 |
<td class="actions"> |
709 |
<td class="actions"> |
| 700 |
<a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete-branch-cat&categorycode=[% c | html %]&branch=[% current_branch | html %]"><i class="fa fa-trash"></i> Delete</a> |
710 |
<a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete-branch-cat&categorycode=[% c | html %]&branch=[% current_branch | html %]"><i class="fa fa-trash"></i> Delete</a> |
|
Lines 713-718
Link Here
|
| 713 |
<td><input name="patron_maxissueqty" size="3" type="text" /></td> |
723 |
<td><input name="patron_maxissueqty" size="3" type="text" /></td> |
| 714 |
<td><input name="patron_maxonsiteissueqty" size="3" type="text" /></td> |
724 |
<td><input name="patron_maxonsiteissueqty" size="3" type="text" /></td> |
| 715 |
<td><input name="max_holds" size="3" type="text" /></td> |
725 |
<td><input name="max_holds" size="3" type="text" /></td> |
|
|
726 |
[% UNLESS humanbranch %] |
| 727 |
<td> |
| 728 |
<input type="checkbox" name="has_priority"/> |
| 729 |
</td> |
| 730 |
[% END %] |
| 716 |
<td class="actions"><button type="submit" class="btn btn-default btn-xs"><i class="fa fa-plus"></i> Add</td> |
731 |
<td class="actions"><button type="submit" class="btn btn-default btn-xs"><i class="fa fa-plus"></i> Add</td> |
| 717 |
</tr> |
732 |
</tr> |
| 718 |
</table> |
733 |
</table> |