|
|
|
@ -59,7 +59,13 @@ if (!empty($_GET['id']) && $database->has('payments', ['paymentid' => $_GET['id'
|
|
|
|
|
"" => $Strings->get("Choose...", false)
|
|
|
|
|
];
|
|
|
|
|
foreach ($families as $f) {
|
|
|
|
|
$familylist[$f['id']] = "$f[name], $f[father_name] and $f[mother_name]";
|
|
|
|
|
if (!empty($f["father_name"]) && !empty($f["mother_name"])) {
|
|
|
|
|
$familylist[$f['id']] = "$f[name], $f[father_name] and $f[mother_name]";
|
|
|
|
|
} else if (!empty($f["father_name"])) {
|
|
|
|
|
$familylist[$f['id']] = "$f[name], $f[father_name]";
|
|
|
|
|
} else if (!empty($f["mother_name"])) {
|
|
|
|
|
$familylist[$f['id']] = "$f[name], $f[mother_name]";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
$textboxes = [
|
|
|
|
|
[
|
|
|
|
|