mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-31 09:37:15 +01:00
Merged PR 2014: fix(open-reward-tasks): filter out pickup-only reward orders
fix(open-reward-tasks): filter out pickup-only reward orders Exclude reward orders with only pickup items (supplier_id: '16') from open tasks as these cannot be completed in the reward shop. Fixes BUG-5444
This commit is contained in:
committed by
Nino Righi
parent
b0afc80a26
commit
b984a2cac2
@@ -7,7 +7,6 @@ import {
|
||||
import { ResponseArgsError, takeUntilAborted } from '@isa/common/data-access';
|
||||
import { logger } from '@isa/core/logging';
|
||||
import { firstValueFrom } from 'rxjs';
|
||||
import { Cache, CacheTimeToLive, InFlight } from '@isa/common/decorators';
|
||||
|
||||
/**
|
||||
* Service for fetching open reward distribution tasks (Prämienausgabe) from the OMS API.
|
||||
@@ -45,6 +44,7 @@ export class OpenRewardTasksService {
|
||||
filter: {
|
||||
orderitemprocessingstatus: '16', // InPreparation(16) and ReadyForPickup(128)
|
||||
praemie: '1-', // Reward items only
|
||||
supplier_id: '16',
|
||||
},
|
||||
orderBy: [],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user