]> _ Git - cubedesigners_userdatabase.git/commitdiff
wait #6626 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 17 Jan 2024 15:10:52 +0000 (16:10 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 17 Jan 2024 15:10:52 +0000 (16:10 +0100)
src/app/Models/Company.php

index 818e2695320771bca14e988c90a6d9bbb9021ab5..5b8ff42df4eb2dc54d876745fc051e7755315b02 100644 (file)
@@ -60,6 +60,8 @@ class Company extends CubistMagicAbstractModel
             ]
         );
 
+        $this->addField('marketing_force', Checkbox::class, __('Forcer l\'inscription aux listes marketing même si c\'est un client de revendeur'), ['default' => false, 'tab' => __('Informations')]);
+
         $buid = null;
         if (null !== backpack_user()) {
             $buid = backpack_user()->id;