"Total Amount",
"icon" => "fas fa-dollar-sign",
"name" => "amount",
"type" => "number",
"maxlength" => 5,
"value" => $data["amount"],
"width" => 2,
"error" => "Enter a dollar amount."
],
[
"label" => "Amount Paid",
"icon" => "fas fa-dollar-sign",
"name" => "amountpaid",
"type" => "number",
"maxlength" => 5,
"value" => $data["amountpaid"],
"width" => 2,
"error" => "Enter a dollar amount."
],
[
"label" => "Date",
"icon" => "fas fa-calendar",
"name" => "date",
"type" => "date",
"value" => $data["date"],
"width" => 3,
"error" => "Choose a date for the payment."
],
[
"label" => "Type",
"icon" => "fas fa-money-bill",
"name" => "type",
"type" => "select",
"value" => $data["type"],
"options" => [
"" => $Strings->get("Choose...", false),
"Online" => "Online",
"Cash" => "Cash",
"Check" => "Check",
"Camp Coupon/Scout Bucks" => "Camp Coupon/Scout Bucks",
"Free" => "Free",
"Multiple" => "Multiple",
"Other" => "Other"
],
"width" => 3,
"error" => "Select a payment type."
]
];
foreach ($textboxes as $item) {
?>