fixes #167077646, clin 3 not added to obligated total
This commit is contained in:
parent
074a358261
commit
ba99e04767
@ -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
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user