View | Details | Raw Unified | Return to bug 16223
Collapse All | Expand All

(-)a/admin/restrictions.pl (-1 / +1 lines)
Lines 66-72 if ( $op eq 'add_form') { Link Here
66
                display_text => $display_text,
66
                display_text => $display_text,
67
            }
67
            }
68
        );
68
        );
69
        if ($dupe->count && $dupe->unblessed->{code} ne $code) {
69
        if ( $dupe->count ) {
70
            push @messages, {
70
            push @messages, {
71
                type => 'error', code => 'duplicate_display_text'
71
                type => 'error', code => 'duplicate_display_text'
72
            };
72
            };
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt (-2 / +1 lines)
Lines 214-220 Link Here
214
                                [% IF restriction.lift_after_payment %]Yes[% END %]
214
                                [% IF restriction.lift_after_payment %]Yes[% END %]
215
                            </td>
215
                            </td>
216
                            <td>
216
                            <td>
217
                                [% IF restriction.fee_limit %][% restriction.fee_limit %][% END %]
217
                                [% IF restriction.fee_limit %][% restriction.fee_limit | html %][% END %]
218
                            </td>
218
                            </td>
219
                            <td class="actions">
219
                            <td class="actions">
220
                                <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/restrictions.pl?op=add_form&amp;code=[% restriction.code | uri %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
220
                                <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/restrictions.pl?op=add_form&amp;code=[% restriction.code | uri %]"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a>
221
- 

Return to bug 16223