1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-03-09 15:50:14 +01:00

fix: conteggio badge checklist

This commit is contained in:
valentina 2024-12-03 09:15:43 +01:00
parent 837c3afd2a
commit 318e35f355

View File

@ -576,8 +576,8 @@ if (Auth::check()) {
// Tab per le checklist
if ($structure->permission != '-' && $structure->use_checklists) {
$checklists_unchecked = $structure->recordChecks($id_record)->where('checked_at', null);
$checklists_total = $structure->recordChecks($id_record);
$checklists_unchecked = $structure->recordChecks($id_record)->where('checked_at', null)->where('is_titolo', 0);
$checklists_total = $structure->recordChecks($id_record)->where('is_titolo', 0);
echo '
<li data-toggle="control-sidebar" class="btn-default nav-item">