add missing project

This commit is contained in:
ralf 2024-02-05 10:04:24 +02:00
parent 34e0913a9f
commit 0bd3ac8529

View File

@ -52,6 +52,7 @@ class JsTimesheet extends Api\CalDAV\JsBase
'description' => $timesheet['description'], 'description' => $timesheet['description'],
'start' => self::UTCDateTime($timesheet['start'], true), 'start' => self::UTCDateTime($timesheet['start'], true),
'duration' => (int)$timesheet['duration'], 'duration' => (int)$timesheet['duration'],
'project' => $timesheet['project'],
'quantity' => (double)$timesheet['quantity'], 'quantity' => (double)$timesheet['quantity'],
'unitprice' => (double)$timesheet['unitprice'], 'unitprice' => (double)$timesheet['unitprice'],
'category' => self::categories($timesheet['cat_id']), 'category' => self::categories($timesheet['cat_id']),
@ -113,6 +114,7 @@ class JsTimesheet extends Api\CalDAV\JsBase
{ {
case 'title': case 'title':
case 'description': case 'description':
case 'project':
$timesheet['ts_'.$name] = $value; $timesheet['ts_'.$name] = $value;
break; break;