ztechno_core 0.0.115 → 0.0.117

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.
@@ -817,18 +817,18 @@ class InvoiceService {
817
817
  const footerStartY = P.y + 10;
818
818
  // LEFT COLUMN: Description + Payment terms
819
819
  P.y = footerStartY;
820
- if (invoice.description) {
820
+ if (invoice.payment_terms) {
821
821
  P.size(10).bold();
822
- P.text('Omschrijving:', 50, {}, 12);
822
+ P.text('Betalingsvoorwaarden:', 50, { width: 260 }, 12);
823
823
  P.normal();
824
- P.text(invoice.description, 50, { width: 260 }, 12);
825
- P.skip(4);
824
+ P.text(invoice.payment_terms, 50, { width: 260 }, 12);
826
825
  }
827
- if (invoice.payment_terms) {
826
+ if (invoice.description) {
828
827
  P.size(10).bold();
829
- P.text('Betalingsvoorwaarden:', 50, {}, 12);
828
+ P.text('Omschrijving:', 50, { width: 260 }, 12);
830
829
  P.normal();
831
- P.text(invoice.payment_terms, 50, { width: 260 }, 12);
830
+ P.text(invoice.description, 50, { width: 260 }, 12);
831
+ P.skip(4);
832
832
  }
833
833
  const leftColEndY = P.y;
834
834
  // RIGHT COLUMN: Bank details
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztechno_core",
3
- "version": "0.0.115",
3
+ "version": "0.0.117",
4
4
  "description": "Core files for ztechno framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",