Fixed by PHP-CS-Fixer broken formattings

This commit is contained in:
Bernd Bestel
2020-10-18 15:08:09 +02:00
parent 9115645e19
commit f93261404b
5 changed files with 29 additions and 14 deletions

View File

@@ -99,9 +99,7 @@
<tbody class="d-none">
@foreach($tasks as $task)
<tr id="task-{{ $task->id }}-row"
class="@if($task->done == 1) text-muted @endif @if(!empty($task->due_date) && $task->due_date < date('Y-m-d')) table-danger @elseif(!empty($task->due_date) && $task->due_date < date('Y-m-d', strtotime("
+$nextXDays
days")))
class="@if($task->done == 1) text-muted @endif @if(!empty($task->due_date) && $task->due_date < date('Y-m-d')) table-danger @elseif(!empty($task->due_date) && $task->due_date < date('Y-m-d', strtotime('+' . $nextXDays . ' days')))
table-warning
@endif">
<td class="fit-content border-right">
@@ -156,7 +154,11 @@
@if($task->done == 1) text-muted @endif @if(!empty($task->due_date) && $task->due_date < date('Y-m-d'))
overdue
@elseif(!empty($task->due_date) && $task->due_date < date('Y-m-d',
strtotime("+$nextXDays days")))
strtotime('+'
.
$nextXDays
. ' days'
)))
duesoon
@endif
</td>