1 namespace('kivi.GL', function(ns) {
4 this.show_chart_balance = function(obj) {
5 var row = $(obj).attr('name').replace(/.*_/, '');
8 url: 'gl.pl?action=get_chart_balance',
9 data: { accno_id: $(obj).val() },
11 success: function (new_html) {
12 $('#chart_balance_' + row).html(new_html);
17 this.update_taxes = function(obj) {
18 var row = $(obj).attr('name').replace(/.*_/, '');
21 url: 'gl.pl?action=get_tax_dropdown',
22 data: { accno_id: $(obj).val(),
23 transdate: $('#transdate').val() },
25 success: function (new_html) {
26 $("#taxchart_" + row).html(new_html);