Merge pull request #566 from tiwariav/bugifx/order_pdf_resolution

bugfix/invoice pdf resolution
This commit is contained in:
Arvind Tiwari 2018-02-05 03:25:19 +05:30 committed by GitHub
commit cdd4a8e041
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,9 @@ $(document).ready(function() {
var fileName = $target.attr('id') + '.pdf'; var fileName = $target.attr('id') + '.pdf';
html2pdf($target[0], { html2pdf($target[0], {
filename: fileName, filename: fileName,
html2canvas: {
scale: 2
}
}); });
}); });
$('.btn-print').click(function(e) { $('.btn-print').click(function(e) {