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
commit b3f8f20721
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}
})