We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4e88b8 commit 7c8c455Copy full SHA for 7c8c455
1 file changed
app/Exports/TimesheetExport.php
@@ -22,6 +22,7 @@ public function headings(): array
22
{
23
return [
24
'#',
25
+ 'Project',
26
'Ticket',
27
'User',
28
'Time',
@@ -45,6 +46,7 @@ public function collection(): Collection
45
46
foreach ($hours as $item) {
47
$collection->push([
48
'#' => $item->ticket->code,
49
+ 'project' => $item->ticket->project->name,
50
'ticket' => $item->ticket->name,
51
'user' => $item->user->name,
52
'time' => $item->forHumans,
0 commit comments