|
|
|
@ -96,6 +96,7 @@ if (!empty($_GET['id']) && $database->has('payments', ['paymentid' => $_GET['id'
|
|
|
|
|
"name" => "amount",
|
|
|
|
|
"type" => "number",
|
|
|
|
|
"maxlength" => 5,
|
|
|
|
|
"step" => "0.01",
|
|
|
|
|
"value" => $data["amount"],
|
|
|
|
|
"width" => 2,
|
|
|
|
|
"error" => "Enter a dollar amount."
|
|
|
|
@ -106,6 +107,7 @@ if (!empty($_GET['id']) && $database->has('payments', ['paymentid' => $_GET['id'
|
|
|
|
|
"name" => "amountpaid",
|
|
|
|
|
"type" => "number",
|
|
|
|
|
"maxlength" => 5,
|
|
|
|
|
"step" => "0.01",
|
|
|
|
|
"value" => $data["amountpaid"],
|
|
|
|
|
"width" => 2,
|
|
|
|
|
"error" => "Enter a dollar amount."
|
|
|
|
@ -165,6 +167,13 @@ if (!empty($_GET['id']) && $database->has('payments', ['paymentid' => $_GET['id'
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
<?php
|
|
|
|
|
if (!empty($item['step'])) {
|
|
|
|
|
?>
|
|
|
|
|
step="<?php echo htmlspecialchars($item['step']); ?>"
|
|
|
|
|
<?php
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
<?php
|
|
|
|
|
if (!empty($item['value'])) {
|
|
|
|
|
?>
|
|
|
|
|
value="<?php echo htmlspecialchars($item['value']); ?>"
|
|
|
|
|