Incorporated changes for release 1.3.3

This commit is contained in:
2026-02-24 20:18:58 -05:00
parent 2bddfba99a
commit 09155561f8
24 changed files with 67 additions and 35 deletions

View File

@@ -2,7 +2,7 @@
/*
create.php
OpenDRS Online Discrepancy Reporting System
Copyright (C) 2022 Rod Wright
Copyright (C) 2023 Rod Wright
SPDX-License-Identifier: GPL-2.0
*/
@@ -225,12 +225,20 @@ if ($preserve) {
$funcyesstate="checked";
}
echo "</select></td>";
if (!$role) {
$timedatedisable="disabled";
} else {
$timedatedisable="";
}
echo "
</select></td>
<td align=\"left\" >Report Date<br>
<input type=\"text\" name=\"report_date\" size=\"10\" maxlength=\"10\" value=\"$report_date\" id=\"singledatepicker\" title=\"Format: YYYY-MM-DD\"></td>
<input type=\"text\" name=\"report_date\" size=\"10\" maxlength=\"10\" value=\"$report_date\" id=\"singledatepicker\" title=\"Format: YYYY-MM-DD\" $timedatedisable></td>
<td align=\"left\">Report Time<br>
<input type=\"text\" name=\"report_time\" size=\"8\" maxlength=\"8\" value=\"$report_time\" title=\"Format: HH:MM:SS\"></td>
<input type=\"text\" name=\"report_time\" size=\"8\" maxlength=\"8\" value=\"$report_time\" title=\"Format: HH:MM:SS\" $timedatedisable></td>
";
echo "
</tr>
<tr><td></td><td></td><td></td></tr>
<tr><td colspan=\"3\">