From 823ed02a6ca4c9fd51d715b9faff5e2741f452e0 Mon Sep 17 00:00:00 2001 From: Tiago Bento Date: Wed, 27 Dec 2023 22:19:11 -0500 Subject: [PATCH] Fix sample.dmn --- .../online-editor/static/samples/Sample.dmn | 79 +++++++++---------- 1 file changed, 38 insertions(+), 41 deletions(-) diff --git a/packages/online-editor/static/samples/Sample.dmn b/packages/online-editor/static/samples/Sample.dmn index eb9d25d6b10..35323d352d7 100644 --- a/packages/online-editor/static/samples/Sample.dmn +++ b/packages/online-editor/static/samples/Sample.dmn @@ -182,9 +182,7 @@ - (Requested Product.Amount*((Requested - Product.Rate/100)/12))/(1-(1/(1+(Requested Product.Rate/100)/12)**-Requested - Product.Term)) + (Requested Product.Amount * ((Requested Product.Rate/100)/12)) / (1-(1/(1+(Requested Product.Rate/100)/12) ** -Requested Product.Term)) @@ -210,8 +208,8 @@ if Client PITI <= Lender Acceptable PITI() - then "Sufficient" - else "Insufficient" + then "Sufficient" + else "Insufficient" @@ -225,7 +223,7 @@ - (pmt+tax+insurance)/income + (pmt+tax+insurance) / income @@ -269,8 +267,8 @@ if Client DTI <= Lender Acceptable DTI() - then "Sufficient" - else "Insufficient" + then "Sufficient" + else "Insufficient" @@ -288,7 +286,7 @@ - + >= 750 @@ -376,7 +374,7 @@ - + "Poor", "Bad" @@ -451,8 +449,7 @@ "Not Qualified" - "Debt to income ratio is too high AND mortgage payment to income ratio is too - high." + "Debt to income ratio is too high AND mortgage payment to income ratio is too high." @@ -517,70 +514,70 @@ 50 - 100 - 1280 + 120 + 1255 50 - 100 - 1110 + 120 + 1065 - 1110 + 1065 - 1110 + 1065 - 1110 + 1065 - 1110 + 1065 - 1280 + 1255 - 300 + 440 50 - 300 + 440 50 100 - 802 + 782 50 100 - 632 + 612 - 632 + 612 - 632 + 612 - 802 + 782 50 - 224 - 226 - 335 + 133 + 147 + 100 50 - 227 - 125 - 125 - 135 - 681 + 242 + 142 + 140 + 140 + 705 100 @@ -650,7 +647,7 @@ - + @@ -716,22 +713,22 @@ - + - + - + - +