Skip to content

Commit

Permalink
Evarisk#1002 [PreventionPlan] add: check bool to display input fields
Browse files Browse the repository at this point in the history
  • Loading branch information
evarisk-francois committed Jul 1, 2024
1 parent edb54f3 commit 4ed96f2
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions core/tpl/attendants/attendants_table_view.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,13 @@
$alreadyAddedSignatories[$element->element_type][$element->element_id] = $element->element_id;
}

require __DIR__ . '/attendants_table_add_view.tpl.php';
if ($object->limit_managers == 0) {
require __DIR__ . '/attendants_table_add_view.tpl.php';
}
} else {
print '<div class="opacitymedium">' . $langs->trans('NoAttendants') . '</div><br>';

require __DIR__ . '/attendants_table_add_view.tpl.php';
if ($object->limit_managers == 0) {
require __DIR__ . '/attendants_table_add_view.tpl.php';
}
}

0 comments on commit 4ed96f2

Please sign in to comment.