ztechno_core 0.0.121 → 0.0.123
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.
|
@@ -804,16 +804,16 @@ class InvoiceService {
|
|
|
804
804
|
const subsidyAmount = Number(item.total_inc_vat ?? 0); // negative
|
|
805
805
|
subsidyTotal += subsidyAmount;
|
|
806
806
|
doc.text(item.description, col1, P.y, { width: 400 });
|
|
807
|
-
doc.text(
|
|
807
|
+
doc.text(`- ${this.formatMoney(Math.abs(subsidyAmount), invoice.currency)}`, col5, P.y);
|
|
808
808
|
P.skip(14);
|
|
809
809
|
}
|
|
810
|
-
P.
|
|
810
|
+
P.dashedRule(370, 560).skip(8);
|
|
811
811
|
}
|
|
812
812
|
const grandTotal = serviceTotalIncVat + subsidyTotal; // subsidyTotal is negative
|
|
813
|
+
P.size(10);
|
|
813
814
|
if (subsidyItems.length > 0) {
|
|
814
|
-
P.bold();
|
|
815
|
-
P.row('Totale Investering incl. Subsidie:', 280, this.formatMoney(grandTotal, invoice.currency), col5, 20);
|
|
816
815
|
P.normal();
|
|
816
|
+
P.row('Uw Totale Investering incl. Subsidie:', 290, this.formatMoney(grandTotal, invoice.currency), col5, 20);
|
|
817
817
|
} else {
|
|
818
818
|
P.bold();
|
|
819
819
|
P.row('Totaal incl. BTW:', 370, this.formatMoney(grandTotal, invoice.currency), col5, 20);
|