| Day |
Timeline
0006121824
|
@foreach($statuses as $meta)
{{ $meta['label'] }} | @endforeachOnline |
|---|---|---|---|
| {{ \Carbon\Carbon::parse($date)->format('D j M') }} |
@foreach(($day['blocks'] ?? []) as $block)
@php
$meta = $statuses[$block['status']] ?? ['colour' => '#dee2e6', 'label' => $block['status']];
$left = $block['offset'] / 864;
$width = max($block['duration'] / 864, 0.4);
@endphp
@endforeach
|
@foreach($statuses as $key => $meta)
{{ $this->fmt($totals[$key] ?? 0) }} | @endforeach{{ $this->fmt($dayOnline) }} |