pdf uncomment

This commit is contained in:
amazuecos
2025-04-16 20:27:08 +02:00
parent 8e97e7b58c
commit 36f5d42d03

View File

@ -1,11 +1,11 @@
$(() => { $(() => {
// var opt = { var opt = {
// margin: 2, margin: 2,
// filename: "PDF_OrdenTrabajo_" + $(".pdf-wrapper").data("id") + ".pdf", filename: "PDF_OrdenTrabajo_" + $(".pdf-wrapper").data("id") + ".pdf",
// image: { type: 'jpeg', quality: 1 }, image: { type: 'jpeg', quality: 1 },
// html2canvas: { scale: 4 }, html2canvas: { scale: 4 },
// jsPDF: { unit: 'mm', format: 'a4', orientation: 'portrait' } jsPDF: { unit: 'mm', format: 'a4', orientation: 'portrait' }
// }; };
// let elementToPdf = $('body')[0] let elementToPdf = $('body')[0]
// html2pdf().set(opt).from(elementToPdf).save() html2pdf().set(opt).from(elementToPdf).save()
}) })