- let income = 0;
- income += this.getValue(tr, '1');
- income += this.getValue(tr, '2b');
- income += this.getValue(tr, '3b');
- income += this.getValue(tr, '4b');
- income += this.getValue(tr, '4d');
- //income += this.getValue(tr, '5b');
- income += this.getValue(tr, '6');
- income += this.getValue(tr, '7a');
- return income;
+ return sumFormLines(tr, this, ['1', '2b', '3b', '4b', '4d', '5b', '6', '7a']);