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

feat: #659 support FOM for woodlot licensees #661

Merged
merged 30 commits into from
Aug 1, 2024

Conversation

ianliuwk1019
Copy link
Collaborator

@ianliuwk1019 ianliuwk1019 commented Jul 25, 2024

ref: #659

  • add migration script to include new project_plan_code table for "FSP" and "WOODLOT".

  • add migration script to include new columns for project table: "project_plan_code" and "woodlot_license_number" and index app_fom.project (project_plan_code).
    default "project_plan_code" to value "FSP".

  • update ORM entities according to new migration script.

  • include "projectPlanCode" and "woodlotLicenseNumber" request fields and validations for creating new FOM at backend.

  • generate new api-client

  • add new input field "Type of Plan Holder" to select plan and its validation when creating/updating new FOM.

  • add new input field "woodlotLicenseNumber" when plan selected is "WOODLOT" and its validation when creating/updating new FOM .

  • make previous FSP input field as only required when plan selected is "FSP".

  • search result to include Woodlot License number at Plan Number column (previous FSP ID column)

  • adjust several pages for conditoinal displaying FSP ID or Woodlot License number.

  • fix affected existing tests.

  • adjust public frontend to conditionally display FSP # or Woodlot #

  • Asked question in ticket to confirm if there is existing Woodlot License Plan FOM(s) in production with FSP ID enters as some number but haven't gotten back reply yet. TODO: only when there is really such case, then need to include another migration to fix these particular FOM for correct project_plan and woodlot number from FSP ID column.
    @basilv


Thanks for the PR!

Any successful deployments (not always required) will be available below.

Once merged, code will be promoted and handed off to following workflow run.


Thanks for the PR!

Any successful deployments (not always required) will be available below.

Once merged, code will be promoted and handed off to following workflow run.

@ianliuwk1019 ianliuwk1019 marked this pull request as ready for review July 29, 2024 22:51
@ianliuwk1019 ianliuwk1019 requested a review from basilv July 29, 2024 22:53
@ianliuwk1019 ianliuwk1019 merged commit 1c1a325 into main Aug 1, 2024
17 of 18 checks passed
@ianliuwk1019 ianliuwk1019 deleted the feat/659-woodlot-licensees-support branch August 1, 2024 21:01
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