working timers
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
@php
|
@php
|
||||||
use Illuminate\Support\Str;use Modules\Helpdesk\Models\TicketTimeLog;
|
use Illuminate\Support\Str;
|
||||||
|
use Modules\Helpdesk\Models\TicketTimeLog;
|
||||||
$currentUser = auth()->user();
|
$currentUser = auth()->user();
|
||||||
$currentCompany = $currentUser?->company;
|
$currentCompany = $currentUser?->company;
|
||||||
$canSeeInternalNotes =
|
$canSeeInternalNotes =
|
||||||
@@ -1205,7 +1205,7 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
@php
|
@php
|
||||||
$timeLogSeconds = (int) ($timeLog->seconds ?? ((int) $timeLog->minutes * 60));
|
$timeLogSeconds = max(0, (int) ($timeLog->seconds ?? ((int) $timeLog->minutes * 60)));
|
||||||
@endphp
|
@endphp
|
||||||
<span class="shrink-0 rounded-lg bg-emerald-600 px-3 py-1.5 text-xs font-black text-white">
|
<span class="shrink-0 rounded-lg bg-emerald-600 px-3 py-1.5 text-xs font-black text-white">
|
||||||
{{ gmdate('H:i:s', $timeLogSeconds) }}
|
{{ gmdate('H:i:s', $timeLogSeconds) }}
|
||||||
|
|||||||
Reference in New Issue
Block a user