ztechno_core 0.0.109 → 0.0.110
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -637,7 +637,7 @@ class InvoiceService {
|
|
|
637
637
|
// === COMPANY LOGO (left-aligned) ===
|
|
638
638
|
const logoPath = path_1.default.join(process.cwd(), '../zwebsite/public/img/invoice/invoice-logo.png');
|
|
639
639
|
if (fs_1.default.existsSync(logoPath)) {
|
|
640
|
-
doc.image(logoPath, 50, 50, { width:
|
|
640
|
+
doc.image(logoPath, 50, 50, { width: 150 }); // Left side of A4 page
|
|
641
641
|
}
|
|
642
642
|
const cfg = this.opt.siteConfig;
|
|
643
643
|
// === SUPPLIER INFORMATION (right-aligned, Dutch law: name, address, BTW, KVK) ===
|
|
@@ -693,7 +693,7 @@ class InvoiceService {
|
|
|
693
693
|
const col4 = 390; // Unit price (excl. VAT)
|
|
694
694
|
const col5 = 480; // Total Ex. VAT
|
|
695
695
|
doc.fontSize(9).font('Helvetica-Bold');
|
|
696
|
-
doc.text('
|
|
696
|
+
doc.text('Product / Dienst', col1, tableTop);
|
|
697
697
|
doc.text('Aantal', col2, tableTop);
|
|
698
698
|
doc.text('BTW %', col3, tableTop);
|
|
699
699
|
doc.text('Prijs excl.', col4, tableTop);
|