Update manage_incident.php

This commit is contained in:
jakani24
2024-06-25 20:15:19 +02:00
parent dcd042ad59
commit 1f8e3ab262

View File

@@ -146,9 +146,9 @@ if(isset($_GET["add_todoitem"])){
echo("<tr>"); echo("<tr>");
//display status //display status
if($entry["done"]==1) if($entry["done"]==1)
echo("<td><input class='form-check-input' type='checkbox' id='todoitem".$entry["id"]."' onclick='change_status(\"todoitem".$entry["id"]."\","..$entry["id"].")' checked></td>"); echo("<td><input class='form-check-input' type='checkbox' id='todoitem".$entry["id"]."' onclick='change_status(\"todoitem".$entry["id"]."\",".$entry["id"].")' checked></td>");
else else
echo("<td><input class='form-check-input' type='checkbox' id='todoitem".$entry["id"]."' onclick='change_status(\"todoitem".$entry["id"]."\","..$entry["id"].")'></td>"); echo("<td><input class='form-check-input' type='checkbox' id='todoitem".$entry["id"]."' onclick='change_status(\"todoitem".$entry["id"]."\",".$entry["id"].")'></td>");
//display text //display text
echo("<td>".$entry["text"]."</td>"); echo("<td>".$entry["text"]."</td>");
//display user who checked it //display user who checked it