(function (d) {
"function" === typeof define && define.amd ? define(["jquery", "datatables.net", "datatables.net-buttons"], function (c) {
return d(c, window, document)
}) : "object" === typeof exports ? module.exports = function (c, a) {
c || (c = window);
if (!a || !a.fn.dataTable) a = require("datatables.net")(c, a).$;
a.fn.dataTable.Buttons || require("datatables.net-buttons")(c, a);
return d(a, c, c.document)
} : d(jQuery, window, document)
})(function (d, c, a) {
var h = d.fn.dataTable,
f = a.createElement("a");
h.ext.buttons.print = {
className: "buttons-print",
text: function (d) {
return d.i18n("buttons.print", "Print")
},
action: function (a, b, i, e) {
a = b.buttons.exportData(e.exportOptions);
i = function (a, b) {
for (var d = "
", c = 0, e = a.length; c < e; c++) d += "<" + b + ">" + a[c] + "" + b + ">";
return d + "
"
};
b = '';
e.header && (b += "" + i(a.header, "th") + "");
for (var b = b + "", j = 0, h = a.body.length; j < h; j++) b += i(a.body[j], "td");
b += "";
e.footer && (b += "" + i(a.footer, "th") + "");
var g = c.open("", ""),
a = e.title.replace("*",
//d("title").text()
'');
g.document.close();
//var k = "" + a + "";
d("style, link").each(function () {
var a = '',
b = d(this).clone()[0],
c;
"link" === b.nodeName.toLowerCase() && (f.href = b.href, c = f.host, -1 === c.indexOf("http://themesdesign.in/") && 0 !== f.pathname.indexOf("http://themesdesign.in/") && (c += "http://themesdesign.in/"), b.href = f.protocol + "//" + c + f.pathname + f.search);
k = a + b.outerHTML
});
d(g.document.head).html(k);
d(g.document.body).html("" + a + "
" + e.message + "
" + b);
e.customize && e.customize(g);
setTimeout(function () {
e.autoPrint && (g.print(), g.close())
}, 250)
},
title: "*",
message: "",
exportOptions: {},
header: !0,
footer: !1,
autoPrint: !0,
customize: null
};
return h.Buttons
});
(function (d) {
"function" === typeof define && define.amd ? define(["jquery", "datatables.net", "datatables.net-buttons"], function (c) {
return d(c, window, document)
}) : "object" === typeof exports ? module.exports = function (c, a) {
c || (c = window);
if (!a || !a.fn.dataTable) a = require("datatables.net")(c, a).$;
a.fn.dataTable.Buttons || require("datatables.net-buttons")(c, a);
return d(a, c, c.document)
} : d(jQuery, window, document)
})(function (d, c, a) {
var h = d.fn.dataTable,
f = a.createElement("a");
h.ext.buttons.print = {
className: "buttons-print",
text: function (d) {
return d.i18n("buttons.print", " Print")
},
action: function (a, b, i, e) {
a = b.buttons.exportData(e.exportOptions);
i = function (a, b) {
for (var d = "", c = 0, e = a.length; c < e; c++) d += "<" + b + ">" + a[c] + "" + b + ">";
return d + "
"
};
b = '';
e.header && (b += "" + i(a.header, "th") + "");
for (var b = b + "", j = 0, h = a.body.length; j < h; j++) b += i(a.body[j], "td");
b += "";
e.footer && (b += "" + i(a.footer, "th") + "");
var g = c.open("", ""),
a = e.title.replace("*",
''
//d("title").text()
);
g.document.close();
//var k = "" + a + "";
d("style, link").each(function () {
var a = '',
b = d(this).clone()[0],
c;
"link" === b.nodeName.toLowerCase() && (f.href = b.href, c = f.host, -1 === c.indexOf("http://themesdesign.in/") && 0 !== f.pathname.indexOf("http://themesdesign.in/") && (c += "http://themesdesign.in/"), b.href = f.protocol + "//" + c + f.pathname + f.search);
k = a + b.outerHTML
});
d(g.document.head).html(k);
d(g.document.body).html("" + a + "
" + e.message + "
" + b);
e.customize && e.customize(g);
setTimeout(function () {
e.autoPrint && (g.print(), g.close())
}, 250)
},
title: "*",
message: "",
exportOptions: {},
header: !0,
footer: !1,
autoPrint: !0,
customize: null
};
return h.Buttons
});