Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

20421 - UXA for displaying suspension status next to eft overdue payment accounts #2817

Merged
merged 2 commits into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions auth-web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion auth-web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "auth-web",
"version": "2.6.8",
"version": "2.6.9",
"appName": "Auth Web",
"sbcName": "SBC Common Components",
"private": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,8 @@ import {
AccountStatus,
Pages,
Permission,
Role
Role,
SuspensionReason
} from '@/util/constants'
import { Action, Getter, State } from 'pinia-class'
import { Component, Mixins } from 'vue-property-decorator'
Expand Down Expand Up @@ -642,9 +643,9 @@ export default class AccountInfo extends Mixins(
private getStatusText (status) {
switch (status) {
case AccountStatus.NSF_SUSPENDED:
return 'NSF SUSPENDED'
return SuspensionReason.NSF_SUSPENDED
case AccountStatus.SUSPENDED:
return 'SUSPENDED'
return SuspensionReason.SUSPENDED
default:
return status
}
Expand Down
2 changes: 1 addition & 1 deletion auth-web/src/components/pay/LinkedShortNameTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
color="error"
class="item-chip"
>
{{ AccountStatus.SUSPENDED }}
{{ AccountStatus.NSF_SUSPENDED }}
</v-chip>
</template>
<template #item-slot-amountOwing="{ item }">
Expand Down
4 changes: 3 additions & 1 deletion auth-web/src/util/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@ export enum SuspensionReasonCode {

export enum SuspensionReason {
NSF = 'NSF',
OVERDUE_EFT = 'Overdue EFT Payments'
OVERDUE_EFT = 'Overdue EFT Payments',
NSF_SUSPENDED = 'NSF SUSPENDED',
SUSPENDED = 'SUSPENDED'
}

export enum IdpHint {
Expand Down
Loading