Add weekly progress and validation
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
<p><?= e($habit['description']) ?></p>
|
||||
<small>
|
||||
<?= e($habit['category_name'] ?? 'Ohne Kategorie') ?> |
|
||||
Ziel: <?= (int) $habit['target_per_week'] ?>x pro Woche
|
||||
Woche: <?= (int) $habit['completed_this_week'] ?> / <?= (int) $habit['target_per_week'] ?> erledigt
|
||||
</small>
|
||||
</div>
|
||||
</div>
|
||||
@@ -64,4 +64,3 @@
|
||||
</article>
|
||||
<?php endforeach; ?>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user