+
+ <div id="refund-lost-item-fee-on-return" class="container">
+ [% IF current_branch == '*' %]
+ <h3>Default lost item fee refund on return policy</h3>
+ [% ELSE %]
+ <h3>Lost item fee refund on return policy for [% Branches.GetName(current_branch) %]</h3>
+ [% END %]
+ <p>Specify the default policy for lost item fees on return.
+ </p>
+ <form method="post" action="/cgi-bin/koha/admin/smart-rules.pl">
+ <input type="hidden" name="op" value="mod-refund-lost-item-fee-rule" />
+ <input type="hidden" name="branch" value="[% current_branch %]" />
+ <table>
+ <tr>
+ <th>Refund lost item fee</th>
+ <th> </th>
+ </tr>
+ <tr>
+ <td>
+ <select name="refund">
+ [#% Default branch %#]
+ [% IF ( current_branch == '*' ) %]
+ [% IF ( refundLostItemFeeRule.refund ) %]
+ <option value="1" selected="selected">
+ [% ELSE %]
+ <option value="1">
+ [% END %]
+ Yes
+ </option>
+ [% IF ( not refundLostItemFeeRule.refund ) %]
+ <option value="0" selected="selected">
+ [% ELSE %]
+ <option value="0">
+ [% END %]
+ No
+ </option>
+ [% ELSE %]
+ [#% Branch-specific %#]
+ [% IF ( not refundLostItemFeeRule ) %]
+ <option value="*" selected="selected">
+ [% ELSE %]
+ <option value="*">
+ [% END %]
+ [% IF defaultRefundRule %]
+ Use default (Yes)
+ [% ELSE %]
+ Use default (No)
+ [% END %]
+ </option>
+ [% IF ( not refundLostItemFeeRule ) %]
+ <option value="1">Yes</option>
+ <option value="0">No</option>
+ [% ELSE %]
+ [% IF ( refundLostItemFeeRule.refund ) %]
+ <option value="1" selected="selected">
+ [% ELSE %]
+ <option value="1">
+ [% END %]
+ Yes
+ </option>
+ [% IF ( not refundLostItemFeeRule.refund ) %]
+ <option value="0" selected="selected">
+ [% ELSE %]
+ <option value="0">
+ [% END %]
+ No
+ </option>
+ [% END %]
+ [% END %]
+ </select>
+ </td>
+ <td class="actions">
+ <button type="submit" class="btn btn-mini"><i class="fa fa-save"></i> Save</button>
+ </td>
+ </td>
+ </tr>
+ </table>
+ </form>
+ </div>
+