versão 6 aprimorada
This commit is contained in:
parent
5cd527302b
commit
21e017feae
@ -8,9 +8,9 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
|||||||
$technician_name = trim($_POST['technician_name'] ?? '');
|
$technician_name = trim($_POST['technician_name'] ?? '');
|
||||||
$observations = trim($_POST['observations'] ?? '');
|
$observations = trim($_POST['observations'] ?? '');
|
||||||
$status = trim($_POST['status'] ?? 'ativo');
|
$status = trim($_POST['status'] ?? 'ativo');
|
||||||
$voltage = trim($_POST['voltage'] ?? null);
|
$voltage = !empty($_POST['voltage']) ? trim($_POST['voltage']) : null;
|
||||||
$phase_neutral_ground = trim($_POST['phase_neutral_ground'] ?? null);
|
$phase_neutral_ground = !empty($_POST['phase_neutral_ground']) ? trim($_POST['phase_neutral_ground']) : null;
|
||||||
$breaker_output = trim($_POST['breaker_output'] ?? null);
|
$breaker_output = !empty($_POST['breaker_output']) ? trim($_POST['breaker_output']) : null;
|
||||||
|
|
||||||
// Validation removed to allow incomplete forms
|
// Validation removed to allow incomplete forms
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user