Lines 690-695
Link Here
|
690 |
<p>If the total amount loanable for a given patron category is left blank, |
690 |
<p>If the total amount loanable for a given patron category is left blank, |
691 |
no limit applies, except possibly for a limit you define for a specific item type. |
691 |
no limit applies, except possibly for a limit you define for a specific item type. |
692 |
</p> |
692 |
</p> |
|
|
693 |
<p> |
694 |
<b>Has priority: </b>If checked, the rule will override those for all branches. Else |
695 |
it behaves like a default one: used if no rule existe for the coresponding branch. |
696 |
</p> |
693 |
<form method="post" action="/cgi-bin/koha/admin/smart-rules.pl"> |
697 |
<form method="post" action="/cgi-bin/koha/admin/smart-rules.pl"> |
694 |
<input type="hidden" name="op" value="add-branch-cat" /> |
698 |
<input type="hidden" name="op" value="add-branch-cat" /> |
695 |
<input type="hidden" name="branch" value="[% current_branch | html %]"/> |
699 |
<input type="hidden" name="branch" value="[% current_branch | html %]"/> |
Lines 699-704
Link Here
|
699 |
<th>Total current checkouts allowed</th> |
703 |
<th>Total current checkouts allowed</th> |
700 |
<th>Total current on-site checkouts allowed</th> |
704 |
<th>Total current on-site checkouts allowed</th> |
701 |
<th>Total holds allowed</th> |
705 |
<th>Total holds allowed</th> |
|
|
706 |
[% UNLESS humanbranch %]<th>Has priority</th>[% END %] |
702 |
<th> </th> |
707 |
<th> </th> |
703 |
</tr> |
708 |
</tr> |
704 |
[% FOREACH c IN categorycodes %] |
709 |
[% FOREACH c IN categorycodes %] |
Lines 737-742
Link Here
|
737 |
<span>Unlimited</span> |
742 |
<span>Unlimited</span> |
738 |
[% END %] |
743 |
[% END %] |
739 |
</td> |
744 |
</td> |
|
|
745 |
[% UNLESS humanbranch %] |
746 |
<td> |
747 |
<input type="checkbox" [% IF branch_cat_rule_loo.has_priority %]checked[% END %] disabled/> |
748 |
</td> |
749 |
[% END %] |
740 |
|
750 |
|
741 |
<td class="actions"> |
751 |
<td class="actions"> |
742 |
<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> |
752 |
<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 755-760
Link Here
|
755 |
<td><input name="patron_maxissueqty" size="3" type="text" /></td> |
765 |
<td><input name="patron_maxissueqty" size="3" type="text" /></td> |
756 |
<td><input name="patron_maxonsiteissueqty" size="3" type="text" /></td> |
766 |
<td><input name="patron_maxonsiteissueqty" size="3" type="text" /></td> |
757 |
<td><input name="max_holds" size="3" type="text" /></td> |
767 |
<td><input name="max_holds" size="3" type="text" /></td> |
|
|
768 |
[% UNLESS humanbranch %] |
769 |
<td> |
770 |
<input type="checkbox" name="has_priority"/> |
771 |
</td> |
772 |
[% END %] |
758 |
<td class="actions"><button type="submit" class="btn btn-default btn-xs"><i class="fa fa-plus"></i> Add</td> |
773 |
<td class="actions"><button type="submit" class="btn btn-default btn-xs"><i class="fa fa-plus"></i> Add</td> |
759 |
</tr> |
774 |
</tr> |
760 |
</table> |
775 |
</table> |