ztechno_core 0.0.119 → 0.0.121

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.
@@ -798,7 +798,7 @@ class InvoiceService {
798
798
  .dashedRule(370, 560)
799
799
  .skip(8);
800
800
  P.bold().size(9);
801
- P.text('Geschatte Subsidie', 50, {}, 12);
801
+ P.text('Geschatte Subsidie', 50, { width: 300 }, 12);
802
802
  P.normal().size(9);
803
803
  for (const item of subsidyItems) {
804
804
  const subsidyAmount = Number(item.total_inc_vat ?? 0); // negative
@@ -811,7 +811,9 @@ class InvoiceService {
811
811
  }
812
812
  const grandTotal = serviceTotalIncVat + subsidyTotal; // subsidyTotal is negative
813
813
  if (subsidyItems.length > 0) {
814
- P.row('Totale Investering incl. Subsidie:', 370, this.formatMoney(grandTotal, invoice.currency), col5, 20);
814
+ P.bold();
815
+ P.row('Totale Investering incl. Subsidie:', 280, this.formatMoney(grandTotal, invoice.currency), col5, 20);
816
+ P.normal();
815
817
  } else {
816
818
  P.bold();
817
819
  P.row('Totaal incl. BTW:', 370, this.formatMoney(grandTotal, invoice.currency), col5, 20);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztechno_core",
3
- "version": "0.0.119",
3
+ "version": "0.0.121",
4
4
  "description": "Core files for ztechno framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",