View | Details | Raw Unified | Return to bug 11488
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt (-3 / +3 lines)
Lines 16-23 function enableCheckboxActions(){ Link Here
16
    $(document).ready(function(){
16
    $(document).ready(function(){
17
        $('#pay-fines-form').preventDoubleFormSubmit();
17
        $('#pay-fines-form').preventDoubleFormSubmit();
18
        $("#woall").click(function(event){
18
        $("#woall").click(function(event){
19
            var msg = _("Are you sure you want to write off [% total | format('%.2f') %] in outstanding fines? This cannot be undone!");
19
            var msg = _("Are you sure you want to write off %s in outstanding fines? This cannot be undone!");
20
            var answer = "confirm(msg);
20
            msg = msg.replace( "%s", "[% total | format('%.2f') %]" );
21
            var answer = confirm(msg);
21
                if (!answer){
22
                if (!answer){
22
                    event.preventDefault();
23
                    event.preventDefault();
23
                }
24
                }
24
- 

Return to bug 11488