Skip to content
Snippets Groups Projects
Verified Commit 824e4220 authored by Martin Renvoize's avatar Martin Renvoize :juggling_tone1:
Browse files

Fix for regression caused by bug 32450 regarding archival of system

debits
parent 4d1d18cd
No related branches found
No related tags found
No related merge requests found
......@@ -216,7 +216,9 @@
<td class="actions">
[% IF !debit_type.archived %]
<a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/debit_types.pl?op=add_form&amp;code=[% debit_type.code | uri %]&type=debit"><i class="fa fa-pencil"></i> Edit</a>
[% IF !debit_type.is_system %]
<a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/debit_types.pl?op=archive&amp;code=[% debit_type.code | uri %]"><i class="fa fa-archive"></i> Archive</a>
[% END %]
[% ELSIF debit_type.archived %]
<a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/debit_types.pl?op=unarchive&amp;code=[% debit_type.code | uri %]"><i class="fa fa-undo"></i> Restore</a>
[% END %]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment