<tr>
<th>Patron category</th>
<th>Item type</th>
+ <th>Actions</th>
<th>Current checkouts allowed</th>
<th>Current on-site checkouts allowed</th>
<th>Loan period</th>
[% rule.translated_description %]
[% END %]
</td>
+ <td class="actions">
+ <a href="#" class="editrule btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
+ <a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete&itemtype=[% rule.itemtype %]&categorycode=[% rule.categorycode %]&branch=[% rule.current_branch %]"><i class="fa fa-trash"></i> Delete</a>
+ </td>
+
<td>[% IF ( rule.unlimited_maxissueqty ) %]
Unlimited
[% ELSE %]
<td class="actions">
<a href="#" class="editrule btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a>
<a class="btn btn-default btn-xs delete" href="/cgi-bin/koha/admin/smart-rules.pl?op=delete&itemtype=[% rule.itemtype %]&categorycode=[% rule.categorycode %]&branch=[% rule.current_branch %]"><i class="fa fa-trash"></i> Delete</a>
- </td>
+ </td>
+
</tr>
[% END %]
<tr id="edit_row">
[% END %]
</select>
</td>
+ <td class="actions">
+ <input type="hidden" name="branch" value="[% current_branch %]"/>
+ <button type="submit" class="btn btn-default btn-xs"><i class="fa fa-save"></i> Save</button>
+ <button name="cancel" class="clear_edit btn btn-default btn-xs"><i class="fa fa-undo"></i> Clear</button>
+ </td>
<td><input type="text" name="maxissueqty" id="maxissueqty" size="3" /></td>
<td><input type="text" name="maxonsiteissueqty" id="maxonsiteissueqty" size="3" /></td>
<td><input type="text" name="issuelength" id="issuelength" size="3" /> </td>
<tr>
<th>Patron category</th>
<th>Item type</th>
+ <th> </th>
<th>Current checkouts allowed</th>
<th>Current on-site checkouts allowed</th>
<th>Loan period</th>
<th>Item level holds</th>
<th>Article requests</th>
<th>Rental discount (%)</th>
- <th colspan="2"> </th>
+ <th> </th>
</tr>
</tfoot>
</tbody>