From 5793cb156ffca3251b15bf957b62631731a87a67 Mon Sep 17 00:00:00 2001 From: Ihor_Zhekov Date: Mon, 23 Mar 2026 10:25:04 +0100 Subject: [PATCH] Offers update. Fields --- Profice WebSite/scripts/add/send.php | 1 + Profice WebSite/scripts/script.js | 1 + Profice WebSite/sites/offers.html | 22 ++++++++++++++-------- 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/Profice WebSite/scripts/add/send.php b/Profice WebSite/scripts/add/send.php index 77c2773..cd21c51 100644 --- a/Profice WebSite/scripts/add/send.php +++ b/Profice WebSite/scripts/add/send.php @@ -533,6 +533,7 @@ function handleContactForm($data) { 'name' => sanitizeInput($data['name']), 'organisation' => sanitizeInput($data['organisation'] ?? ''), 'contact' => sanitizeInput($data['contact']), + 'phone' => sanitizeInput($data['phone'] ?? ''), 'service' => sanitizeInput($data['service'] ?? ''), 'budget' => sanitizeInput($data['budget'] ?? ''), 'description' => sanitizeInput($data['description'] ?? ''), diff --git a/Profice WebSite/scripts/script.js b/Profice WebSite/scripts/script.js index b595ebd..0efef97 100644 --- a/Profice WebSite/scripts/script.js +++ b/Profice WebSite/scripts/script.js @@ -283,6 +283,7 @@ document.addEventListener("DOMContentLoaded", function() { name: getValue('name'), organisation: getValue('organisation'), contact: getValue('contact'), + phone: getValue('phone'), service: getValue('service'), budget: getValue('budget'), description: getValue('description') diff --git a/Profice WebSite/sites/offers.html b/Profice WebSite/sites/offers.html index 5b45dd9..73b1f0e 100644 --- a/Profice WebSite/sites/offers.html +++ b/Profice WebSite/sites/offers.html @@ -239,15 +239,21 @@
- - + +
- -
- - + +
+
+ + +
+
+ + +
@@ -270,8 +276,8 @@
- - + +