Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reise Check um Prüfung auf das Flag "Ort projektrelevant" erweitern #760

Open
Ollitod opened this issue Dec 3, 2024 · 1 comment
Open

Comments

@Ollitod
Copy link
Collaborator

Ollitod commented Dec 3, 2024

  1. What is the current state?
    Bei Dienstreisen darf das Häkchen bei "Ort projektrelevant" nur dann gesetzt werden, wenn die Reisezeit dem Kunden verrechnet wird. Das ist in den aller meisten Fällen nicht der Fall, aber ZEP setzt dieses Häkchen standardmäßig. Daher kommt es oft dazu, dass dieses Häkchen unabsichtlich gesetzt ist und dies manuell zu prüfen kostet Zeit.

  2. What is the desired state?
    Der Reise Check soll um eine neue Warnung erweitert werden, welche dem MA präsentiert wird, sollte das Häkchen bei "Ort projektrelevant" gesetzt sein.

Technische Anforderung:

  • Enum JourneyWarningType erweitern: LOCATION_RELEVANT_SET

  • Neuer Calculator: LocationRelevantSetJourneyCalculator

  • Neuer Eintrag in messages(en).properties: warning.journey.LOCATION_RELEVANT_SET=Das Flag "Ort projektrelevant" darf nur gesetzt sein, wenn die Reisezeit verrechnet wird. Stimme dich mit deinem PL ab.

  • [Feature]:

    • -> Acceptance criteria
    • AK1: Für jeden Tag, an dem Reisebuchungen das Häkchen bei "Ort projektrelevant" gesetzt ist, wird in der Card "MEGA Reise Check" ein Hinweis mit der Meldung "Das Flag "Ort projektrelevant" darf nur gesetzt sein, wenn die Reisezeit verrechnet wird. Stimme dich mit deinem PL ab." angzeigt
    • AK2: Ist das Häkchen "Ort projektrelevant" nicht gesetzt, wird keine Warnung angzeigt.

=> Move issue to "backlog"

@Ollitod Ollitod added backend enhancement New feature or request frontend labels Dec 3, 2024
@Ollitod Ollitod added this to MEGA Dec 3, 2024
@Ollitod Ollitod moved this to Backlog in MEGA Dec 3, 2024
@Ollitod
Copy link
Collaborator Author

Ollitod commented Jan 28, 2025

Schätzung: 0,5PT

@alekszivko alekszivko moved this from Backlog to In development in MEGA Mar 5, 2025
Jaroslav380 added a commit to Gepardec/mega-backend that referenced this issue Mar 5, 2025
Jaroslav380 added a commit to Gepardec/mega-backend that referenced this issue Mar 5, 2025
alekszivko added a commit to Gepardec/mega-backend that referenced this issue Mar 5, 2025
…ryMapper

fixes zep-api returning null instead of true and true instead of false

update LocationRelevantSetJourneyCalculator and Tests to use mapper
alekszivko added a commit to Gepardec/mega-backend that referenced this issue Mar 6, 2025
Update ProjectEntryMapperTest to work with mapper

Add test for toWorkLocationIsRelevant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In development
Development

No branches or pull requests

3 participants