Skip to content

Commit

Permalink
chore: fix cra business number
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellmueller committed Sep 25, 2024
1 parent 3d61bf8 commit 2ec2102
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bc_obps/registration/schema/v1/multiple_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def resolve_business_structure(mo: MultipleOperator) -> str:

@staticmethod
def resolve_mo_is_extraprovincial_company(mo: MultipleOperator) -> bool:
return mo.bc_corporate_registry_number is not None
return mo.bc_corporate_registry_number is None

class Meta:
model = MultipleOperator
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const createMultipleOperatorsInformationSchema =
),
},
mo_cra_business_number: {
type: "string",
type: "number",
title: "CRA Business Number",
},

Expand Down

0 comments on commit 2ec2102

Please sign in to comment.