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

21539 - Update short name history type #3044

Merged
merged 1 commit into from
Sep 24, 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.91",
"version": "2.6.92",
"appName": "Auth Web",
"sbcName": "SBC Common Components",
"private": true,
Expand Down
6 changes: 3 additions & 3 deletions auth-web/src/components/pay/eft/ShortNamePaymentHistory.vue
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ export default defineComponent({
const shortNameRefundTypes: string[] = [
ShortNameHistoryType.SN_REFUND_PENDING_APPROVAL,
ShortNameHistoryType.SN_REFUND_APPROVED,
ShortNameHistoryType.SN_REFUND_REJECTED]
ShortNameHistoryType.SN_REFUND_DECLINED]
const confirmationDialog: Ref<InstanceType<typeof ModalDialog>> = ref(null)
const errorDialog: Ref<InstanceType<typeof ModalDialog>> = ref(null)
const historyTable: Ref<InstanceType<typeof BaseVDataTable>> = ref(null)
Expand Down Expand Up @@ -305,7 +305,7 @@ export default defineComponent({
return 'Pending Approval'
case ShortNameHistoryType.SN_REFUND_APPROVED:
return 'Approved'
case ShortNameHistoryType.SN_REFUND_REJECTED:
case ShortNameHistoryType.SN_REFUND_DECLINED:
return 'Declined'
default:
return CommonUtils.formatAccountDisplayName(item) ? item.accountId && item.accountName : ''
Expand All @@ -321,7 +321,7 @@ export default defineComponent({
case ShortNameHistoryType.SN_REFUND_PENDING_APPROVAL:
case ShortNameHistoryType.SN_REFUND_APPROVED:
return `-${amount}`
case ShortNameHistoryType.SN_REFUND_REJECTED:
case ShortNameHistoryType.SN_REFUND_DECLINED:
return `-`
default:
return amount
Expand Down
4 changes: 2 additions & 2 deletions auth-web/src/util/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ export enum ShortNameHistoryType {
STATEMENT_REVERSE = 'STATEMENT_REVERSE',
SN_REFUND_PENDING_APPROVAL = 'SN_REFUND_PENDING_APPROVAL',
SN_REFUND_APPROVED = 'SN_REFUND_APPROVED',
SN_REFUND_REJECTED = 'SN_REFUND_REJECTED'
SN_REFUND_DECLINED = 'SN_REFUND_DECLINED'
}

export enum ShortNameHistoryTypeDescription {
Expand All @@ -730,7 +730,7 @@ export enum ShortNameHistoryTypeDescription {
STATEMENT_REVERSE = 'Payment Reversed',
SN_REFUND_PENDING_APPROVAL = 'Short Name Refund Request',
SN_REFUND_APPROVED = 'Short Name Refund Request',
SN_REFUND_REJECTED = 'Short Name Refund Request'
SN_REFUND_DECLINED = 'Short Name Refund Request'
}

export enum CfsAccountStatus {
Expand Down
Loading