',width:"20",visible:!0,searchable:!1,className:"text-center",render:function(n,t,i){return n===!0?'':''},data:"Id"},{width:"20",visible:!0,searchable:!1,render:function(n,t,i,r){return renderBulletColor(n,t,i,r)},data:"BulletColor"},{title:"document",width:"100",visible:!0,searchable:!1,render:function(n){return escapeHtml(n)},data:"Info"},{title:"datum",width:"50",visible:!0,searchable:!1,render:function(n){return escapeHtml(n)},data:"DateStr"},{title:"bedrag",width:"50",visible:!0,searchable:!1,render:function(n){return escapeHtml(n)},data:"AmountString"},{title:"Saldo",width:"35",visible:!0,searchable:!1,render:function(n,t,i,r){return renderSaldo(n,t,i,r)},data:"SaldoString"},{title:"betalingsreferentie",width:"50",visible:!0,searchable:!1,render:function(n){return escapeHtml(n)},data:"OGM"},{title:"betalen",width:"50",visible:!0,searchable:!1,render:function(n,t,i,r){return renderPayButton(n,t,i,r)},data:"Saldo"},{width:"50",visible:!0,searchable:!1,className:"button-column",render:function(n,t,i,r){return renderInvoiceDownloadButton(n,t,i,r)},data:"Type"}]});$("#search-account-balance").click(function(){return $("#account-balance-grid").DataTable().ajax.reload(),$("#account-balance-grid .checkboxGroups").prop("checked",!1).change(),selectedIds=[],!1});$(".mastercheckbox",$("#account-balance-grid").parents(".dataTables_scroll").first()).first().click(function(){$("#account-balance-grid .checkboxGroups").prop("checked",$(this).is(":checked")).change()});$("#account-balance-grid").on("change","input[type=checkbox][class!=mastercheckbox][class=checkboxGroups]",function(){var n=$(this),t=jQuery.inArray(n.val(),selectedIds);n.is(":checked")==!0?t==-1&&selectedIds.push(n.val()):t>-1&&(selectedIds=$.grep(selectedIds,function(t){return t!=n.val()}));updateMasterCheckbox($("#account-balance-grid").parents(".dataTables_scroll").first())});$("#account-balance-grid").DataTable().columns.adjust()})