diff --git a/config/mivita.php b/config/mivita.php index 07b2c5cf..7feb7b40 100755 --- a/config/mivita.php +++ b/config/mivita.php @@ -21,9 +21,10 @@ return [ 'company_user_id' => (int) env('MIVITA_COMPANY_USER_ID', 6), // Anerkennungen (Monats-Ranglisten im Salescenter): diese Konten werden nie - // aufgeführt — Firmenkonto (6) und Großkundin Ruth Krummel (3), Kundenentscheid 2026-10-07. + // aufgeführt — Firmenkonto (6) und Großkundin Ruth Krummel (3), Kundenentscheid 2026-10-07; + // Go4 Values (486), Kundenentscheid 2026-10-09. 'recognition_excluded_user_ids' => array_values(array_filter(array_map( 'intval', - explode(',', (string) env('MIVITA_RECOGNITION_EXCLUDED_USER_IDS', '3,6')) + explode(',', (string) env('MIVITA_RECOGNITION_EXCLUDED_USER_IDS', '3,6,486')) ))), ]; diff --git a/tests/Feature/RecognitionServiceTest.php b/tests/Feature/RecognitionServiceTest.php index da4c85f9..cb2cacf6 100644 --- a/tests/Feature/RecognitionServiceTest.php +++ b/tests/Feature/RecognitionServiceTest.php @@ -141,6 +141,10 @@ it('rankt alle fuenf Kategorien firmenweit, unabhaengig vom Team', function (): ]); }); +it('schliesst standardmaessig Firmenkonto, Ruth Krummel und Go4 Values aus', function (): void { + expect((require config_path('mivita.php'))['recognition_excluded_user_ids'])->toBe([3, 6, 486]); +}); + it('fuehrt Firmenkonto und Grosskunden nie auf', function (): void { $company = recMakeUser('Firma', 'GmbH'); $bigCustomer = recMakeUser('Ruth', 'Gross');