@@ -, +, @@
---
.../prog/en/modules/members/deletemem.tt | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/deletemem.tt
+++ a/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 %]
- [% IF ( ItemsOnHold ) %]
-
Patron has [% ItemsOnHold | html %] hold(s). Deleting patron cancels all their holds.
+ [% IF ItemsOnHold or credits %]
+
+ [% IF ItemsOnHold %]
+ - Patron has [% ItemsOnHold | html %] hold(s). Deleting patron cancels all their holds.
+ [% END %]
+ [% IF credits %]
+ - Patron has a [% credits | $Price %] credit.
+ [% END %]
+
[% END %]
Are you sure you want to delete the patron [% patron.firstname | html %] [% patron.surname | html %]? This cannot be undone.
- [% IF credits %]
- Patron has a [% credits | $Price %] credit.
- [% END %]