diff --git a/src/routes/events/[event_id]/(badges)/badges/[badge_id]/ae_comp__badge_print_controls.svelte b/src/routes/events/[event_id]/(badges)/badges/[badge_id]/ae_comp__badge_print_controls.svelte index 5ca1b933..fa653623 100644 --- a/src/routes/events/[event_id]/(badges)/badges/[badge_id]/ae_comp__badge_print_controls.svelte +++ b/src/routes/events/[event_id]/(badges)/badges/[badge_id]/ae_comp__badge_print_controls.svelte @@ -22,7 +22,7 @@ import { ae_api, ae_loc } from '$lib/stores/ae_stores'; import { events_func } from '$lib/ae_events_functions'; import { browser } from '$app/environment'; - import { Pencil, Check, X, LoaderCircle, ChevronDown, Printer, RotateCcw } from 'lucide-svelte'; + import { Pencil, Check, X, LoaderCircle, ChevronDown, Printer, RotateCcw, Info } from 'lucide-svelte'; interface Props { event_id: string; @@ -310,6 +310,17 @@ } }); }); + + // TC modal ref for the lead scanning terms & conditions dialog + let tc_dialog_ref: HTMLDialogElement | undefined; + + // allow_tracking accordion auto-expands to show the checkbox whenever the + // preference is enabled — even with no field being edited — so the current + // state is always visible at a glance. Closes while another field is open. + let allow_tracking_open = $derived( + active_field === 'allow_tracking' || + (active_field === null && $lq__event_badge_obj?.allow_tracking === true) + ); +
+ + + +
@@ -832,6 +876,54 @@ + + { if (e.target === tc_dialog_ref) tc_dialog_ref?.close(); }} +> +
+
+

+ Lead Scanning — Terms & Conditions +

+ +
+
+

+ By enabling lead scanning on this badge, you agree to the following: +

+
    +
  • Exhibitors and sponsors may scan your badge barcode to capture your contact information.
  • +
  • Information collected may include your name, professional title, organization, and location as shown on your badge.
  • +
  • Each exhibitor may use this information to follow up with you after the event for business or promotional purposes.
  • +
  • Every exhibitor is individually responsible for handling your data in compliance with applicable privacy laws (including GDPR and CCPA where applicable).
  • +
  • Disabling this option prevents future scans; it does not erase data already collected by exhibitors prior to the change.
  • +
+

+ This preference may be updated at any time by event staff at the registration desk. +

+
+
+ +
+
+
+