From ba99e04767896fe2c81aeda31d151769629b3bca Mon Sep 17 00:00:00 2001 From: mk-dds Date: Tue, 16 Jul 2019 13:57:43 -0400 Subject: [PATCH] fixes #167077646, clin 3 not added to obligated total --- js/components/forms/to_form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/components/forms/to_form.js b/js/components/forms/to_form.js index e6429226..adf063ca 100644 --- a/js/components/forms/to_form.js +++ b/js/components/forms/to_form.js @@ -63,7 +63,7 @@ export default { let newObligated = 0 Object.values(this.clinChildren).forEach(function(clin) { newTotal += clin.amount - if (clin.type.includes('1', '3')) { + if (clin.type.includes('1') || clin.type.includes('3')) { newObligated += clin.amount } })