Fix optin condition bug in customer informations page

This commit is contained in:
sebastien.hattry 2023-06-21 15:04:02 +00:00 • committed by Vincent BRIDIER
parent a9af7cfe7a
commit bca4fa327a

View file

@ -83,8 +83,8 @@
</div>
<div>
<label>
<input class="changeLength" type="checkbox" name="optin" @if($crmCustomer->opt_in === 1)checked @endif >
{{ __('J’accepte de recevoir les actualités et bons plans Le Gaulois') }}
<input class="changeLength" type="checkbox" name="optin" @if($crmCustomer->opt_in)checked @endif >
{{ __('J\'accepte de recevoir les actualités et bons plans Le Gaulois') }}
</label>
</div>
<button type="submit" class="btn-red">{{ __('Enregistrer') }}</button>