Budget graph in project details (#3406)

* do not copy description if restarting via calendar
* added support to display negative durations
* fix charts for larger numbers
This commit is contained in:
Kevin Papst
2022-07-13 17:21:36 +02:00
committed by GitHub
parent 245dd47082
commit 0dba83d8e9
26 changed files with 400 additions and 80 deletions

View File

@@ -35,7 +35,6 @@ class TimesheetEntryTest extends TestCase
$timesheet->addTag((new Tag())->setName('action test'));
$expectedData = [
'description' => 'hello foo bar',
'activity' => null,
'project' => null,
'tags' => 'bulb,action test',
@@ -56,10 +55,9 @@ class TimesheetEntryTest extends TestCase
$timesheet = new Timesheet();
$expectedData = [
'description' => null,
'activity' => null,
'project' => null,
'tags' => '',
'tags' => null,
];
$sut = new TimesheetEntry($timesheet, '#ddd');