diff --git a/src/entities/additional-service/model/key-in/constant.ts b/src/entities/additional-service/model/key-in/constant.ts index e107d9b..9b3c9e8 100644 --- a/src/entities/additional-service/model/key-in/constant.ts +++ b/src/entities/additional-service/model/key-in/constant.ts @@ -4,8 +4,8 @@ import { KeyInPaymentTansactionType } from "./types"; export const getKeyInPaymentPaymentStatusBtnGroup = (t: TFunction) => [ { name: t('transaction.constants.all'), value: KeyInPaymentTansactionType.ALL }, { name: t('transaction.constants.approval'), value: KeyInPaymentTansactionType.APPROVAL }, - { name: t('additionalService.keyIn.preCancel'), value: KeyInPaymentTansactionType.PRE_CANCEL }, - { name: t('additionalService.keyIn.postCancel'), value: KeyInPaymentTansactionType.POST_CANCEL } + { name: t('additionalService.keyIn.fullCancel'), value: KeyInPaymentTansactionType.FULL_CANCEL }, + { name: t('additionalService.keyIn.partialCancel'), value: KeyInPaymentTansactionType.PARTIAL_CANCEL }, ]; export const getKeyInPaymentPaymentStatusName = (t: TFunction) => (status?: string): string => { diff --git a/src/entities/additional-service/model/key-in/types.ts b/src/entities/additional-service/model/key-in/types.ts index 5f934e8..1b1e144 100644 --- a/src/entities/additional-service/model/key-in/types.ts +++ b/src/entities/additional-service/model/key-in/types.ts @@ -7,8 +7,8 @@ import { AdditionalServiceCategory, ExtensionRequestParams, FilterProps } from " export enum KeyInPaymentTansactionType { ALL = 'ALL', APPROVAL = 'APPROVAL', - PRE_CANCEL = 'PRE_CANCEL', - POST_CANCEL = 'POST_CANCEL' + FULL_CANCEL = 'FULL_CANCEL', + PARTIAL_CANCEL = 'PARTIAL_CANCEL' } export enum KeyInPaymentStatus { diff --git a/src/locales/en.json b/src/locales/en.json index 82e5a52..c5dfca0 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -1059,10 +1059,8 @@ "progressStatus": "Progress Status" }, "keyIn": { - "fullCancel": "Full Cancel", - "partialCancel": "Partial Cancel", - "preCancel": "Pre-cancel", - "postCancel": "Post-cancel", + "fullCancel": "Pre-cancel", + "partialCancel": "Post-cancel", "productPrice": "Product Price" }, "infoWrap": { diff --git a/src/locales/ko.json b/src/locales/ko.json index 8c8ca69..6ddb2f6 100644 --- a/src/locales/ko.json +++ b/src/locales/ko.json @@ -1059,9 +1059,7 @@ "progressStatus": "진행상태" }, "keyIn": { - "fullCancel": "전체취소", - "partialCancel": "부분취소", - "preCancel": "전취소", + "fullCancel":"전취소", "postCancel": "후취소", "productPrice": "상품가격" },