This commit is contained in:
Skylar Grant 2024-09-13 09:41:49 -04:00
parent 16ed02c6f7
commit d04ab004b1

View File

@ -91,11 +91,15 @@ module.exports = {
// }); // });
for (row of infoArray) { for (row of infoArray) {
doc.moveDown(); // doc.moveDown();
doc.font(row.font).text(row.text, { doc.font(row.font).text(row.text, {
align: 'left', align: 'left',
}); });
} }
doc.font('public/Outfit-Regular.ttf').text(receiptFooter, {
align: 'left',
});
// Finalize the PDF // Finalize the PDF
doc.end(); doc.end();