Compare commits

..

No commits in common. "7a6aea2238f1e9b9adcbd889ead2fac5666223a9" and "ddb6a4d53a1b49cd3608539d83b5a313b2b60835" have entirely different histories.

1 changed files with 3 additions and 12 deletions

View File

@ -146,10 +146,7 @@ class BreakdayCommand extends Command
$data->setIsbreakday(true); $data->setIsbreakday(true);
$data->setName($event->taskname); $data->setName($event->taskname);
$data->setDatestart(clone $manip); $data->setDatestart(clone $manip);
$data->setIstelework(false);
$data->setIspenaltypassive(false);
$data->setIspenaltyactive(false);
$manip->add(new \DateInterval("PT7H")); $manip->add(new \DateInterval("PT7H"));
$data->setDateend(clone $manip); $data->setDateend(clone $manip);
$this->em->persist($data); $this->em->persist($data);
@ -197,9 +194,6 @@ class BreakdayCommand extends Command
$data->setIsbreakday(true); $data->setIsbreakday(true);
$data->setName("AM = ".$event->taskname); $data->setName("AM = ".$event->taskname);
$data->setDatestart(clone $manip); $data->setDatestart(clone $manip);
$data->setIstelework(false);
$data->setIspenaltypassive(false);
$data->setIspenaltyactive(false);
$manip->add(new \DateInterval("PT3H")); $manip->add(new \DateInterval("PT3H"));
$manip->add(new \DateInterval("PT30M")); $manip->add(new \DateInterval("PT30M"));
@ -247,11 +241,8 @@ class BreakdayCommand extends Command
$data->setValidatemaster(false); $data->setValidatemaster(false);
$data->setIsbreakday(true); $data->setIsbreakday(true);
$data->setName("PM = ".$event->taskname); $data->setName("PM = ".$event->taskname);
$data->setDatestart(clone $manip); $data->setDatestart(clone $manip);
$data->setIstelework(false);
$data->setIspenaltypassive(false);
$data->setIspenaltyactive(false);
$manip->add(new \DateInterval("PT3H")); $manip->add(new \DateInterval("PT3H"));
$manip->add(new \DateInterval("PT30M")); $manip->add(new \DateInterval("PT30M"));
$data->setDateend(clone $manip); $data->setDateend(clone $manip);