Fehlende Felder für Bestellformular Zusatzmodule Organisationen hinzugefügt

This commit is contained in:
Andreas Hnida 2024-02-23 13:28:42 +00:00
commit 06a1898711
2 changed files with 36 additions and 9 deletions

View file

@ -275,6 +275,23 @@ table .far {
#verify_email, #age, #hobbies {
display:none;
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.spinner {
border: 2px solid transparent; /* Make spinner background transparent */
border-top-color: currentColor; /* Use current text color for spinner */
border-right-color: currentColor; /* Use current text color for spinner */
border-radius: 99999px; /* Fully rounded edges */
width: 1em; /* Relative to font size */
height: 1em; /* Relative to font size */
animation: spin 1s linear infinite; /* Apply the spin animation */
}
/**************** Component Styles ******************/

View file

@ -25,9 +25,19 @@ function constructMessage() {
if (isset($organisationPaket)) {
$message .= "Organisation Paket: " . "\n" . $organisationPaket . "\n\n";
}
// Form inputs von Organisation Zusatzmodule
$zusatzmodulDienstplan = filter_input(INPUT_POST, 'zusatzmodul-dienstplan');
if (isset($zusatzmodulDienstplan)) {
$message .= "Zusatzmodul Dienstplan: " . "\n" . $zusatzmodulDienstplan . "\n\n";
}
$zusatzmodulTourenplan = filter_input(INPUT_POST, 'zusatzmodul-tourenplan');
if (isset($zusatzmodulTourenplan)) {
$message .= "Zusatzmodul Tourenplan: " . "\n" . $zusatzmodulTourenplan . "\n\n";
}
$bestehend = filter_input(INPUT_POST, 'bestehend');
// Form inputs von Erstbestellung
$bestehend = filter_input(INPUT_POST, 'bestehend');
if (isset($bestehend)) {
$message .= "Wünschen Sie einen neuer Server oder den Zugang zu einem bestehenden Team-Server?: " . "\n" . $bestehend . "\n\n";
}
@ -56,12 +66,7 @@ function constructMessage() {
if (isset($wochenbett)) {
$message .= "Benötigen Sie das Programm für Wochenbett-Betreuung?: " . "\n" . $wochenbett . "\n\n";
}
$anmerkung = filter_input(INPUT_POST, 'anmerkung');
if (!empty($anmerkung)) {
$message .= "Anmerkung: " . "\n" . $anmerkung . "\n\n";
}
// Form inputs von Zusatzmodule
// Form inputs von Zusatzmodule Freiberufliche
$zusatzmodulPop2 = filter_input(INPUT_POST, 'zusatzmodul-pop2');
if (isset($zusatzmodulPop2)) {
$message .= "Zusatzmodul POP2" . "\n";
@ -82,6 +87,11 @@ function constructMessage() {
$message .= "Zusatzmodul Perigon" . "\n";
}
$anmerkung = filter_input(INPUT_POST, 'anmerkung');
if (!empty($anmerkung)) {
$message .= "\n\n" . "Anmerkung: " . "\n" . $anmerkung . "\n\n";
}
return $message;
}