This commit is contained in:
Skylar Grant 2024-09-13 09:41:49 -04:00
parent 16ed02c6f7
commit d04ab004b1
1 changed files with 5 additions and 1 deletions

View File

@ -91,12 +91,16 @@ 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();