From 68775f6f0981d58e96496c36b89ac15b7376720a Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Tue, 15 Oct 2024 12:48:41 +0000 Subject: [PATCH] added field for notes (#4513) Reviewed-on: https://git.fsfe.org/FSFE/fsfe-website/pulls/4513 Co-authored-by: Tobias Diekershoff Co-committed-by: Tobias Diekershoff --- fsfe.org/cgi-bin/weborder.pl | 6 +++++- fsfe.org/order/order.de.xhtml | 7 +++++++ fsfe.org/order/order.en.xhtml | 7 +++++++ fsfe.org/order/order.es.xhtml | 7 +++++++ fsfe.org/order/order.fr.xhtml | 7 +++++++ fsfe.org/order/order.it.xhtml | 7 +++++++ fsfe.org/order/order.nl.xhtml | 7 +++++++ 7 files changed, 47 insertions(+), 1 deletion(-) diff --git a/fsfe.org/cgi-bin/weborder.pl b/fsfe.org/cgi-bin/weborder.pl index f02c24c211..09af14d62e 100755 --- a/fsfe.org/cgi-bin/weborder.pl +++ b/fsfe.org/cgi-bin/weborder.pl @@ -61,11 +61,12 @@ my ( $country_code, $country_name ) = split( /\|/, $country ); my $email = decode( "utf-8", $query->param("email") ); my $phone = decode( "utf-8", $query->param("phone") ); my $language = $query->param("language"); +my $notes = decode( "utf-8", $query->param("notes") ); # Remove all parameters except for items and prices. $query->delete( "url", "name", "address", "zip", "city", "country", - "email", "phone", "language" + "email", "phone", "language", "notes" ); my $lang = substr $language, 0, 2; @@ -196,6 +197,9 @@ my $body = <<"HTML"; Payment reference: $reference
Payment amount: $amount Euro

+

+ Notes: $notes +

The following order was just received by our merchandise team. We will ship the order as soon as we have received your payment. The invoice diff --git a/fsfe.org/order/order.de.xhtml b/fsfe.org/order/order.de.xhtml index 93578f07d9..d6c7ce3730 100644 --- a/fsfe.org/order/order.de.xhtml +++ b/fsfe.org/order/order.de.xhtml @@ -133,6 +133,13 @@ +

+ +
+