Anerkennungen: Go4 Values (User 486) ebenfalls nie aufgefuehrt
Standard der Ausschlussliste mivita.recognition_excluded_user_ids von "3,6" auf "3,6,486" erweitert (Kundenentscheid 2026-10-09). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
7bc551ca1f
commit
6780565586
2 changed files with 7 additions and 2 deletions
|
|
@ -21,9 +21,10 @@ return [
|
||||||
'company_user_id' => (int) env('MIVITA_COMPANY_USER_ID', 6),
|
'company_user_id' => (int) env('MIVITA_COMPANY_USER_ID', 6),
|
||||||
|
|
||||||
// Anerkennungen (Monats-Ranglisten im Salescenter): diese Konten werden nie
|
// 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(
|
'recognition_excluded_user_ids' => array_values(array_filter(array_map(
|
||||||
'intval',
|
'intval',
|
||||||
explode(',', (string) env('MIVITA_RECOGNITION_EXCLUDED_USER_IDS', '3,6'))
|
explode(',', (string) env('MIVITA_RECOGNITION_EXCLUDED_USER_IDS', '3,6,486'))
|
||||||
))),
|
))),
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -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 {
|
it('fuehrt Firmenkonto und Grosskunden nie auf', function (): void {
|
||||||
$company = recMakeUser('Firma', 'GmbH');
|
$company = recMakeUser('Firma', 'GmbH');
|
||||||
$bigCustomer = recMakeUser('Ruth', 'Gross');
|
$bigCustomer = recMakeUser('Ruth', 'Gross');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue