ztechno_core 0.0.118 → 0.0.120
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.
|
@@ -792,7 +792,7 @@ class InvoiceService {
|
|
|
792
792
|
// === SUBSIDY SECTION (shown before grand total when subsidies are present) ===
|
|
793
793
|
let subsidyTotal = 0;
|
|
794
794
|
if (subsidyItems.length > 0) {
|
|
795
|
-
P.
|
|
795
|
+
P.bold().size(10);
|
|
796
796
|
P.row('Totaal incl. BTW:', 370, this.formatMoney(serviceTotalIncVat, invoice.currency), col5)
|
|
797
797
|
.skip(4)
|
|
798
798
|
.dashedRule(370, 560)
|
|
@@ -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.
|
|
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);
|