-
Notifications
You must be signed in to change notification settings - Fork 6
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
[#1149] Implemented e-Suite form's open submission API and added to cases views #502
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #502 +/- ##
=========================================
Coverage 96.51% 96.51%
=========================================
Files 514 523 +9
Lines 18569 18891 +322
=========================================
+ Hits 17921 18232 +311
- Misses 648 659 +11
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@@ -190,7 +190,7 @@ def test_get_role_name_display(self): | |||
"voornamen": "", | |||
}, | |||
) | |||
expected = RolTypes.labels[RolTypes.natuurlijk_persoon] | |||
expected = RolTypes.natuurlijk_persoon.label |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is because the zgw-consumers dependency update
def get_betrokkene_type_display(self): | ||
return RolTypes.values[self.betrokkene_type] | ||
return RolTypes[self.betrokkene_type].label | ||
|
||
def get_omschrijving_generiek_display(self): | ||
return RolOmschrijving.values[self.omschrijving_generiek] | ||
return RolOmschrijving[self.omschrijving_generiek].label | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is because the zgw-consumers dependency update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would change the order of the fields in admin as well. Now the FormsAPI is all the way at the bottom and does not help too much.
Tested locally and works fine!
@vaszig I removed the template variable and defined a fieldset for the OpenZaakConfigAdmin (also put the less interesting/huge things in a collapse group). |
Note: the zgw-consumers update was needed because e-Suite's returns bad pagination fields and I had to modify the
get_paginated_results
utility. (and then it also had some changes itself in the way it ships the enum-choices).