Compare commits

..

2 Commits

Author SHA1 Message Date
Arnaud Fornerot 7a6aea2238 Merge branch 'master' into dist/eole/2.8.1/master 2022-08-24 09:41:40 +02:00
afornerot dfc348e650 correction synchronisation schedule 2022-08-24 09:41:07 +02:00
1 changed files with 12 additions and 3 deletions

View File

@ -146,6 +146,9 @@ 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);
@ -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"));
@ -242,6 +248,9 @@ class BreakdayCommand extends Command
$data->setIsbreakday(true);
$data->setName("PM = ".$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"));