fixes #167077646, clin 3 not added to obligated total

This commit is contained in:
mk-dds 2019-07-16 13:57:43 -04:00
parent 074a358261
commit ba99e04767

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