From 53be1f1701647f116050222d9aad9b2e97f3c6d5 Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Fri, 6 Dec 2024 15:49:44 +0100 Subject: [PATCH] imp: Set the default value of Contract time accounting unit to 30 --- src/Entity/Contract.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Entity/Contract.php b/src/Entity/Contract.php index 01b55f88..092b4e71 100644 --- a/src/Entity/Contract.php +++ b/src/Entity/Contract.php @@ -120,7 +120,7 @@ public function __construct() $this->maxHours = 10; $this->startAt = Utils\Time::now(); $this->endAt = Utils\Time::relative('last day of december'); - $this->timeAccountingUnit = 0; + $this->timeAccountingUnit = 30; $this->notes = ''; $this->hoursAlert = 0; $this->dateAlert = 0;