diff --git a/src/views/Registration/RegistrationDefineBusiness.vue b/src/views/Registration/RegistrationDefineBusiness.vue
index 139fd10f4..799c1eb81 100644
--- a/src/views/Registration/RegistrationDefineBusiness.vue
+++ b/src/views/Registration/RegistrationDefineBusiness.vue
@@ -119,26 +119,6 @@
/>
-
-
-
@@ -149,7 +129,6 @@ import BusinessAddresses from '@/components/Registration/BusinessAddresses.vue'
import BusinessContactInfo from '@/components/common/BusinessContactInfo.vue'
import BusinessNumber from '@/components/Registration/BusinessNumber.vue'
import BusinessTypeConfirm from '@/components/Registration/BusinessTypeConfirm.vue'
-import FolioNumber from '@/components/common/FolioNumber.vue'
import NameRequestInfo from '@/components/common/NameRequestInfo.vue'
import NatureOfBusiness from '@/components/Registration/NatureOfBusiness.vue'
import StartDate from '@/components/Registration/StartDate.vue'
@@ -163,7 +142,6 @@ import { CommonMixin } from '@/mixins'
BusinessContactInfo,
BusinessNumber,
BusinessTypeConfirm,
- FolioNumber,
NameRequestInfo,
NatureOfBusiness,
StartDate
@@ -173,13 +151,10 @@ export default class RegistrationDefineBusiness extends Mixins(CommonMixin) {
@Getter getBusinessContact!: ContactPointIF
@Getter getRegistration!: RegistrationStateIF
@Getter getShowErrors!: boolean
- @Getter isPremiumAccount!: boolean
- @Getter getFolioNumber!: string
@Getter isTypePartnership!: boolean
@Action setBusinessContact!: ActionBindingIF
@Action setRegistrationDefineBusinessValid!: ActionBindingIF
- @Action setFolioNumber!: ActionBindingIF
@Action setRegistrationBusinessNumber!: ActionBindingIF
@Action setRegistrationBusinessTypeConfirm!: ActionBindingIF
@@ -190,7 +165,6 @@ export default class RegistrationDefineBusiness extends Mixins(CommonMixin) {
businessAddressesValid = false
businessContactValid = false
startDateValid = false
- folioNumberValid = false
/** Object of valid flags. Must match validComponents. */
get validFlags (): object {
@@ -200,8 +174,7 @@ export default class RegistrationDefineBusiness extends Mixins(CommonMixin) {
businessNumberValid: this.isTypePartnership ? this.businessNumberValid : true,
businessAddressesValid: this.businessAddressesValid,
businessContactValid: this.businessContactValid,
- businessStartDateValid: this.startDateValid,
- folioNumberValid: !this.isPremiumAccount || this.folioNumberValid
+ businessStartDateValid: this.startDateValid
}
}
@@ -212,8 +185,7 @@ export default class RegistrationDefineBusiness extends Mixins(CommonMixin) {
'business-number-header',
'business-addresses-header',
'business-contact-header',
- 'business-start-date-header',
- 'folio-number-header'
+ 'business-start-date-header'
]
/** True if all flags are valid. */
@@ -253,11 +225,6 @@ export default class RegistrationDefineBusiness extends Mixins(CommonMixin) {
this.setRegistrationDefineBusinessValid(this.allFlagsValid)
}
- onFolioNumberValidEvent (valid: boolean): void {
- this.folioNumberValid = valid
- this.setRegistrationDefineBusinessValid(this.allFlagsValid)
- }
-
@Watch('$route')
async scrollToInvalidComponent (): Promise {
if (this.getShowErrors && this.$route.name === RouteNames.REGISTRATION_DEFINE_BUSINESS) {