Bugzilla – Attachment 151505 Details for
Bug 33787
Remove option to archive system debit types
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33787: Fix for regression caused by bug 32450
Bug-33787-Fix-for-regression-caused-by-bug-32450.patch (text/plain), 2.67 KB, created by
Martin Renvoize (ashimema)
on 2023-05-22 08:46:30 UTC
(
hide
)
Description:
Bug 33787: Fix for regression caused by bug 32450
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-05-22 08:46:30 UTC
Size:
2.67 KB
patch
obsolete
>From 8f4d97d3b697f96abe15608a5bf409deccb1d930 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Fri, 19 May 2023 17:05:10 +0100 >Subject: [PATCH] Bug 33787: Fix for regression caused by bug 32450 > >This patch fixes the regression cashed by bug 32450 where we >accidentally introduced the option to archive system debit types. > >Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> >--- > .../intranet-tmpl/prog/en/modules/admin/debit_types.tt | 8 +++++--- > 1 file changed, 5 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt >index f813d22312..0bd97fed85 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt >@@ -215,10 +215,12 @@ > </td> > <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&code=[% debit_type.code | uri %]&type=debit"><i class="fa fa-pencil"></i> Edit</a> >- <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/debit_types.pl?op=archive&code=[% debit_type.code | uri %]"><i class="fa fa-archive"></i> Archive</a> >+ <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/debit_types.pl?op=add_form&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&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&code=[% debit_type.code | uri %]"><i class="fa fa-undo"></i> Restore</a> >+ <a class="btn btn-default btn-xs" href="/cgi-bin/koha/admin/debit_types.pl?op=unarchive&code=[% debit_type.code | uri %]"><i class="fa fa-undo"></i> Restore</a> > [% END %] > </td> > </tr> >-- >2.40.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33787
:
151505
|
151512