Ejemplo n.º 1
0
  public static TimeSheet getTimeSheetINS(int dayOfWeek) {
    TimeSheet t = new TimeSheet();
    t.dayOfWeek = dayOfWeek;
    t.department = DepartmentFixture.getINSDepartment();
    t.frequence = 0;
    t.isWorkDay = true;
    t.workStartTime = "09:00";
    t.workStopTime = "12:00";
    t.save();

    return t;
  }
Ejemplo n.º 2
0
  static TimeSheet getEvenTimeSheetIT() {
    TimeSheet t = new TimeSheet();
    t.dayOfWeek = 0;
    t.department = DepartmentFixture.getITDepartment();
    t.frequence = 2;
    t.isWorkDay = true;
    t.workStartTime = "09:00";
    t.workStopTime = "12:00";
    t.save();

    return t;
  }
Ejemplo n.º 3
0
  public static TimeSheet getTimeSheetINSNoTime(int dayOfWeek) {
    TimeSheet t = new TimeSheet();
    t.dayOfWeek = dayOfWeek;
    t.department = DepartmentFixture.getINSDepartment();
    t.frequence = 0;
    t.isWorkDay = true;
    t.save();

    return t;
  }