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

✨ [#1950] Filter by vestigingsnummer in Mijn Vragen #941

Merged
merged 3 commits into from
Jan 11, 2024

Conversation

stevenbal
Copy link
Contributor

@stevenbal stevenbal commented Jan 9, 2024

@stevenbal stevenbal marked this pull request as draft January 9, 2024 12:41
@stevenbal stevenbal force-pushed the feature/1950-mijn-vragen-vestigingsnummer branch from 4e231f0 to 8020049 Compare January 9, 2024 15:30
@stevenbal stevenbal force-pushed the feature/1950-mijn-vragen-vestigingsnummer branch from 8020049 to 1b7ac8c Compare January 9, 2024 16:17
params = {"subjectNietNatuurlijkPersoon__innNnpId": user_kvk_or_rsin}

if vestigingsnummer:
params = {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code does assume that a Contactmoment that is relevant for both the hoofdvestiging and another vestiging has two KlantContactMomenten.

This also means that the UUID of the entries that show up in the listview for the hoofdvestiging and the vestiging are different (because they belong to different KlantContactMomenten that point to the same ContactMoment)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As there's no other way to model this using the Contactmomenten API this is indeed implied (itt. the Zaken API which does allow multiple participants for a case).

We'll have to test this with Enschede & the eSuite in order to be sure this works as expected

@stevenbal stevenbal force-pushed the feature/1950-mijn-vragen-vestigingsnummer branch from 1b7ac8c to e8c940f Compare January 9, 2024 16:27
@stevenbal stevenbal marked this pull request as ready for review January 9, 2024 16:29
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e2f4b64) 93.07% compared to head (e8c940f) 93.09%.
Report is 2 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #941      +/-   ##
===========================================
+ Coverage    93.07%   93.09%   +0.02%     
===========================================
  Files          828      828              
  Lines        28949    29055     +106     
===========================================
+ Hits         26943    27049     +106     
  Misses        2006     2006              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@alextreme alextreme left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine by me, but wait until Bart or Paul does a double-check

@alextreme alextreme merged commit 8df3626 into develop Jan 11, 2024
14 checks passed
@alextreme alextreme deleted the feature/1950-mijn-vragen-vestigingsnummer branch January 11, 2024 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants