Merge pull request #974 from dod-ccpo/clin-3-update-167077646

fixes #167077646, clin type 3 not added to obligated total
This commit is contained in:
mk-dds
2019-07-17 10:23:58 -04:00
committed by GitHub

View File

@@ -63,7 +63,7 @@ export default {
let newObligated = 0 let newObligated = 0
Object.values(this.clinChildren).forEach(function(clin) { Object.values(this.clinChildren).forEach(function(clin) {
newTotal += clin.amount newTotal += clin.amount
if (clin.type.includes('1', '3')) { if (clin.type.includes('1') || clin.type.includes('3')) {
newObligated += clin.amount newObligated += clin.amount
} }
}) })