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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt (-1 / +7 lines)
Lines 381-387 Link Here
381
                    paid: { required: true },
381
                    paid: { required: true },
382
                    collected: {
382
                    collected: {
383
                        required: true
383
                        required: true
384
                    },
385
                    [% IF Koha.Preference('UseCashRegisters') %]
386
                    cash_register: {
387
                        required: function() { 
388
                            return $('#payment_type').val() == 'CASH'
389
                        }
384
                    }
390
                    }
391
                    [% END %]
385
                }
392
                }
386
            });
393
            });
387
        });
394
        });
388
- 

Return to bug 24786