Lines 32-82
Link Here
|
32 |
|
32 |
|
33 |
|
33 |
|
34 |
<div id="transferlimit_tabs" class="toptabs"> |
34 |
<div id="transferlimit_tabs" class="toptabs"> |
35 |
<ul class="ui-tabs-nav"> |
35 |
<ul class="ui-tabs-nav"> |
36 |
[% FOREACH codes_loo IN codes_loop %]<li><a href="#[% codes_loo.code | uri %]set">[% codes_loo.code | html %]</a></li>[% END %] |
36 |
[% FOREACH codes_loo IN codes_loop %]<li><a href="#[% codes_loo.code | uri %]set">[% codes_loo.code | html %]</a></li>[% END %] |
37 |
</ul> |
37 |
</ul> |
38 |
|
38 |
|
39 |
<form method="post" action="branch_transfer_limits.pl"> |
39 |
<form method="post" action="branch_transfer_limits.pl"> |
40 |
|
40 |
|
41 |
[% FOREACH codes_loo IN codes_loop %] |
41 |
[% FOREACH codes_loo IN codes_loop %] |
42 |
<div id="[% codes_loo.code | html %]set"> |
42 |
<div id="[% codes_loo.code | html %]set"> |
43 |
<h4>Policy for [% codes_loo.limit_phrase | html %]: [% codes_loo.code | html %]</h4> |
43 |
<h4>Policy for [% codes_loo.limit_phrase | html %]: [% codes_loo.code | html %]</h4> |
44 |
<p><a id="CheckAll[% codes_loo.code | html %]table" class="checkall" href="#"><i class="fa fa-check"></i> Select all</a> | <a id="UncheckAll[% codes_loo.code | html %]table" class="uncheckall" href="#"><i class="fa fa-remove"></i> Clear all</a></p> |
44 |
<p><a id="CheckAll[% codes_loo.code | html %]table" class="checkall" href="#"><i class="fa fa-check"></i> Select all</a> | <a id="UncheckAll[% codes_loo.code | html %]table" class="uncheckall" href="#"><i class="fa fa-remove"></i> Clear all</a></p> |
45 |
|
45 |
|
46 |
<table id="[% codes_loo.code | html %]table" class="sorted"> |
46 |
<table id="[% codes_loo.code | html %]table" class="sorted"> |
47 |
<thead> |
47 |
<thead> |
48 |
<tr> |
48 |
<tr> |
49 |
<th>Library</th> |
49 |
<th>Library</th> |
50 |
<th>Allow transfer?</th> |
50 |
<th>Allow transfer?</th> |
51 |
</tr> |
51 |
</tr> |
52 |
</thead> |
52 |
</thead> |
53 |
|
53 |
|
54 |
<tbody> |
54 |
<tbody> |
55 |
[% FOREACH to_branch_loo IN codes_loo.to_branch_loop %] |
55 |
[% FOREACH to_branch_loo IN codes_loo.to_branch_loop %] |
56 |
<tr> |
56 |
<tr> |
57 |
<td><label style="min-width:400px;" for="[% to_branch_loo.code | html %][% to_branch_loo.toBranch | html %]row">[% to_branch_loo.toBranch | html %] - [% Branches.GetName( to_branch_loo.toBranch ) | html %]</label></td> |
57 |
<td><label style="min-width:400px;" for="[% to_branch_loo.code | html %][% to_branch_loo.toBranch | html %]row">[% to_branch_loo.toBranch | html %] - [% Branches.GetName( to_branch_loo.toBranch ) | html %]</label></td> |
58 |
<td> |
58 |
<td> |
59 |
[% IF ( to_branch_loo.isChecked ) %] |
59 |
[% IF ( to_branch_loo.isChecked ) %] |
60 |
<input type="checkbox" id="[% to_branch_loo.code | html %][% to_branch_loo.toBranch | html %]row" name="[% to_branch_loo.code | html %]_[% to_branch_loo.toBranch | html %]" checked="checked" /> |
60 |
<input type="checkbox" id="[% to_branch_loo.code | html %][% to_branch_loo.toBranch | html %]row" name="[% to_branch_loo.code | html %]_[% to_branch_loo.toBranch | html %]" checked="checked" /> |
61 |
[% ELSE %] |
61 |
[% ELSE %] |
62 |
<input type="checkbox" id="[% to_branch_loo.code | html %][% to_branch_loo.toBranch | html %]row" name="[% to_branch_loo.code | html %]_[% to_branch_loo.toBranch | html %]" /> |
62 |
<input type="checkbox" id="[% to_branch_loo.code | html %][% to_branch_loo.toBranch | html %]row" name="[% to_branch_loo.code | html %]_[% to_branch_loo.toBranch | html %]" /> |
63 |
[% END %] |
63 |
[% END %] |
64 |
</td> |
64 |
</td> |
65 |
</tr> |
65 |
</tr> |
66 |
[% END %] |
66 |
[% END %] |
67 |
</tbody> |
67 |
</tbody> |
68 |
</table> |
68 |
</table> |
69 |
</div> |
69 |
</div> |
70 |
[% END %] |
70 |
[% END %] |
71 |
|
71 |
|
72 |
<fieldset class="action"> |
72 |
<fieldset class="action"> |
73 |
<input type="hidden" name="updateLimits" value="1" /> |
73 |
<input type="hidden" name="updateLimits" value="1" /> |
74 |
<input type="hidden" name="branchcode" value="[% branchcode | html %]" /> |
74 |
<input type="hidden" name="branchcode" value="[% branchcode | html %]" /> |
75 |
<input type="submit" value="Save" /> |
75 |
<input type="submit" value="Save" /> |
76 |
<a class="cancel" href="/cgi-bin/koha/admin/admin-home.pl">Cancel</a> |
76 |
<a class="cancel" href="/cgi-bin/koha/admin/admin-home.pl">Cancel</a> |
77 |
</fieldset> |
77 |
</fieldset> |
78 |
</form> |
78 |
</form> |
79 |
</div> |
79 |
</div> |
80 |
|
80 |
|
81 |
</main> |
81 |
</main> |
82 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
82 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
83 |
- |
|
|