Compare commits
2 Commits
ddb6a4d53a
...
7a6aea2238
Author | SHA1 | Date |
---|---|---|
Arnaud Fornerot | 7a6aea2238 | |
afornerot | dfc348e650 |
|
@ -146,7 +146,10 @@ class BreakdayCommand extends Command
|
|||
$data->setIsbreakday(true);
|
||||
$data->setName($event->taskname);
|
||||
$data->setDatestart(clone $manip);
|
||||
|
||||
$data->setIstelework(false);
|
||||
$data->setIspenaltypassive(false);
|
||||
$data->setIspenaltyactive(false);
|
||||
|
||||
$manip->add(new \DateInterval("PT7H"));
|
||||
$data->setDateend(clone $manip);
|
||||
$this->em->persist($data);
|
||||
|
@ -194,6 +197,9 @@ class BreakdayCommand extends Command
|
|||
$data->setIsbreakday(true);
|
||||
$data->setName("AM = ".$event->taskname);
|
||||
$data->setDatestart(clone $manip);
|
||||
$data->setIstelework(false);
|
||||
$data->setIspenaltypassive(false);
|
||||
$data->setIspenaltyactive(false);
|
||||
|
||||
$manip->add(new \DateInterval("PT3H"));
|
||||
$manip->add(new \DateInterval("PT30M"));
|
||||
|
@ -241,8 +247,11 @@ class BreakdayCommand extends Command
|
|||
$data->setValidatemaster(false);
|
||||
$data->setIsbreakday(true);
|
||||
$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("PT30M"));
|
||||
$data->setDateend(clone $manip);
|
||||
|
|
Loading…
Reference in New Issue