@@ -136,12 +136,12 @@ function check_phone() {
-
+
@@ -149,32 +149,32 @@ function check_phone() {
-
+
$straat ) {
+ foreach ($available_addresses as $pickup_address => $straat) {
echo '
Deze order bevat geen geldige straatnaam- en huisnummergegevens, en kan daarom niet worden ge-exporteerd! Waarschijnlijk is deze order geplaatst voordat de Wuunder plugin werd geactiveerd. De gegevens kunnen wel handmatig worden ingevoerd in het order scherm.
@@ -198,12 +198,12 @@ function check_phone() {
-
+
@@ -212,7 +212,7 @@ function check_phone() {
-
+
t.n.v.
@@ -223,24 +223,24 @@ function check_phone() {
$straat ) {
+ foreach ($available_addresses as $pickup_address => $straat) {
echo '
';
- if ( 0 == $pickup_address ) {
+ if (0 == $pickup_address) {
// Get Woocommerce Wuunder Settings
- echo get_option( 'wc_wuunder_company_name' ) . '
';
- echo get_option( 'wc_wuunder_company_firstname' ) . ' ' . get_option( 'wc_wuunder_company_lastname' ) . '
';
- echo get_option( 'wc_wuunder_company_street' ) . ' ' . get_option( 'wc_wuunder_company_housenumber' ) . '
';
- echo get_option( 'wc_wuunder_company_postode' ) . ' ' . get_option( 'wc_wuunder_company_city' ) . ' ' . get_option( 'wc_wuunder_company_country' ) . '
';
- echo get_option( 'wc_wuunder_company_email' ) . '
';
- echo get_option( 'wc_wuunder_company_phone' ) . '
';
+ echo get_option('wc_wuunder_company_name') . '
';
+ echo get_option('wc_wuunder_company_firstname') . ' ' . get_option('wc_wuunder_company_lastname') . '
';
+ echo get_option('wc_wuunder_company_street') . ' ' . get_option('wc_wuunder_company_housenumber') . '
';
+ echo get_option('wc_wuunder_company_postode') . ' ' . get_option('wc_wuunder_company_city') . ' ' . get_option('wc_wuunder_company_country') . '
';
+ echo get_option('wc_wuunder_company_email') . '
';
+ echo get_option('wc_wuunder_company_phone') . '
';
} else {
- echo get_option( 'wc_wuunder_company_name_' . $pickup_address ) . '
';
- echo get_option( 'wc_wuunder_company_firstname_' . $pickup_address ) . ' ' . get_option( 'wc_wuunder_company_lastname_' . $pickup_address ) . '
';
- echo get_option( 'wc_wuunder_company_street_' . $pickup_address ) . ' ' . get_option( 'wc_wuunder_company_housenumber_' . $pickup_address ) . '
';
- echo get_option( 'wc_wuunder_company_postode_' . $pickup_address ) . ' ' . get_option( 'wc_wuunder_company_city_' . $pickup_address ) . ' ' . get_option( 'wc_wuunder_company_country_' . $pickup_address ) . '
';
- echo get_option( 'wc_wuunder_company_email_' . $pickup_address ) . '
';
- echo get_option( 'wc_wuunder_company_phone_' . $pickup_address ) . '
';
+ echo get_option('wc_wuunder_company_name_' . $pickup_address) . '
';
+ echo get_option('wc_wuunder_company_firstname_' . $pickup_address) . ' ' . get_option('wc_wuunder_company_lastname_' . $pickup_address) . '
';
+ echo get_option('wc_wuunder_company_street_' . $pickup_address) . ' ' . get_option('wc_wuunder_company_housenumber_' . $pickup_address) . '
';
+ echo get_option('wc_wuunder_company_postode_' . $pickup_address) . ' ' . get_option('wc_wuunder_company_city_' . $pickup_address) . ' ' . get_option('wc_wuunder_company_country_' . $pickup_address) . '
';
+ echo get_option('wc_wuunder_company_email_' . $pickup_address) . '
';
+ echo get_option('wc_wuunder_company_phone_' . $pickup_address) . '
';
}
echo '
';
}
@@ -259,7 +259,7 @@ function check_phone() {
( Gebruik de opmaak: +31612345678 )
"
+ value=""
required="">
@@ -279,7 +279,7 @@ function check_phone() {