Submit
Path:
~
/
home
/
caratcollect
/
public_html
/
PDF
/
File Content:
pdfr.js
window.onload = function () { document.getElementById("download") .addEventListener("click", () => { const invoice = this.document.getElementById("invoice"); console.log(invoice); console.log(window); var opt = { margin: [0.5, 0.5, 0.5, 0.5], filename: 'receipt.pdf', image: { type: 'jpeg', quality: 0.98 }, html2canvas: { scale: 2 }, jsPDF: { unit: 'in', format: 'letter', orientation: 'portrait' } }; html2pdf().from(invoice).set(opt).save(); }) }
Submit
FILE
FOLDER
Name
Size
Permission
Action
Receipt - Copy.php
10288 bytes
0644
ReceiptPDF.php
10288 bytes
0644
pdf.css
1937 bytes
0644
pdf.html
10114 bytes
0644
pdf.js
632 bytes
0644
pdfr.js
636 bytes
0644
N4ST4R_ID | Naxtarrr