diff --git a/content/german/bestellung/freiberufliche.md b/content/german/bestellung/freiberufliche.md index 0156c03..33d86d4 100644 --- a/content/german/bestellung/freiberufliche.md +++ b/content/german/bestellung/freiberufliche.md @@ -91,7 +91,16 @@ kommentar = 'age und hobbies sind honeypots'
-
In welchen Kantonen haben Sie eine Bewilligung oder haben eine Bewilligung beantragt?
+ **Welche Leistungen bieten Sie an?** + +      + +      + +      +
+
+ **In welchen Kantonen haben Sie eine Bewilligung oder haben eine Bewilligung beantragt?**
diff --git a/static/php/message.php b/static/php/message.php index 1a6eea3..295d983 100644 --- a/static/php/message.php +++ b/static/php/message.php @@ -131,21 +131,32 @@ function constructMessage() } // form inputs cantons - only FPP - $arrAllCantons = [ "AG", "AI", "AR", "BE", "BL", "BS", "FR", "GE", "GL", "GR", "JU", "LU", "NE", "NW", "OW", "SG", "SH", "SO", "SZ", "TG", "UR", "VD", "VS", "ZG", "ZH" ]; if ( ! isset($organisation) && $lang == "DE" ) { + $arrAllCantons = [ "AG", "AI", "AR", "BE", "BL", "BS", "FR", "GE", "GL", "GR", "JU", "LU", "NE", "NW", "OW", "SG", "SH", "SO", "SZ", "TG", "UR", "VD", "VS", "ZG", "ZH" ]; $message .= "

"; $message .= "Kantone, in denen Sie eine Bewilligung (beantragt) haben"; $message .= "
"; foreach ( $arrAllCantons as $abbreviation ) { -// if ( isset(filter_input(INPUT_POST, $abbreviation)) ) if (isset( $_POST[$abbreviation]) ) { $message .= $_POST[$abbreviation] . "
"; } } - + $message .= "

"; + + $arrServiceTyps = [ "SOM", "PSY", "AÜP" ]; + $message .= "

"; + $message .= "Leistungen, die Sie anbieten"; + $message .= "
"; + foreach ( $arrServiceTyps as $abbreviation ) + { + if (isset( $_POST[$abbreviation]) ) + { + $message .= $_POST[$abbreviation] . "
"; + } + } $message .= "

"; }