Subversion Repositories SmartDukaan

Rev

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

Rev 33737 Rev 33809
Line 787... Line 787...
787
});
787
});
788
 
788
 
789
$(document).on('click', '.generateVendorDebitNoteExcel', function () {
789
$(document).on('click', '.generateVendorDebitNoteExcel', function () {
790
    var startDate = getDatesFromPicker('input[name="date-duration"]').startDate;
790
    var startDate = getDatesFromPicker('input[name="date-duration"]').startDate;
791
    var endDate = getDatesFromPicker('input[name="date-duration"]').endDate;
791
    var endDate = getDatesFromPicker('input[name="date-duration"]').endDate;
792
    doAjaxGetDownload(context + "/generateVendorDebitNoteExcel?startDate=" + startDate + "&endDate=" + endDate, "VendorDebitNoteReport.xlsx");
792
    doAjaxGetDownload(context + "/generateVendorDebitNoteExcel?startDate=" + startDate + "&endDate=" + endDate, "VendorDebitNoteReport.csv");
793
});
793
});
794
 
794
 
795
function loadWarehouseInvoices(domId) {
795
function loadWarehouseInvoices(domId) {
796
    doGetAjaxRequestHandler(context + "/getWarehouseInvoices", function (response) {
796
    doGetAjaxRequestHandler(context + "/getWarehouseInvoices", function (response) {
797
        $('#' + domId).html(response);
797
        $('#' + domId).html(response);