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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt (-1 / +10 lines)
Lines 339-344 Link Here
339
            var forms = $('#payindivfine, #payfine');
339
            var forms = $('#payindivfine, #payfine');
340
            var change = $('#change')[0];
340
            var change = $('#change')[0];
341
341
342
            forms.on('submit',function(){
343
                if( $("#paid").val() == 0 ){
344
                    alert(_("You must pay an amount greater than 0"));
345
                    forms.beensubmitted = false;
346
                    return false;
347
                } else {
348
                    return true;
349
                }
350
            });
351
342
            $('#payindivfine, #payfine').preventDoubleFormSubmit();
352
            $('#payindivfine, #payfine').preventDoubleFormSubmit();
343
            $("#paid, #collected").on("change",function() {
353
            $("#paid, #collected").on("change",function() {
344
                moneyFormat( this );
354
                moneyFormat( this );
345
- 

Return to bug 24489