Subversion Repositories SmartDukaan

Rev

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

Rev 35487 Rev 35965
Line 9... Line 9...
9
    $(document).on('click', ".transaction-approval", function () {
9
    $(document).on('click', ".transaction-approval", function () {
10
        doGetAjaxRequestHandler(context + "/transaction/pendingApprovals", function (response) {
10
        doGetAjaxRequestHandler(context + "/transaction/pendingApprovals", function (response) {
11
            $("#main-content").html(response);
11
            $("#main-content").html(response);
12
        });
12
        });
13
    });
13
    });
-
 
14
    $(document).on('click', ".bulk-order-approval-report", function () {
-
 
15
        doGetAjaxRequestHandler(context + "/transaction/bulkOrderApprovalReport", function (response) {
-
 
16
            $("#main-content").html(response);
-
 
17
        });
-
 
18
    });
-
 
19
    $(document).on('click', ".fetch-approval-report", function () {
-
 
20
        var startDate = $('#reportStartDate').val();
-
 
21
        var endDate = $('#reportEndDate').val();
-
 
22
        doGetAjaxRequestHandler(context + "/transaction/bulkOrderApprovalReport?startDate=" + startDate + "&endDate=" + endDate, function (response) {
-
 
23
            $("#main-content").html(response);
-
 
24
        });
-
 
25
    });
14
    $(document).on('click', ".search-partner-stock",
26
    $(document).on('click', ".search-partner-stock",
15
        function () {
27
        function () {
16
 
28
 
17
            var catalogIds = $('.criteria-item-catalogids').val();
29
            var catalogIds = $('.criteria-item-catalogids').val();
18
            console.log(catalogIds);
30
            console.log(catalogIds);