Bugzilla – Attachment 97604 Details for
Bug 24008
Attempting to delete a patron with outstanding credits will warn, but not block the deletion
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24008: Display warnings in a list
Bug-24008-Display-warnings-in-a-list.patch (text/plain), 2.05 KB, created by
Katrin Fischer
on 2020-01-20 07:12:01 UTC
(
hide
)
Description:
Bug 24008: Display warnings in a list
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-01-20 07:12:01 UTC
Size:
2.05 KB
patch
obsolete
>From afc4f969f7503e2e7ca8d66458eaf641c3b9d23c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 10 Dec 2019 12:27:08 +0100 >Subject: [PATCH] Bug 24008: Display warnings in a list > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../intranet-tmpl/prog/en/modules/members/deletemem.tt | 14 +++++++++----- > 1 file changed, 9 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/deletemem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/deletemem.tt >index 9dec86c37e..776de69ba4 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/deletemem.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/deletemem.tt >@@ -37,14 +37,18 @@ > [% ELSIF op == 'delete_confirm' and patron %] > [%# TODO add "patron does not exist" unless patron %] > <div class="dialog alert"> >- [% IF ( ItemsOnHold ) %] >- <h3>Patron has [% ItemsOnHold | html %] hold(s). Deleting patron cancels all their holds.</h3></br> >+ [% IF ItemsOnHold or credits %] >+ <ul> >+ [% IF ItemsOnHold %] >+ <li>Patron has [% ItemsOnHold | html %] hold(s). Deleting patron cancels all their holds.</li> >+ [% END %] >+ [% IF credits %] >+ <li>Patron has a [% credits | $Price %] credit.</li> >+ [% END %] >+ <ul> > [% END %] > <h3>Are you sure you want to delete the patron [% patron.firstname | html %] [% patron.surname | html %]? This cannot be undone.</h3> > >- [% IF credits %] >- <h4>Patron has a [% credits | $Price %] credit.</h4> >- [% END %] > <form action="/cgi-bin/koha/members/deletemem.pl"> > <input type="hidden" name="csrf_token" value="[% csrf_token | html %]" /> > <input type="hidden" name="member" value="[% patron.borrowernumber | html %]"/> >-- >2.11.0
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 24008
:
95924
|
96142
|
96604
|
97400
|
97401
|
97402
|
97603
| 97604 |
97605