Subversion Repositories SmartDukaan

Rev

Rev 36814 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 36814 Rev 36836
Line 10... Line 10...
10
        function (response) {
10
        function (response) {
11
            $('#main-content').html(response);
11
            $('#main-content').html(response);
12
        });
12
        });
13
});
13
});
14
 
14
 
-
 
15
$(document).on('click', ".beat-report-approval", function () {
-
 
16
    doGetAjaxRequestHandler(context + "/beat-report/approval",
-
 
17
        function (response) {
-
 
18
            $('#main-content').html(response);
-
 
19
        });
-
 
20
});
-
 
21
 
15
$(document).on('click', '.beat-report-fetch', function () {
22
$(document).on('click', '.beat-report-fetch', function () {
16
    var selectedDate = $("#beat-report-date").val();
23
    var selectedDate = $("#beat-report-date").val();
17
    if (!selectedDate) {
24
    if (!selectedDate) {
18
        alert("Please select a date!");
25
        alert("Please select a date!");
19
        return;
26
        return;