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

TP2000-1537 Bulk create QuotaDefinitionPeriods #1320

Draft
wants to merge 19 commits into
base: master
Choose a base branch
from

Conversation

CPrich905
Copy link
Collaborator

@CPrich905 CPrich905 commented Nov 11, 2024

##TODO

  • Fix tests

future features:

  • increment/decrement for the volumes

TP2000-1537 Bulk create QuotaDefinitionPeriods

Why

  • Currently QuotaDefinitionPeriods can only be created one by one
  • A Quota may cover a significant period of time and creating definition periods to cover the duration of the quota may require a significant amount of repetitions through this journey.

What

This PR utilises a Django form wizard to bulk create QuotaDefinitionPeriods.
There are four stages to the journey:

  1. start, outlining the information the users will need to have available
  2. enter initial information. This collects the QuotaOrderNumber the QuotaDefinitionPeriods are to be built with, the number of definition periods to be created, and the frequency with which they will be duplicated (Once, Annually, Quarterly, Custom)
  3. definition information. This is a replica of the current create QuotaDefinitionPeriod form.
  4. review page. Here, the user can update any details that require changing on individual QuotaDefinitionPeriods. Once they are happy with the information here, the user clicks submit and the QuotaDefinitionPeriods are created and the user is taken to a standard success page.

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.

2 participants