Skip to content

Commit b540544

Browse files
committed
Rename to Product and Payment, also remove Payment Method
1 parent 60ef675 commit b540544

File tree

4 files changed

+7
-26
lines changed

4 files changed

+7
-26
lines changed

auth-web/src/util/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ export enum Permission {
442442
VIEW_ACCOUNT = 'VIEW_ACCOUNT',
443443
TRANSACTION_HISTORY = 'TRANSACTION_HISTORY',
444444
MANAGE_STATEMENTS = 'MANAGE_STATEMENTS',
445-
VIEW_PAYMENT_METHODS = 'VIEW_PAYMENT_METHODS',
445+
VIEW_PAYMENT_METHODS = 'VIEW_PAYMENT_METHODS', // TODO merge with product Packages?
446446
VIEW_ADMIN_CONTACT = 'VIEW_ADMIN_CONTACT',
447447
RESET_OTP = 'RESET_OTP',
448448
MAKE_PAYMENT = 'MAKE_PAYMENT',
@@ -451,7 +451,7 @@ export enum Permission {
451451
CHANGE_AUTH_OPTIONS = 'CHANGE_AUTH_OPTIONS',
452452
EDIT_REQUEST_PRODUCT_PACKAGE = 'EDIT_REQUEST_PRODUCT_PACKAGE',
453453
VIEW_ACTIVITYLOG = 'VIEW_ACTIVITYLOG',
454-
VIEW_REQUEST_PRODUCT_PACKAGE='VIEW_REQUEST_PRODUCT_PACKAGE',
454+
VIEW_REQUEST_PRODUCT_PACKAGE='VIEW_REQUEST_PRODUCT_PACKAGE', // TODO merge with product Packages?
455455
DEACTIVATE_ACCOUNT='DEACTIVATE_ACCOUNT',
456456
VIEW_USER_LOGINSOURCE='VIEW_USER_LOGINSOURCE',
457457
EDIT_BUSINESS_INFO = 'EDIT_BUSINESS_INFO',

auth-web/src/views/auth/AccountSettings.vue

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -191,30 +191,11 @@
191191
</v-list-item-icon>
192192
<v-list-item-title>Authentication</v-list-item-title>
193193
</v-list-item>
194-
<v-list-item
195-
v-can:VIEW_PAYMENT_METHODS.hide
196-
dense
197-
class="py-1 px-4"
198-
aria-label="Payment Methods"
199-
role="listitem"
200-
:to="getUrl('payment-option')"
201-
data-test="user-auth-nav-item"
202-
>
203-
<v-list-item-icon>
204-
<v-icon
205-
color="link"
206-
left
207-
>
208-
mdi-currency-usd
209-
</v-icon>
210-
</v-list-item-icon>
211-
<v-list-item-title>Payment Methods</v-list-item-title>
212-
</v-list-item>
213194
<v-list-item
214195
v-can:VIEW_REQUEST_PRODUCT_PACKAGE.hide
215196
dense
216197
class="py-1 px-4"
217-
aria-label="Products and Services"
198+
aria-label="Products and Payment"
218199
role="listitem"
219200
:to="getUrl('product-settings')"
220201
data-test="user-auth-nav-item"
@@ -227,7 +208,7 @@
227208
mdi-apps
228209
</v-icon>
229210
</v-list-item-icon>
230-
<v-list-item-title>Products and Services</v-list-item-title>
211+
<v-list-item-title>Products and Payment</v-list-item-title>
231212
</v-list-item>
232213
</v-list-item-group>
233214
</v-list>

auth-web/src/views/auth/create-account/AccountSetupView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export default class AccountSetupView extends Vue {
156156
private stepperConfig: Array<StepConfiguration> =
157157
[
158158
{
159-
title: 'Select Products and Services',
159+
title: 'Select Products and Payment',
160160
stepName: 'Products and Payment',
161161
component: SelectProductService,
162162
componentProps: {

auth-web/src/views/auth/create-account/GovmAccountSetupView.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ export default class GovmAccountSetupView extends Vue {
101101
}
102102
},
103103
{
104-
title: 'Products and Services',
105-
stepName: 'Products and Services',
104+
title: 'Products and Payment',
105+
stepName: 'Products and Payment',
106106
component: SelectProductService,
107107
componentProps: {
108108
isStepperView: true

0 commit comments

Comments
 (0)