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

Update permit renewal end time calculation #559

Merged
merged 3 commits into from
Dec 9, 2024

Conversation

mhieta
Copy link
Collaborator

@mhieta mhieta commented Dec 9, 2024

Description

Update the open ended permit renewal process permit end time calculation. Calculate the end time by adding months to the start time.

Other updates:

  • Update DST-testcases
  • Add more tests for edge cases
  • Update open-ended permit months left calculation
  • Update Django Admin fields and ordering

Context

PV-908

How Has This Been Tested?

Through enhanced unit tests.

Update the open ended permit renewal process permit end time calculation.
Calculate the end time by adding `months` to the start time.

Also update DST-testcases and add more tests for edge cases.
Add id to RefundAdmin list.
Remove custom ordering from ParkingPermitAdmin. This way latest permits become first in the list,
which is typically more desirable use-case.
@mhieta mhieta merged commit 40257ca into develop Dec 9, 2024
3 checks passed
@mhieta mhieta deleted the PV-908-open-ended-permit-renewal-end-time-update branch December 9, 2024 09:56
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.

1 participant