Merge pull request #566 from tiwariav/bugifx/order_pdf_resolution
bugfix/invoice pdf resolution
This commit is contained in:
commit
cdd4a8e041
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue