Incentive: Schalter "Abos beruecksichtigen", Recruiting Challenge ohne Abos
Die Recruiting Challenge erfasste Eigen- und Kundenabos mit 0 Punkten (Live-Kopie: 175 Eigenabos). Sie tauchten in Details und Admin auf und brachten Berater ohne Neupartner in die Rangliste. - incentives.include_abos (Standard an); Migration schaltet Incentives ohne jede Abo-Wertung aus (0 Abo-Punkte, 0 Mindestabos, ohne Umsatzpunkte) - aus: kein Abo-Tracking in Tracker, Neuaufbau und Reparatur; incentive:calculate raeumt vorhandene Abo-Zeilen ab - Admin: Checkbox im Formular, Abo-Punkte/Mindestabos werden dann auf 0 gesetzt; Abo-Spalte und -Bereiche in Admin, Details und Teilnahme-Hinweis entfallen - Seeder der Recruiting Challenge setzt den Schalter aus Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
773d523bf7
commit
11afdb11d1
19 changed files with 306 additions and 34 deletions
|
|
@ -121,7 +121,8 @@ class IncentiveTracker
|
|||
$incentives = Incentive::query()
|
||||
->active()
|
||||
->qualificationWindowContains($activation_date)
|
||||
->get();
|
||||
->get()
|
||||
->filter(fn (Incentive $incentive) => $incentive->includesAbos());
|
||||
|
||||
foreach ($incentives as $incentive) {
|
||||
$participant = IncentiveParticipant::ensureForIncentiveUser($incentive, $consultant_id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue