From dfa1a162e6e5cbe681582246915a86b1788d0ceb Mon Sep 17 00:00:00 2001
From: Shaoyun Tong <144159934+tshyun24@users.noreply.github.com>
Date: Mon, 20 Nov 2023 14:46:05 -0800
Subject: [PATCH] 18449 - GP/SP registration modify (#582)
* GP/SP regirstration modify
* package version
* fix linting
* unit tests
* clean up
* fix linting
* unit tests fix
* unit tests fixing 2
* fix linting
* reset back to previous one
* show old UI with registries staff only
* GP/SP regirstration modify
* fix linting
* unit tests
* clean up
* unit tests fix
* unit tests fixing 2
* fix UI and testing
* fix registries contact info messed up issue
* fix lint
* clean up help contact us
* clean up the getter, import etc..
* revert FirmContactInfo back
* remove obsolete component
---
package-lock.json | 4 +-
package.json | 2 +-
src/components/Registration/HelpContactUs.vue | 8 +-
src/components/common/FirmContactInfo.vue | 57 ++++++++++
src/components/common/RegAddEditOrgPerson.vue | 85 +++++++++++++--
src/mixins/add-edit-org-person-mixin.ts | 1 +
tests/unit/FirmContactInfo.spec.ts | 21 ++++
tests/unit/HelpContactUs.spec.ts | 7 +-
tests/unit/RegAddEditOrgPerson.spec.ts | 101 ++++++++++++++----
9 files changed, 250 insertions(+), 36 deletions(-)
create mode 100644 src/components/common/FirmContactInfo.vue
create mode 100644 tests/unit/FirmContactInfo.spec.ts
diff --git a/package-lock.json b/package-lock.json
index e667cf63e..2afe243c2 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "business-create-ui",
- "version": "5.6.0",
+ "version": "5.6.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "business-create-ui",
- "version": "5.6.0",
+ "version": "5.6.1",
"dependencies": {
"@babel/compat-data": "^7.21.5",
"@bcrs-shared-components/approval-type": "1.0.19",
diff --git a/package.json b/package.json
index cb62c9b71..8de5eba61 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "business-create-ui",
- "version": "5.6.0",
+ "version": "5.6.1",
"private": true,
"appName": "Create UI",
"sbcName": "SBC Common Components",
diff --git a/src/components/Registration/HelpContactUs.vue b/src/components/Registration/HelpContactUs.vue
index 304917df1..20170bb89 100644
--- a/src/components/Registration/HelpContactUs.vue
+++ b/src/components/Registration/HelpContactUs.vue
@@ -32,10 +32,10 @@
- If you require further assistance adding a business or corporation, please contact us.
+ If you require further assistance adding a business, please contact us.
-
+
import { Component, Vue } from 'vue-property-decorator'
-import RegistriesContactInfo from '@/components/common/RegistriesContactInfo.vue'
+import FirmContactInfo from '@/components/common/FirmContactInfo.vue'
@Component({
components: {
- RegistriesContactInfo
+ FirmContactInfo
}
})
export default class HelpContactUs extends Vue {
diff --git a/src/components/common/FirmContactInfo.vue b/src/components/common/FirmContactInfo.vue
new file mode 100644
index 000000000..c47000de4
--- /dev/null
+++ b/src/components/common/FirmContactInfo.vue
@@ -0,0 +1,57 @@
+
+
+
+
+ mdi-phone
+
+ Canada and U.S. Toll Free:
+ 1-877-370-1033
+
+
+
+ mdi-phone
+
+ Victoria Office:
+ 250-370-1033
+
+
+
+
+
+
+
diff --git a/src/components/common/RegAddEditOrgPerson.vue b/src/components/common/RegAddEditOrgPerson.vue
index d77abeb7b..4e1df9fbc 100644
--- a/src/components/common/RegAddEditOrgPerson.vue
+++ b/src/components/common/RegAddEditOrgPerson.vue
@@ -21,8 +21,30 @@
class="add-org-header"
:class="{'error-text': !addPersonOrgFormValid}"
>
- Add Business or Corporation
- Edit Business or Corporation
+
+ Add Business or Corporation
+ Edit Business or Corporation
+
+
+
+
+
+ Add a Business as a Partner
+
+
+ Add a Business as the Proprietor
+
+
+
+
+
+ Edit a Business as a Partner
+
+
+ Edit a Business as the Proprietor
+
+
+
@@ -104,9 +126,9 @@
-
+
-
+
-
+
@@ -235,7 +257,7 @@
a bank or a railway, use the manual entry form. All other types of business cannot
be a partner.
-
+