From d8f94a5a4a03af4aa290de90b15ec55756162ff9 Mon Sep 17 00:00:00 2001 From: Severin Beauvais Date: Wed, 25 Sep 2024 15:49:54 -0700 Subject: [PATCH] - app version = 5.11.21 - added court order initial case - fixed registrar initial case - fixed lint warning --- package-lock.json | 4 ++-- package.json | 2 +- src/components/Restoration/ApprovalType.vue | 7 ++++++- src/views/Restoration/RestorationBusinessName.vue | 2 +- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index c1659f8c..a8239d74 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "business-create-ui", - "version": "5.11.20", + "version": "5.11.21", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "business-create-ui", - "version": "5.11.20", + "version": "5.11.21", "dependencies": { "@babel/compat-data": "^7.21.5", "@bcrs-shared-components/approval-type": "1.1.2", diff --git a/package.json b/package.json index b873c86c..85d04936 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "business-create-ui", - "version": "5.11.20", + "version": "5.11.21", "private": true, "appName": "Create UI", "sbcName": "SBC Common Components", diff --git a/src/components/Restoration/ApprovalType.vue b/src/components/Restoration/ApprovalType.vue index 4930a0f2..04463ca0 100644 --- a/src/components/Restoration/ApprovalType.vue +++ b/src/components/Restoration/ApprovalType.vue @@ -3,6 +3,7 @@ void @Action(useStore) setRestorationNoticeDate!: (x: string) => void + get approvedByCourtOrder (): boolean { + return !!this.getRestoration.courtOrder.fileNumber + } + get approvedByRegistrar (): boolean { - return (!!this.getRestoration.noticeDate && !!this.getRestoration.applicationDate) + return (!!this.getRestoration.noticeDate || !!this.getRestoration.applicationDate) } } diff --git a/src/views/Restoration/RestorationBusinessName.vue b/src/views/Restoration/RestorationBusinessName.vue index a05d2b21..4c639813 100644 --- a/src/views/Restoration/RestorationBusinessName.vue +++ b/src/views/Restoration/RestorationBusinessName.vue @@ -34,7 +34,7 @@

Restoration Type

Determine the restoration and approval type. -

+