Lines 117-122
Link Here
|
117 |
<th>OPAC item level holds</th> |
117 |
<th>OPAC item level holds</th> |
118 |
<th>Article requests</th> |
118 |
<th>Article requests</th> |
119 |
<th>Rental discount (%)</th> |
119 |
<th>Rental discount (%)</th> |
|
|
120 |
<th>Decrease loan holds (day)</th> |
120 |
<th>Actions</th> |
121 |
<th>Actions</th> |
121 |
</tr> |
122 |
</tr> |
122 |
</thead> |
123 |
</thead> |
Lines 155-162
Link Here
|
155 |
[% SET opacitemholds = all_rules.$c.$i.opacitemholds %] |
156 |
[% SET opacitemholds = all_rules.$c.$i.opacitemholds %] |
156 |
[% SET article_requests = all_rules.$c.$i.article_requests %] |
157 |
[% SET article_requests = all_rules.$c.$i.article_requests %] |
157 |
[% SET rentaldiscount = all_rules.$c.$i.rentaldiscount %] |
158 |
[% SET rentaldiscount = all_rules.$c.$i.rentaldiscount %] |
|
|
159 |
[% SET decreaseloanholds = all_rules.$c.$i.decreaseloanholds %] |
158 |
|
160 |
|
159 |
[% SET show_rule = maxissueqty || maxonsiteissueqty || issuelength || lengthunit || hardduedate || hardduedatebefore || hardduedateexact || fine || chargeperiod || chargeperiod_charge_at || firstremind || overduefinescap || cap_fine_to_replacement_price || finedays || maxsuspensiondays || suspension_chargeperiod || renewalsallowed || renewalsallowed || norenewalbefore || auto_renew || no_auto_renewal_after || no_auto_renewal_after_hard_limit || reservesallowed || holds_per_day || holds_per_record || onshelfholds || opacitemholds || article_requests || article_requests %] |
161 |
[% SET show_rule = maxissueqty || maxonsiteissueqty || issuelength || lengthunit || hardduedate || hardduedatebefore || hardduedateexact || fine || chargeperiod || chargeperiod_charge_at || firstremind || overduefinescap || cap_fine_to_replacement_price || finedays || maxsuspensiondays || suspension_chargeperiod || renewalsallowed || renewalsallowed || norenewalbefore || auto_renew || no_auto_renewal_after || no_auto_renewal_after_hard_limit || reservesallowed || holds_per_day || holds_per_record || onshelfholds || opacitemholds || article_requests || article_requests || decreaseloanholds %] |
160 |
[% IF show_rule %] |
162 |
[% IF show_rule %] |
161 |
[% SET row_count = row_count + 1 %] |
163 |
[% SET row_count = row_count + 1 %] |
162 |
<tr row_countd="row_[% row_count | html %]"> |
164 |
<tr row_countd="row_[% row_count | html %]"> |
Lines 301-306
Link Here
|
301 |
[% END %] |
303 |
[% END %] |
302 |
</td> |
304 |
</td> |
303 |
<td>[% rentaldiscount | html %]</td> |
305 |
<td>[% rentaldiscount | html %]</td> |
|
|
306 |
<td>[% decreaseloanholds | html %]</td> |
304 |
<td class="actions"> |
307 |
<td class="actions"> |
305 |
<a href="#" class="editrule btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a> |
308 |
<a href="#" class="editrule btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a> |
306 |
<a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete&itemtype=[% i || '*' | uri %]&categorycode=[% c || '*' | uri %]&branch=[% current_branch | uri %]"><i class="fa fa-trash"></i> Delete</a> |
309 |
<a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete&itemtype=[% i || '*' | uri %]&categorycode=[% c || '*' | uri %]&branch=[% current_branch | uri %]"><i class="fa fa-trash"></i> Delete</a> |
Lines 404-409
Link Here
|
404 |
</select> |
407 |
</select> |
405 |
</td> |
408 |
</td> |
406 |
<td><input type="text" name="rentaldiscount" id="rentaldiscount" size="2" /></td> |
409 |
<td><input type="text" name="rentaldiscount" id="rentaldiscount" size="2" /></td> |
|
|
410 |
<td><input type="text" name="decreaseloanholds" id="decreaseloanholds" size="2" /></td> |
407 |
<td class="actions"> |
411 |
<td class="actions"> |
408 |
<input type="hidden" name="branch" value="[% current_branch | html %]"/> |
412 |
<input type="hidden" name="branch" value="[% current_branch | html %]"/> |
409 |
<button type="submit" class="btn btn-default btn-xs"><i class="fa fa-save"></i> Save</button> |
413 |
<button type="submit" class="btn btn-default btn-xs"><i class="fa fa-save"></i> Save</button> |
Lines 443-448
Link Here
|
443 |
<th>OPAC item level holds</th> |
447 |
<th>OPAC item level holds</th> |
444 |
<th>Article requests</th> |
448 |
<th>Article requests</th> |
445 |
<th>Rental discount (%)</th> |
449 |
<th>Rental discount (%)</th> |
|
|
450 |
<th>Decrease loan holds (day)</th> |
446 |
<th> </th> |
451 |
<th> </th> |
447 |
</tr> |
452 |
</tr> |
448 |
</tfoot> |
453 |
</tfoot> |