Merge branch 'ts-1570' into 'develop'

Fix optin condition bug in customer informations page

See merge request ldc-web/projets/le-gaulois!55
This commit is contained in:
Vincent BRIDIER 2023-06-21 15:04:02 +00:00
commit 7ca36a0913

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>