@use('Brick\Math\BigDecimal') @use('Brick\Money\Money') @use('PhpOffice\PhpSpreadsheet\Cell\DataType') @use('Carbon\CarbonInterval') @inject('interval', 'App\Service\IntervalService') Report

Detailed Report


{{ $start->format('d.m.Y') }} - {{ $end->format('d.m.Y') }}

Duration: {{ $interval->format(CarbonInterval::seconds($aggregatedData['seconds'])) }}
Total cost: {{ Money::of(BigDecimal::ofUnscaledValue($aggregatedData['cost'], 2)->__toString(), $currency)->formatTo('en_US') }}
@foreach($timeEntries as $timeEntry) @endforeach
Description Task Project Client User Duration Billable Tags
{{ $timeEntry->description === '' ? '-' : $timeEntry->description }} {{ $timeEntry->task?->name ?? '-' }} {{ $timeEntry->project?->name ?? '-' }} {{ $timeEntry->client?->name ?? '-' }} {{ $timeEntry->user->name }} {{ $timeEntry->start->format('Y-m-d H:i:s') }} - {{ $timeEntry->end->format('Y-m-d H:i:s') }} {{ $timeEntry->billable ? 'Yes' : 'No' }} {{ count($timeEntry->tagsRelation) === 0 ? '-' : $timeEntry->tagsRelation->implode('name', ', ') }}