Add weekly progress and validation
This commit is contained in:
1 parent
23416ee382
commit
1cdef43a87
6 files changed
+39
-11
No files matched your search
@@ -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