feat : Ajout du système de RTT sur la page employé avec le repport annuel des heures
All checks were successful
Auto Tag Develop / tag (push) Successful in 6s
All checks were successful
Auto Tag Develop / tag (push) Successful in 6s
This commit is contained in:
@@ -28,11 +28,17 @@ class EmployeeRttPayment
|
||||
#[ORM\Column(type: 'integer', options: ['comment' => 'Mois du paiement.'])]
|
||||
private int $month = 0;
|
||||
|
||||
#[ORM\Column(type: 'integer', options: ['comment' => 'Duree en minutes.'])]
|
||||
private int $minutes = 0;
|
||||
#[ORM\Column(type: 'integer', options: ['comment' => 'Base heures palier 25% en minutes.', 'default' => 0])]
|
||||
private int $base25Minutes = 0;
|
||||
|
||||
#[ORM\Column(type: 'string', length: 10, options: ['comment' => 'Taux applique.'])]
|
||||
private string $rate = '';
|
||||
#[ORM\Column(type: 'integer', options: ['comment' => 'Bonus 25% en minutes.', 'default' => 0])]
|
||||
private int $bonus25Minutes = 0;
|
||||
|
||||
#[ORM\Column(type: 'integer', options: ['comment' => 'Base heures palier 50% en minutes.', 'default' => 0])]
|
||||
private int $base50Minutes = 0;
|
||||
|
||||
#[ORM\Column(type: 'integer', options: ['comment' => 'Bonus 50% en minutes.', 'default' => 0])]
|
||||
private int $bonus50Minutes = 0;
|
||||
|
||||
#[ORM\Column(type: 'datetime_immutable')]
|
||||
private DateTimeImmutable $createdAt;
|
||||
@@ -88,26 +94,50 @@ class EmployeeRttPayment
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getMinutes(): int
|
||||
public function getBase25Minutes(): int
|
||||
{
|
||||
return $this->minutes;
|
||||
return $this->base25Minutes;
|
||||
}
|
||||
|
||||
public function setMinutes(int $minutes): self
|
||||
public function setBase25Minutes(int $base25Minutes): self
|
||||
{
|
||||
$this->minutes = $minutes;
|
||||
$this->base25Minutes = $base25Minutes;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getRate(): string
|
||||
public function getBonus25Minutes(): int
|
||||
{
|
||||
return $this->rate;
|
||||
return $this->bonus25Minutes;
|
||||
}
|
||||
|
||||
public function setRate(string $rate): self
|
||||
public function setBonus25Minutes(int $bonus25Minutes): self
|
||||
{
|
||||
$this->rate = $rate;
|
||||
$this->bonus25Minutes = $bonus25Minutes;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getBase50Minutes(): int
|
||||
{
|
||||
return $this->base50Minutes;
|
||||
}
|
||||
|
||||
public function setBase50Minutes(int $base50Minutes): self
|
||||
{
|
||||
$this->base50Minutes = $base50Minutes;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getBonus50Minutes(): int
|
||||
{
|
||||
return $this->bonus50Minutes;
|
||||
}
|
||||
|
||||
public function setBonus50Minutes(int $bonus50Minutes): self
|
||||
{
|
||||
$this->bonus50Minutes = $bonus50Minutes;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user