Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:dbisUnibas/ReqMan into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
sauterl committed Mar 23, 2020
2 parents 3529480 + 6fa6aee commit 93008b4
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public static void exportRequirements(List<Group> groups, File export, Milestone
cell.setCellStyle(footerStyle);

cell = row.createCell(5, CellType.FORMULA);
cell.setCellFormula("SUMIF(A3:A" + (2 + _reqs.size()) + ", \"YES\", E3:E" + (2 + _reqs.size()) + ")");
cell.setCellFormula("SUMIF(A3:A" + (2 + _reqs.size()) + ", \"YES\", F3:F" + (2 + _reqs.size()) + ")");
cell.setCellStyle(footerStyle);
}

Expand Down Expand Up @@ -162,6 +162,9 @@ private static void writeReqs(Type type) {
//Write Regular requirements
boolean one = true;
for (Requirement req : _reqs) {
if (req.isDisabled()) {
continue;
}
if (req.getType() == type) {
int colNum = 0;
XSSFRow row = _sheet.createRow(_rowNum++);
Expand Down

0 comments on commit 93008b4

Please sign in to comment.