Comment out checking of dpa consent. Comment out access to dpa consent. #418
This commit is contained in:
parent
761476134c
commit
f21753bd07
2 changed files with 9 additions and 2 deletions
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -123,11 +123,12 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
{% if is_granted('customer.dpa') %}
|
||||
<!-- commenting out the dpa access -->
|
||||
{# {% if is_granted('customer.dpa') %} #}
|
||||
<input type="checkbox" name="flag_dpa_consent" id="flag-dpa_consent" value="1"{{ obj.isDpaConsent ? ' checked' }} >
|
||||
<label class="switch-label">With DPA Consent</label>
|
||||
<div class="form-control-feedback hide" data-field="flag_dpa_consent"></div>
|
||||
{% endif %}
|
||||
{# {% endif %} #}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group m-form__group row">
|
||||
|
|
|
|||
Loading…
Reference in a new issue