fixed start stop pause

This commit is contained in:
2025-11-24 20:02:40 +01:00
parent 6f3b933a71
commit 4c63f16a54
7 changed files with 2018 additions and 5 deletions
+5 -1
View File
@@ -71,10 +71,14 @@ $statusNome = $r['status_nome'];
<div class="record-expanded">
<?php if ($isInProduction || $isPaused): ?>
<div class="timer-display" data-start="<?= $startTime ?>">
<div class="timer-display"
data-start="<?= $r['start_time'] ? strtotime($r['start_time']) : '' ?>"
data-end="<?= $r['end_time'] ? strtotime($r['end_time']) : '' ?>">
<span class="timer">00:00:00</span>
</div>
<!-- Teorici nascosti (per modale finale) -->
<span data-field="kg_sp" style="display:none;"><?= $r['kg_sp'] ?></span>
<span data-field="metri" style="display:none;"><?= $r['metri'] ?></span>