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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt (-4 / +5 lines)
Lines 215-224 Link Here
215
                                        </td>
215
                                        </td>
216
                                        <td class="actions">
216
                                        <td class="actions">
217
                                            [% IF !debit_type.archived %]
217
                                            [% IF !debit_type.archived %]
218
                                            <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>
218
                                                <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>
219
                                            <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>
219
                                                [% IF !debit_type.is_system %]
220
                                                    <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>
221
                                                [% END %]
220
                                            [% ELSIF debit_type.archived %]
222
                                            [% ELSIF debit_type.archived %]
221
                                            <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>
223
                                                <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>
222
                                            [% END %]
224
                                            [% END %]
223
                                        </td>
225
                                        </td>
224
                                    </tr>
226
                                    </tr>
225
- 

Return to bug 33787