Releases: h1dd3nsn1p3r/pdf-invoice
Releases · h1dd3nsn1p3r/pdf-invoice
1.0.9
What's Changed
- 🔥 Added: IBAN/Bank in company payload. by @h1dd3nsn1p3r in #34
Full Changelog: 0.0.8...1.0.9
0.0.8
What's Changed
- 🔥 Added: Font and style option in config. by @h1dd3nsn1p3r in #26
- 📝 Updated: docs. by @h1dd3nsn1p3r in #30
/* --------------------------------------------------------------------------
Optional: Config
-------------------------------------------------------------------------- */
const config = {
string: {
invoice: "F A C T U A",
refNumber: "Referencia",
date: "Fecha",
dueDate: "Fecha de vencimiento",
status: "επί πληρωμή",
billTo: "Facturar a",
item: "Artículo",
quantity: "Cantidad",
price: "Precio",
tax: "Impuesto",
total: "Total",
subTotal: "Subtotal",
totalTax: "Total Impuesto",
},
style: {
font: "Noto", // "Helvetica", "Times", "Courier"
fontSize: 10,
lineHeight: 1.2,
color: "#000000",
},
font: {
Noto: {
normal: path.join(__dirname, "fonts/noto/regular.ttf"),
italics: path.join(__dirname, "fonts/noto/italic.ttf"),
bold: path.join(__dirname, "fonts/noto/bold.ttf"),
bolditalics: path.join(__dirname, "fonts/noto/bold-italic.ttf"),
},
},
};
Full Changelog: 0.0.7...0.0.8
0.0.7
What's Changed
- 📦 Added: Config option. by @h1dd3nsn1p3r in #23
Limitations
For now, only Latin
characters are supported. It seems like a limitation of the Helvetica
font. I'll be adding support for other languages soon.
Full Changelog: 0.0.6...0.0.7
0.0.6
What's Changed
- 🐛 Fix: Create function promise now returns resolve or reject. by @h1dd3nsn1p3r in #18
- 📜 Updated: Docs.
Full Changelog: 0.0.5...0.0.6
0.0.5
What's Changed
- 📦 Added: TAX ID & company name in invoice. by @h1dd3nsn1p3r in #14
Full Changelog: 0.0.4...0.0.5
0.0.4
0.0.3
What's Changed
- 🐛 Fixed: homepage URL. by @h1dd3nsn1p3r in #6
- 🐛 Fixed: workflow. by @h1dd3nsn1p3r in #7
- 🐛 Fix: dist DIR path in package.json file by @h1dd3nsn1p3r in #9
Full Changelog: 0.0.2...0.0.3
0.0.2
0.0.1
What's Changed
- Initial release. by @h1dd3nsn1p3r in #1
Full Changelog: https://github.com/h1dd3nsn1p3r/pdf-invoice/commits/0.0.1