Subversion Repositories SmartDukaan

Rev

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

Rev 36806 Rev 36814
Line 3... Line 3...
3
        function (response) {
3
        function (response) {
4
            $('#main-content').html(response);
4
            $('#main-content').html(response);
5
        });
5
        });
6
});
6
});
7
 
7
 
-
 
8
$(document).on('click', ".company-office-list", function () {
-
 
9
    doGetAjaxRequestHandler(context + "/company-office-list",
-
 
10
        function (response) {
-
 
11
            $('#main-content').html(response);
-
 
12
        });
-
 
13
});
-
 
14
 
8
$(document).on('click', '.beat-report-fetch', function () {
15
$(document).on('click', '.beat-report-fetch', function () {
9
    var selectedDate = $("#beat-report-date").val();
16
    var selectedDate = $("#beat-report-date").val();
10
    if (!selectedDate) {
17
    if (!selectedDate) {
11
        alert("Please select a date!");
18
        alert("Please select a date!");
12
        return;
19
        return;