1 namespace('kivi.Dunning', function(ns) {
2 ns.check_invoice_selection = function() {
3 if ($('[name^=active_]:checked').length > 0)
6 alert(kivi.t8('No invoices have been selected.'));
10 ns.enable_disable_language_id = function() {
11 $('select[name="language_id"]').prop('disabled', !$('#force_lang').prop('checked'));
15 $('#force_lang').click(kivi.Dunning.enable_disable_language_id);
16 kivi.Dunning.enable_disable_language_id();