Examples of Kost2Row


Examples of org.projectforge.fibu.MonthlyEmployeeReport.Kost2Row

      if (rowCounter++ % 2 == 0) {
        row.add(AttributeModifier.replace("class", "even"));
      } else {
        row.add(AttributeModifier.replace("class", "odd"));
      }
      final Kost2Row kost2Row = rowEntry.getValue();
      final Kost2DO cost2 = kost2Row.getKost2();
      addLabelCols(row, cost2, null, "kost2.nummer:" + cost2.getFormattedNumber(), report.getUser(), report.getFromDate().getTime(), report
          .getToDate().getTime());
      final RepeatingView colWeekRepeater = new RepeatingView("colWeekRepeater");
      row.add(colWeekRepeater);
      for (final MonthlyEmployeeReportWeek week : report.getWeeks()) {
        final MonthlyEmployeeReportEntry entry = week.getKost2Entries().get(kost2Row.getKost2().getId());
        colWeekRepeater.add(new Label(colWeekRepeater.newChildId(), entry != null ? entry.getFormattedDuration() : ""));
      }
      row.add(new Label("sum", report.getKost2Durations().get(cost2.getId()).getFormattedDuration()));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.