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

25188 - court order filing added #3203

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions legal-api/src/legal_api/core/meta/filing.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,11 +387,18 @@ class FilingTitles(str, Enum):
]
},
'courtOrder': {
'name': 'courtOrder',
'title': 'Court Order',
'displayName': 'Court Order',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

displayName should not be removed. Please revert this.

'code': 'NOFEE'
},
'name': 'courtOrder',
'title': 'Court Order',
'codes': {
'BEN': 'COURT',
'BC': 'COURT',
'ULC': 'COURT',
'CC': 'COURT',
'C': 'COURT',
'CUL': 'COURT',
'CCC': 'COURT',
}
},
'dissolution': {
'name': 'dissolution',
'additional': [
Expand Down
14 changes: 13 additions & 1 deletion legal-api/src/legal_api/models/filing.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,19 @@ class Source(Enum):
'CCC': 'CRCTN',
}
},
'courtOrder': {
'name': 'courtOrder',
'title': 'Court Order',
'codes': {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

courtOrder is applicable for all legalTypes https://github.com/bcgov/lear/blob/main/legal-api/src/legal_api/services/authz.py#L258. Check what should be the fee code for other legalTypes

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Mihai-QuickSilverDev hey mihai, could you please provide any information on this fee codes

'BEN': 'COURT',
'BC': 'COURT',
'ULC': 'COURT',
'CC': 'COURT',
'C': 'COURT',
'CUL': 'COURT',
'CCC': 'COURT',
}
},
'dissolution': {
'name': 'dissolution',
'voluntary': {
Expand Down Expand Up @@ -447,7 +460,6 @@ class Source(Enum):
# changing the structure of fee code in courtOrder/registrarsNotation/registrarsOrder
# for all the business the fee code remain same as NOFEE (Staff)
'adminFreeze': {'name': 'adminFreeze', 'title': 'Admin Freeze', 'code': 'NOFEE'},
'courtOrder': {'name': 'courtOrder', 'title': 'Court Order', 'code': 'NOFEE'},
'putBackOff': {'name': 'putBackOff', 'title': 'Put Back Off', 'code': 'NOFEE'},
'putBackOn': {'name': 'putBackOn', 'title': 'Put Back On', 'code': 'NOFEE'},
'registrarsNotation': {'name': 'registrarsNotation', 'title': 'Registrars Notation', 'code': 'NOFEE'},
Expand Down
Loading