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

LTD: Add endpoint for licences list #2235

Draft
wants to merge 24 commits into
base: dev
Choose a base branch
from
Draft

LTD: Add endpoint for licences list #2235

wants to merge 24 commits into from

Commits on Oct 31, 2024

  1. Add DRF csv renderer

    kevincarrogan committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    5d58f86 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    684aac7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6cb8532 View commit details
    Browse the repository at this point in the history
  4. Address review comments

     - remove licence statuses endpoint for now
     - make tests work
    saruniitr authored and kevincarrogan committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    f86d6f3 View commit details
    Browse the repository at this point in the history
  5. Update url name and fix fixture

    saruniitr authored and kevincarrogan committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    d90ca37 View commit details
    Browse the repository at this point in the history
  6. Add licence issue date to licences list

    Licence document generation date is taken for this purpose.
    saruniitr authored and kevincarrogan committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    545f1cd View commit details
    Browse the repository at this point in the history
  7. Update Licences list view to excludes licences with no goods

    When all products on the application are NLR then the current code
    allowed creation of a licence due a bug. This is not fixed yet so
    exclude these cases as it can skew licence data.
    saruniitr authored and kevincarrogan committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    e73df0f View commit details
    Browse the repository at this point in the history
  8. Only consider licences for finalised Cases

    In some case a licence is issued but subsequently application is
    marked as withdrawn. Licence also should've been cancelled in this
    case but we are not handling this atm so filter these cases.
    saruniitr authored and kevincarrogan committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    95963ba View commit details
    Browse the repository at this point in the history
  9. Ignore cancelled licences

    As there can be multiple documents in these cases
    saruniitr authored and kevincarrogan committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    0ae5925 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    2786805 View commit details
    Browse the repository at this point in the history
  11. Add more common fixtures

    saruniitr authored and kevincarrogan committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    673b60c View commit details
    Browse the repository at this point in the history
  12. Seed letter layouts and templates

    saruniitr authored and kevincarrogan committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    7927d70 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    4553cb0 View commit details
    Browse the repository at this point in the history
  14. Use Case as base object the get licences list

    Use Case as base object and use it to filter on the licence documents.
    This avoids filtering of various case statuses, NLR products etc
    saruniitr authored and kevincarrogan committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    c0760ef View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    060f962 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    c10f0e9 View commit details
    Browse the repository at this point in the history
  17. Include refused cases in the extract

    Use the refusal letter generated date as the decision date
    saruniitr authored and kevincarrogan committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    7b06322 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    84c0b2f View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    0600888 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    ce5f7ff View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    35f1450 View commit details
    Browse the repository at this point in the history
  22. Fix DW authentication

    kevincarrogan committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    91b3d21 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    df81a44 View commit details
    Browse the repository at this point in the history
  24. Move into queryset

    kevincarrogan committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    55c8493 View commit details
    Browse the repository at this point in the history