sort invoice items by date before passing to template (#4495)

This commit is contained in:
Kevin Papst
2023-12-17 16:50:47 +01:00
committed by GitHub
parent 5f4b6d3cfa
commit 2edcbcca50
14 changed files with 113 additions and 66 deletions

View File

@@ -49,7 +49,7 @@ class DefaultCalculatorTest extends AbstractCalculatorTest
$timesheet2 = new Timesheet();
$timesheet2->setDescription('foo 2');
$timesheet2->setBegin(clone $date);
$timesheet2->setBegin(new \DateTime('2018-11-18'));
$timesheet2->setDuration(400);
$timesheet2->setRate(84);
$timesheet2->setActivity(new Activity());