fix : redirection après login + écran des heures chauffeurs
Some checks failed
Auto Tag Develop / tag (push) Has been cancelled
Some checks failed
Auto Tag Develop / tag (push) Has been cancelled
This commit is contained in:
@@ -107,6 +107,10 @@ class WorkHour
|
||||
#[Groups(['work_hour:read'])]
|
||||
private ?int $nightHoursMinutes = null;
|
||||
|
||||
#[ORM\Column(type: 'integer', nullable: true)]
|
||||
#[Groups(['work_hour:read'])]
|
||||
private ?int $workshopHoursMinutes = null;
|
||||
|
||||
#[ORM\Column(type: 'boolean', options: ['default' => false])]
|
||||
#[Groups(['work_hour:read'])]
|
||||
private bool $hasBreakfast = false;
|
||||
@@ -115,6 +119,10 @@ class WorkHour
|
||||
#[Groups(['work_hour:read'])]
|
||||
private bool $hasLunch = false;
|
||||
|
||||
#[ORM\Column(type: 'boolean', options: ['default' => false])]
|
||||
#[Groups(['work_hour:read'])]
|
||||
private bool $hasDinner = false;
|
||||
|
||||
#[ORM\Column(type: 'boolean', options: ['default' => false])]
|
||||
#[Groups(['work_hour:read'])]
|
||||
private bool $hasOvernight = false;
|
||||
@@ -256,6 +264,18 @@ class WorkHour
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getWorkshopHoursMinutes(): ?int
|
||||
{
|
||||
return $this->workshopHoursMinutes;
|
||||
}
|
||||
|
||||
public function setWorkshopHoursMinutes(?int $workshopHoursMinutes): self
|
||||
{
|
||||
$this->workshopHoursMinutes = $workshopHoursMinutes;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getHasBreakfast(): bool
|
||||
{
|
||||
return $this->hasBreakfast;
|
||||
@@ -280,6 +300,18 @@ class WorkHour
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getHasDinner(): bool
|
||||
{
|
||||
return $this->hasDinner;
|
||||
}
|
||||
|
||||
public function setHasDinner(bool $hasDinner): self
|
||||
{
|
||||
$this->hasDinner = $hasDinner;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getHasOvernight(): bool
|
||||
{
|
||||
return $this->hasOvernight;
|
||||
|
||||
Reference in New Issue
Block a user