|
Lines 672-677
Link Here
|
| 672 |
<p>If the total amount loanable for a given patron category is left blank, |
672 |
<p>If the total amount loanable for a given patron category is left blank, |
| 673 |
no limit applies, except possibly for a limit you define for a specific item type. |
673 |
no limit applies, except possibly for a limit you define for a specific item type. |
| 674 |
</p> |
674 |
</p> |
|
|
675 |
<p> |
| 676 |
<b>Has priority: </b>If checked, the rule will override those for all branches. Else |
| 677 |
it behaves like a default one: used if no rule existe for the coresponding branch. |
| 678 |
</p> |
| 675 |
<form method="post" action="/cgi-bin/koha/admin/smart-rules.pl"> |
679 |
<form method="post" action="/cgi-bin/koha/admin/smart-rules.pl"> |
| 676 |
<input type="hidden" name="op" value="add-branch-cat" /> |
680 |
<input type="hidden" name="op" value="add-branch-cat" /> |
| 677 |
<input type="hidden" name="branch" value="[% current_branch | html %]"/> |
681 |
<input type="hidden" name="branch" value="[% current_branch | html %]"/> |
|
Lines 681-686
Link Here
|
| 681 |
<th>Total current checkouts allowed</th> |
685 |
<th>Total current checkouts allowed</th> |
| 682 |
<th>Total current on-site checkouts allowed</th> |
686 |
<th>Total current on-site checkouts allowed</th> |
| 683 |
<th>Total holds allowed</th> |
687 |
<th>Total holds allowed</th> |
|
|
688 |
[% UNLESS humanbranch %]<th>Has priority</th>[% END %] |
| 684 |
<th> </th> |
689 |
<th> </th> |
| 685 |
</tr> |
690 |
</tr> |
| 686 |
[% FOREACH c IN categorycodes %] |
691 |
[% FOREACH c IN categorycodes %] |
|
Lines 719-724
Link Here
|
| 719 |
<span>Unlimited</span> |
724 |
<span>Unlimited</span> |
| 720 |
[% END %] |
725 |
[% END %] |
| 721 |
</td> |
726 |
</td> |
|
|
727 |
[% UNLESS humanbranch %] |
| 728 |
<td> |
| 729 |
<input type="checkbox" [% IF branch_cat_rule_loo.has_priority %]checked[% END %] disabled/> |
| 730 |
</td> |
| 731 |
[% END %] |
| 722 |
|
732 |
|
| 723 |
<td class="actions"> |
733 |
<td class="actions"> |
| 724 |
<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> |
734 |
<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 737-742
Link Here
|
| 737 |
<td><input name="patron_maxissueqty" size="3" type="text" /></td> |
747 |
<td><input name="patron_maxissueqty" size="3" type="text" /></td> |
| 738 |
<td><input name="patron_maxonsiteissueqty" size="3" type="text" /></td> |
748 |
<td><input name="patron_maxonsiteissueqty" size="3" type="text" /></td> |
| 739 |
<td><input name="max_holds" size="3" type="text" /></td> |
749 |
<td><input name="max_holds" size="3" type="text" /></td> |
|
|
750 |
[% UNLESS humanbranch %] |
| 751 |
<td> |
| 752 |
<input type="checkbox" name="has_priority"/> |
| 753 |
</td> |
| 754 |
[% END %] |
| 740 |
<td class="actions"><button type="submit" class="btn btn-default btn-xs"><i class="fa fa-plus"></i> Add</td> |
755 |
<td class="actions"><button type="submit" class="btn btn-default btn-xs"><i class="fa fa-plus"></i> Add</td> |
| 741 |
</tr> |
756 |
</tr> |
| 742 |
</table> |
757 |
</table> |