From 70ff08edd329c6ec8f40d351be4b4ec30f8f847d Mon Sep 17 00:00:00 2001 From: Pek5892 Date: Mon, 29 May 2023 14:07:44 +0200 Subject: [PATCH] Fix minore --- include/top.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/include/top.php b/include/top.php index 4608217df..2628e9eea 100755 --- a/include/top.php +++ b/include/top.php @@ -554,13 +554,16 @@ if (Auth::check()) { // Tab per le checklist if ($structure->permission != '-' && $structure->use_checklists) { - $checklists = $structure->checks()->where('checked_at', null)->get(); + $checklists_unchecked = $structure->checks()->where('checked_at', null)->get(); + $checklists_total = $structure->checks()->get(); echo '
  • '.tr('Checklist').' - '.($checklists->count() ?: '').' + '.($checklists_total->count() ?: '').' + '.tr(' / ').' + '.($checklists_unchecked->count() ?: '').'
  • '; }