new export template (#3082)

This commit is contained in:
Kevin Papst
2022-01-22 13:20:22 +01:00
committed by GitHub
parent 3543e0a1b5
commit 1a0608f49e
8 changed files with 134 additions and 60 deletions

View File

@@ -10,14 +10,14 @@
namespace App\Export\Base;
use App\Activity\ActivityStatisticService;
use App\Export\ExportItemInterface;
use App\Invoice\InvoiceItemInterface;
use App\Project\ProjectStatisticService;
use App\Repository\Query\TimesheetQuery;
trait RendererTrait
{
/**
* @param ExportItemInterface[] $exportItems
* @param InvoiceItemInterface[] $exportItems
* @return array
*/
protected function calculateSummary(array $exportItems)
@@ -130,7 +130,7 @@ trait RendererTrait
}
/**
* @param ExportItemInterface[] $exportItems
* @param InvoiceItemInterface[] $exportItems
* @param TimesheetQuery $query
* @param ProjectStatisticService $projectStatisticService
* @return array
@@ -209,7 +209,7 @@ trait RendererTrait
}
/**
* @param ExportItemInterface[] $exportItems
* @param InvoiceItemInterface[] $exportItems
* @param TimesheetQuery $query
* @param ActivityStatisticService $activityStatisticService
* @return array