From d8c826a2619c1b0db2e8c88a5c2b16f6a467efc6 Mon Sep 17 00:00:00 2001 From: Frank Schubert Date: Thu, 28 Nov 2024 17:00:22 +0100 Subject: [PATCH] Preordernotification: Can attach Borderpoint image from Mapbox API now --- Layout/default/Preordernotification/Form.php | 28 +++ application/Preorder/Preorder.php | 80 ++++++++ application/Preorder/PreorderModel.php | 2 + application/PreorderFile/PreorderFile.php | 178 ++++++++++++++++++ .../Preordernotification.php | 14 +- .../PreordernotificationController.php | 10 + .../PreordernotificationFileModel.php | 4 +- ...h_borderpoint_and_create_preorder_file.php | 45 +++++ lib/Mapbox/StaticImageApi.php | 50 +++++ scripts/send_preordernotifications.php | 4 +- 10 files changed, 411 insertions(+), 4 deletions(-) create mode 100644 application/PreorderFile/PreorderFile.php create mode 100644 db/migrations/20241127144651_preordernotification_add_attach_borderpoint_and_create_preorder_file.php create mode 100644 lib/Mapbox/StaticImageApi.php diff --git a/Layout/default/Preordernotification/Form.php b/Layout/default/Preordernotification/Form.php index 97005b18f..e8cdd19bd 100644 --- a/Layout/default/Preordernotification/Form.php +++ b/Layout/default/Preordernotification/Form.php @@ -1,4 +1,5 @@ +filter);exit;?>
@@ -93,6 +94,18 @@
+ +
+ +
+ +
+
+