diff --git a/portal/index.html b/portal/index.html index fa26320..c2b051b 100644 --- a/portal/index.html +++ b/portal/index.html @@ -705,7 +705,7 @@
Takeaway / Pickup diff --git a/portal/portal.js b/portal/portal.js index 945fd7c..a17c840 100644 --- a/portal/portal.js +++ b/portal/portal.js @@ -868,7 +868,10 @@ const Portal = { // Order types const orderTypes = (biz.ORDERTYPES || biz.OrderTypes || '1').split(','); const takeawayCheckbox = document.getElementById('orderTypeTakeaway'); - if (takeawayCheckbox) takeawayCheckbox.checked = orderTypes.includes('2'); + if (takeawayCheckbox) { + takeawayCheckbox.checked = orderTypes.includes('2'); + takeawayCheckbox.onchange = () => this.saveOrderTypes(); + } } } catch (err) { console.error('[Portal] Error loading business info:', err);