Skip to content

Commit 7c8c455

Browse files
committed
Update TimesheetExport.php
1 parent e4e88b8 commit 7c8c455

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

app/Exports/TimesheetExport.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public function headings(): array
2222
{
2323
return [
2424
'#',
25+
'Project',
2526
'Ticket',
2627
'User',
2728
'Time',
@@ -45,6 +46,7 @@ public function collection(): Collection
4546
foreach ($hours as $item) {
4647
$collection->push([
4748
'#' => $item->ticket->code,
49+
'project' => $item->ticket->project->name,
4850
'ticket' => $item->ticket->name,
4951
'user' => $item->user->name,
5052
'time' => $item->forHumans,

0 commit comments

Comments
 (0)