Add KeyIn pre/post cancel types and improve English translations
- Add PRE_CANCEL and POST_CANCEL transaction types to KeyIn payment - Update English translations for better readability (FAQ, Settlement Service) - Fix calendar month date parsing to handle format correctly 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,9 @@ 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.fullCancel'), value: KeyInPaymentTansactionType.FULL_CANCEL },
|
||||
{ name: t('additionalService.keyIn.partialCancel'), value: KeyInPaymentTansactionType.PARTIAL_CANCEL }
|
||||
{ name: t('additionalService.keyIn.partialCancel'), value: KeyInPaymentTansactionType.PARTIAL_CANCEL },
|
||||
{ name: t('additionalService.keyIn.preCancel'), value: KeyInPaymentTansactionType.PRE_CANCEL },
|
||||
{ name: t('additionalService.keyIn.postCancel'), value: KeyInPaymentTansactionType.POST_CANCEL }
|
||||
];
|
||||
|
||||
export const getKeyInPaymentPaymentStatusName = (t: TFunction) => (status?: string): string => {
|
||||
|
||||
@@ -8,7 +8,9 @@ export enum KeyInPaymentTansactionType {
|
||||
ALL = 'ALL',
|
||||
APPROVAL = 'APPROVAL',
|
||||
FULL_CANCEL = 'FULL_CANCEL',
|
||||
PARTIAL_CANCEL = 'PARTIAL_CANCEL'
|
||||
PARTIAL_CANCEL = 'PARTIAL_CANCEL',
|
||||
PRE_CANCEL = 'PRE_CANCEL',
|
||||
POST_CANCEL = 'POST_CANCEL'
|
||||
}
|
||||
|
||||
export enum KeyInPaymentStatus {
|
||||
|
||||
Reference in New Issue
Block a user