code improvements (#1423)
* removed unused mapping information * added support for further field types * fixed changing date objects for begin and end * added more project fields as invoice variables * theme update and asset rebuild
This commit is contained in:
@@ -50,7 +50,9 @@ final class DurationOnlyMode extends AbstractTrackingMode
|
||||
$timesheet->setBegin($this->dateTime->createDateTime());
|
||||
}
|
||||
|
||||
$timesheet->getBegin()->modify($this->configuration->getDefaultBeginTime());
|
||||
$newBegin = clone $timesheet->getBegin();
|
||||
$newBegin->modify($this->configuration->getDefaultBeginTime());
|
||||
$timesheet->setBegin($newBegin);
|
||||
|
||||
parent::create($timesheet, $request);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user