@@ -, +, @@ --- koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt @@ -77,7 +77,7 @@ Reverse [% END %] [% IF account.amount < 0 %] - Void + Void [% END %] [% ELSE %]   @@ -141,6 +141,14 @@ table_account_fines.fnFilter(filteredValue, 4, true, false); $(this).toggleClass('filtered'); }); + + $(".void").on("click",function(e){ + if( confirm( _("Are you sure you want to void this credit?") ) ) { + return true; + } else { + e.preventDefault(); + } + }); }); [% END %] --