From 0bd3ac852913e7bbdec9429574e3207767bc62a6 Mon Sep 17 00:00:00 2001 From: ralf Date: Mon, 5 Feb 2024 10:04:24 +0200 Subject: [PATCH] add missing project --- timesheet/src/JsTimesheet.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/timesheet/src/JsTimesheet.php b/timesheet/src/JsTimesheet.php index 02382783a6..30eab367b9 100644 --- a/timesheet/src/JsTimesheet.php +++ b/timesheet/src/JsTimesheet.php @@ -52,6 +52,7 @@ class JsTimesheet extends Api\CalDAV\JsBase 'description' => $timesheet['description'], 'start' => self::UTCDateTime($timesheet['start'], true), 'duration' => (int)$timesheet['duration'], + 'project' => $timesheet['project'], 'quantity' => (double)$timesheet['quantity'], 'unitprice' => (double)$timesheet['unitprice'], 'category' => self::categories($timesheet['cat_id']), @@ -113,6 +114,7 @@ class JsTimesheet extends Api\CalDAV\JsBase { case 'title': case 'description': + case 'project': $timesheet['ts_'.$name] = $value; break;