Lines 56-62
$(document).ready(function() {
Link Here
|
56 |
<!-- /TMPL_LOOP --> |
56 |
<!-- /TMPL_LOOP --> |
57 |
</select> |
57 |
</select> |
58 |
</form> |
58 |
</form> |
59 |
<!-- TMPL_IF Name="definedbranch" --><form action="/cgi-bin/koha/admin/clone-rules.pl" method="post"><label for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidden" name="frombranch" value="<!-- TMPL_VAR NAME="branch" -->" /> |
59 |
<!-- TMPL_IF Name="definedbranch" --><form action="/cgi-bin/koha/admin/clone-rules.pl" method="post"><label |
|
|
60 |
for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidden" name="frombranch" value="<!-- TMPL_VAR NAME="current_branch" -->" /> |
60 |
<select name="tobranch" id="tobranch"><!-- TMPL_LOOP NAME="branchloop" --><option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branchname" --></option><!-- /TMPL_LOOP --></select> <input type="submit" value="Clone" /></form><!-- /TMPL_IF --></fieldset> |
61 |
<select name="tobranch" id="tobranch"><!-- TMPL_LOOP NAME="branchloop" --><option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branchname" --></option><!-- /TMPL_LOOP --></select> <input type="submit" value="Clone" /></form><!-- /TMPL_IF --></fieldset> |
61 |
|
62 |
|
62 |
<form method="post" action="/cgi-bin/koha/admin/smart-rules.pl"> |
63 |
<form method="post" action="/cgi-bin/koha/admin/smart-rules.pl"> |
Lines 109-115
$(document).ready(function() {
Link Here
|
109 |
<td><!-- TMPL_VAR NAME="reservesallowed" --></td> |
110 |
<td><!-- TMPL_VAR NAME="reservesallowed" --></td> |
110 |
<td><!-- TMPL_VAR NAME="rentaldiscount" --></td> |
111 |
<td><!-- TMPL_VAR NAME="rentaldiscount" --></td> |
111 |
<td> |
112 |
<td> |
112 |
<a class="button" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete&itemtype=<!-- TMPL_VAR NAME="itemtype" -->&categorycode=<!-- TMPL_VAR NAME="categorycode" -->&branch=<!-- TMPL_VAR NAME="branch" -->">Delete</a> |
113 |
<a class="button" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete&itemtype=<!-- TMPL_VAR NAME="itemtype" -->&categorycode=<!-- TMPL_VAR NAME="categorycode" -->&branch=<!-- TMPL_VAR NAME="current_branch" -->">Delete</a> |
113 |
</td> |
114 |
</td> |
114 |
</tr> |
115 |
</tr> |
115 |
<!-- /TMPL_LOOP --> |
116 |
<!-- /TMPL_LOOP --> |
Lines 139-145
$(document).ready(function() {
Link Here
|
139 |
<td><input name="renewalsallowed" size="2" /></td> |
140 |
<td><input name="renewalsallowed" size="2" /></td> |
140 |
<td><input name="reservesallowed" size="2" /></td> |
141 |
<td><input name="reservesallowed" size="2" /></td> |
141 |
<td><input name="rentaldiscount" size="2" /></td> |
142 |
<td><input name="rentaldiscount" size="2" /></td> |
142 |
<td><input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->"/><input type="submit" value="Add" class="submit" /></td> |
143 |
<td><input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="current_branch" -->"/><input type="submit" value="Add" class="submit" /></td> |
143 |
</tr> |
144 |
</tr> |
144 |
</table> |
145 |
</table> |
145 |
</form> |
146 |
</form> |
Lines 149-155
$(document).ready(function() {
Link Here
|
149 |
<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> |
150 |
<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> |
150 |
<form method="post" action="/cgi-bin/koha/admin/smart-rules.pl"> |
151 |
<form method="post" action="/cgi-bin/koha/admin/smart-rules.pl"> |
151 |
<input type="hidden" name="op" value="set-branch-defaults" /> |
152 |
<input type="hidden" name="op" value="set-branch-defaults" /> |
152 |
<input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->"/> |
153 |
<input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="current_branch" -->"/> |
153 |
<table> |
154 |
<table> |
154 |
<tr> |
155 |
<tr> |
155 |
<th> </th> |
156 |
<th> </th> |
Lines 188-194
$(document).ready(function() {
Link Here
|
188 |
</td> |
189 |
</td> |
189 |
<td><input type="submit" value="Save" class="submit" /></td> |
190 |
<td><input type="submit" value="Save" class="submit" /></td> |
190 |
<td> |
191 |
<td> |
191 |
<a class="button" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete-branch-cat&categorycode=*&branch=<!-- TMPL_VAR NAME="branch" -->">Unset</a> |
192 |
<a class="button" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete-branch-cat&categorycode=*&branch=<!-- TMPL_VAR NAME="current_branch" -->">Unset</a> |
192 |
</td> |
193 |
</td> |
193 |
</tr> |
194 |
</tr> |
194 |
</table> |
195 |
</table> |
Lines 205-211
$(document).ready(function() {
Link Here
|
205 |
</p> |
206 |
</p> |
206 |
<form method="post" action="/cgi-bin/koha/admin/smart-rules.pl"> |
207 |
<form method="post" action="/cgi-bin/koha/admin/smart-rules.pl"> |
207 |
<input type="hidden" name="op" value="add-branch-cat" /> |
208 |
<input type="hidden" name="op" value="add-branch-cat" /> |
208 |
<input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->"/> |
209 |
<input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="current_branch" -->"/> |
209 |
<table> |
210 |
<table> |
210 |
<tr> |
211 |
<tr> |
211 |
<th>Patron Category</th> |
212 |
<th>Patron Category</th> |
Lines 231-237
$(document).ready(function() {
Link Here
|
231 |
<!-- /TMPL_IF --> |
232 |
<!-- /TMPL_IF --> |
232 |
</td> |
233 |
</td> |
233 |
<td> |
234 |
<td> |
234 |
<a class="button" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete-branch-cat&categorycode=<!-- TMPL_VAR NAME="categorycode" -->&branch=<!-- TMPL_VAR NAME="branch" -->">Delete</a> |
235 |
<a class="button" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete-branch-cat&categorycode=<!-- TMPL_VAR NAME="categorycode" -->&branch=<!-- TMPL_VAR NAME="current_branch" -->">Delete</a> |
235 |
</td> |
236 |
</td> |
236 |
</tr> |
237 |
</tr> |
237 |
<!-- /TMPL_LOOP --> |
238 |
<!-- /TMPL_LOOP --> |
Lines 274-280
$(document).ready(function() {
Link Here
|
274 |
|
275 |
|
275 |
<form method="post" action="/cgi-bin/koha/admin/smart-rules.pl"> |
276 |
<form method="post" action="/cgi-bin/koha/admin/smart-rules.pl"> |
276 |
<input type="hidden" name="op" value="add-branch-item" /> |
277 |
<input type="hidden" name="op" value="add-branch-item" /> |
277 |
<input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->"/> |
278 |
<input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="current_branch" -->"/> |
278 |
<table> |
279 |
<table> |
279 |
<tr> |
280 |
<tr> |
280 |
<th>Item Type</th> |
281 |
<th>Item Type</th> |
Lines 302-308
$(document).ready(function() {
Link Here
|
302 |
<!-- /TMPL_IF --> |
303 |
<!-- /TMPL_IF --> |
303 |
</td> |
304 |
</td> |
304 |
<td> |
305 |
<td> |
305 |
<a class="button" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete-branch-item&itemtype=<!-- TMPL_VAR NAME="itemtype" -->&branch=<!-- TMPL_VAR NAME="branch" -->">Delete</a> |
306 |
<a class="button" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete-branch-item&itemtype=<!-- TMPL_VAR NAME="itemtype" -->&branch=<!-- TMPL_VAR NAME="current_branch" -->">Delete</a> |
306 |
</td> |
307 |
</td> |
307 |
</tr> |
308 |
</tr> |
308 |
<!-- /TMPL_LOOP --> |
309 |
<!-- /TMPL_LOOP --> |
309 |
- |
|
|