diff --git a/src/Service/CustomerHandler/ResqCustomerHandler.php b/src/Service/CustomerHandler/ResqCustomerHandler.php index 0618a4ed..eec2e2fb 100644 --- a/src/Service/CustomerHandler/ResqCustomerHandler.php +++ b/src/Service/CustomerHandler/ResqCustomerHandler.php @@ -172,10 +172,13 @@ class ResqCustomerHandler implements CustomerHandlerInterface $em = $this->em; $row = new Customer(); + // NOTE: commenting the dpa changes for now // check if dpa consent is unticked + /* $is_dpa_checked = $req->request->get('flag_dpa_consent'); if (!$is_dpa_checked) $error_array['flag_dpa_consent'] = 'DPA consent should be checked.'; + */ // check if email marketing promo is checked $is_email_promo_checked = $req->request->get('flag_promo_email'); @@ -339,10 +342,13 @@ class ResqCustomerHandler implements CustomerHandlerInterface $nerror_array = []; $verror_array = []; + // NOTE: commenting out the dpa changes for now // check if dpa consent is unticked + /* $is_dpa_checked = $req->request->get('flag_dpa_consent'); if (!$is_dpa_checked) $error_array['flag_dpa_consent'] = 'DPA consent should be checked.'; + */ // check if email marketing promo is checked $is_email_promo_checked = $req->request->get('flag_promo_email'); diff --git a/templates/customer/form.html.twig b/templates/customer/form.html.twig index 97b80884..d91ce316 100644 --- a/templates/customer/form.html.twig +++ b/templates/customer/form.html.twig @@ -123,11 +123,12 @@