feat : ajout d'un écran pour le récap congés et RTT
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:
@@ -90,6 +90,11 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface
|
||||
#[SerializedName('isLocked')]
|
||||
private bool $isLocked = false;
|
||||
|
||||
#[ORM\Column(type: 'boolean', options: ['default' => false])]
|
||||
#[Groups(['user:write'])]
|
||||
#[SerializedName('hasLeaveRecapAccess')]
|
||||
private bool $hasLeaveRecapAccess = false;
|
||||
|
||||
/**
|
||||
* @var Collection<int, UserSiteRole>
|
||||
*/
|
||||
@@ -224,6 +229,20 @@ class User implements UserInterface, PasswordAuthenticatedUserInterface
|
||||
return $this;
|
||||
}
|
||||
|
||||
#[Groups(['user:read'])]
|
||||
#[SerializedName('hasLeaveRecapAccess')]
|
||||
public function hasLeaveRecapAccess(): bool
|
||||
{
|
||||
return $this->hasLeaveRecapAccess;
|
||||
}
|
||||
|
||||
public function setHasLeaveRecapAccess(bool $hasLeaveRecapAccess): self
|
||||
{
|
||||
$this->hasLeaveRecapAccess = $hasLeaveRecapAccess;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
#[Groups(['user:read'])]
|
||||
public function getIsDriver(): bool
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user