@@ -, +, @@
other non-blocking notes
- Add a credit to the patron's account
- Make sure they got a pending suggestion
- Try to delete
- Verify you notes for both as list items
---
.../prog/en/modules/members/deletemem.tt | 10 +++++-----
members/deletemem.pl | 17 +++++++++--------
2 files changed, 14 insertions(+), 13 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/deletemem.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/deletemem.tt
@@ -37,7 +37,7 @@
[% ELSIF op == 'delete_confirm' and patron %]
[%# TODO add "patron does not exist" unless patron %]
- [% IF ItemsOnHold or credits %]
+ [% IF ItemsOnHold or credits or pending_suggestions > 0 %]
[% IF ItemsOnHold %]
- Patron has [% ItemsOnHold | html %] hold(s). Deleting patron cancels all their holds.
@@ -45,12 +45,12 @@
[% IF credits %]
- Patron has a [% credits | $Price %] credit.
[% END %]
-
+ [% IF pending_suggestions > 0 %]
+ - Patron has [% pending_suggestions | html %] pending suggestions.
+ [% END %]
+
[% END %]
Are you sure you want to delete the patron [% patron.firstname | html %] [% patron.surname | html %]? This cannot be undone.
- [% IF pending_suggestions > 0 %]
- Note that this patron has [% pending_suggestions %] pending suggestions.
- [% END %]