Subversion Repositories SmartDukaan

Rev

Rev 30232 | Rev 30454 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 30232 Rev 30234
Line 1454... Line 1454...
1454
                console.log(response);
1454
                console.log(response);
1455
                $('#' + domId).html(response);
1455
                $('#' + domId).html(response);
1456
            });
1456
            });
1457
        }
1457
        }
1458
 
1458
 
1459
        $(document).on("click", ".credit-income", function () {
-
 
1460
            console.log("Hello");
-
 
1461
            lastMonthCreditIncome("main-content");
-
 
1462
        });
-
 
1463
 
-
 
1464
        function lastMonthCreditIncome(domId) {
1459
        function lastMonthCreditIncome(domId) {
1465
            doGetAjaxRequestHandler(context + "/getLastMonthCreditIncome", function (response) {
1460
            doGetAjaxRequestHandler(context + "/getLastMonthCreditIncome", function (response) {
1466
                console.log(response);
1461
                console.log(response);
1467
                $('#' + domId).html(response);
1462
                $('#' + domId).html(response);
1468
            });
1463
            });
Line 1471... Line 1466...
1471
        $(document).on("click", ".pending-income", function () {
1466
        $(document).on("click", ".pending-income", function () {
1472
            console.log("Hello");
1467
            console.log("Hello");
1473
            lastMonthCreditIncome("main-content");
1468
            lastMonthCreditIncome("main-content");
1474
        });
1469
        });
1475
 
1470
 
1476
        $(document).on("click", ".total-income", function () {
1471
        $(document).on("click", ".total-income-calc", function () {
1477
            console.log("Hello");
1472
            console.log("Hello");
1478
            lastMonthCreditIncome("main-content");
1473
            lastMonthCreditIncome("main-content");
1479
        });
1474
        });
1480
 
1475
 
1481
 
1476