Subversion Repositories SmartDukaan

Rev

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

Rev 30257 Rev 30279
Line 807... Line 807...
807
                        $('.reportContainer').html(response);
807
                        $('.reportContainer').html(response);
808
                    });
808
                    });
809
                });
809
                });
810
 
810
 
811
 
811
 
812
        $(document).on("click", ".clickshwograph",
-
 
813
                function () {
-
 
814
 
-
 
815
 
-
 
816
                    doGetAjaxRequestHandler(context + "/getMobileLMSFilter", function (response) {
812
	            doGetAjaxRequestHandler(context + "/getMobileLMSFilter", function (response) {
817
                        $('.chartfilterlmsContainer').html(response);
813
                    $('.chartfilterlmsContainer').html(response);
818
                        $('.brand_month_sales').click();
-
 
819
 
-
 
820
                    });
-
 
821
                });
814
                });
822
 
815
 
823
 
816
 
-
 
817
 
824
        $(document).on(
818
        $(document).on(
825
                'click',
819
                'click',
826
                ".brand_month_sales",
820
                ".brand_month_sales",
827
                function () {
821
                function () {
828
 
822
 
Line 830... Line 824...
830
                    $(".bms").css("background-color", "white");
824
                    $(".bms").css("background-color", "white");
831
                    $(".bmp").css("color", "white");
825
                    $(".bmp").css("color", "white");
832
                    $(".bmp").css("background-color", "#C0C0C0");
826
                    $(".bmp").css("background-color", "#C0C0C0");
833
 
827
 
834
                    var warehouseId = $('#warehouseMap').val();
828
                    var warehouseId = $('#warehouseMap').val();
835
                    var date = $('.date-set').val();
829
                  	var filterType = $('#monthDateFilter').val();
836
 
830
	
837
                    var fofoIds = $('#fofo-users').val();
831
                    var fofoIds = $('#fofo-users').val();
838
 
832
 
839
                    doGetAjaxRequestHandler(context
833
                  doGetAjaxRequestHandler(context
840
                            + "/getMobileLMSGraph?warehouseId=" + warehouseId
834
						+ "/getMobileLMSGraph?warehouseId=" + warehouseId
841
                            + "&date=" + date + "&fofoIds=" + fofoIds, function (
835
						+ "&date=" + startDate  + "&endDate=" + endDate  + "&fofoIds=" + fofoIds + "&filterType=" + filterType, function(
842
                            response) {
836
						response) {
843
 
837
 
844
                        $('.chartLmsContainer').html(response);
838
                        $('.chartLmsContainer').html(response);
845
                    });
839
                    });
846
                });
840
                });
847
 
841