Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
| 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),
|
||||
|
||||
// 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'))
|
||||
))),
|
||||
];
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue