Subversion Repositories SmartDukaan

Rev

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

Rev 34051 Rev 34099
Line 556... Line 556...
556
    doAjaxRequestHandler(`${context}/uploadNocPanel`, "GET",
556
    doAjaxRequestHandler(`${context}/uploadNocPanel`, "GET",
557
        function (response) {
557
        function (response) {
558
            $('#' + domId).html(response);
558
            $('#' + domId).html(response);
559
        });
559
        });
560
}
560
}
-
 
561
 
-
 
562
$(document).on('click', "#download-pdm-report", function () {
-
 
563
    const brandName = $('select[name="brandName"]').val();
-
 
564
    if(!brandName){
-
 
565
        alert("Please choose Brand Name");
-
 
566
        return;
-
 
567
    }
-
 
568
    console.log("brand - ",brandName);
-
 
569
    window.location.href = `${context}/downloadPdmReport?brandName=${brandName}`;
-
 
570
});
-
 
571
 
-
 
572