Skip to content

Commit

Permalink
Rename to Product and Payment, also remove Payment Method
Browse files Browse the repository at this point in the history
  • Loading branch information
seeker25 committed Jan 3, 2025
1 parent 60ef675 commit b540544
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 26 deletions.
4 changes: 2 additions & 2 deletions auth-web/src/util/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ export enum Permission {
VIEW_ACCOUNT = 'VIEW_ACCOUNT',
TRANSACTION_HISTORY = 'TRANSACTION_HISTORY',
MANAGE_STATEMENTS = 'MANAGE_STATEMENTS',
VIEW_PAYMENT_METHODS = 'VIEW_PAYMENT_METHODS',
VIEW_PAYMENT_METHODS = 'VIEW_PAYMENT_METHODS', // TODO merge with product Packages?
VIEW_ADMIN_CONTACT = 'VIEW_ADMIN_CONTACT',
RESET_OTP = 'RESET_OTP',
MAKE_PAYMENT = 'MAKE_PAYMENT',
Expand All @@ -451,7 +451,7 @@ export enum Permission {
CHANGE_AUTH_OPTIONS = 'CHANGE_AUTH_OPTIONS',
EDIT_REQUEST_PRODUCT_PACKAGE = 'EDIT_REQUEST_PRODUCT_PACKAGE',
VIEW_ACTIVITYLOG = 'VIEW_ACTIVITYLOG',
VIEW_REQUEST_PRODUCT_PACKAGE='VIEW_REQUEST_PRODUCT_PACKAGE',
VIEW_REQUEST_PRODUCT_PACKAGE='VIEW_REQUEST_PRODUCT_PACKAGE', // TODO merge with product Packages?
DEACTIVATE_ACCOUNT='DEACTIVATE_ACCOUNT',
VIEW_USER_LOGINSOURCE='VIEW_USER_LOGINSOURCE',
EDIT_BUSINESS_INFO = 'EDIT_BUSINESS_INFO',
Expand Down
23 changes: 2 additions & 21 deletions auth-web/src/views/auth/AccountSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -191,30 +191,11 @@
</v-list-item-icon>
<v-list-item-title>Authentication</v-list-item-title>
</v-list-item>
<v-list-item
v-can:VIEW_PAYMENT_METHODS.hide
dense
class="py-1 px-4"
aria-label="Payment Methods"
role="listitem"
:to="getUrl('payment-option')"
data-test="user-auth-nav-item"
>
<v-list-item-icon>
<v-icon
color="link"
left
>
mdi-currency-usd
</v-icon>
</v-list-item-icon>
<v-list-item-title>Payment Methods</v-list-item-title>
</v-list-item>
<v-list-item
v-can:VIEW_REQUEST_PRODUCT_PACKAGE.hide
dense
class="py-1 px-4"
aria-label="Products and Services"
aria-label="Products and Payment"
role="listitem"
:to="getUrl('product-settings')"
data-test="user-auth-nav-item"
Expand All @@ -227,7 +208,7 @@
mdi-apps
</v-icon>
</v-list-item-icon>
<v-list-item-title>Products and Services</v-list-item-title>
<v-list-item-title>Products and Payment</v-list-item-title>
</v-list-item>
</v-list-item-group>
</v-list>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export default class AccountSetupView extends Vue {
private stepperConfig: Array<StepConfiguration> =
[
{
title: 'Select Products and Services',
title: 'Select Products and Payment',
stepName: 'Products and Payment',
component: SelectProductService,
componentProps: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ export default class GovmAccountSetupView extends Vue {
}
},
{
title: 'Products and Services',
stepName: 'Products and Services',
title: 'Products and Payment',
stepName: 'Products and Payment',
component: SelectProductService,
componentProps: {
isStepperView: true
Expand Down

0 comments on commit b540544

Please sign in to comment.