Remove unused key-in payment transaction types and simplify cancel status logic
- Remove FULL_CANCEL and PARTIAL_CANCEL from KeyInPaymentTansactionType enum - Remove corresponding filter buttons from payment status button group - Simplify list item color logic to combine PRE_CANCEL and POST_CANCEL handling 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -64,13 +64,9 @@ export const ListItem = ({
|
||||
else if (transactionType === "APPROVAL") {
|
||||
rs = 'blue';
|
||||
}
|
||||
else if (transactionType === "FULL_CANCEL") {
|
||||
else if (transactionType === "PRE_CANCEL" || transactionType === "POST_CANCEL") {
|
||||
rs = 'gray';
|
||||
}
|
||||
else if (transactionType === 'PARTIAL_CANCEL') {
|
||||
rs = 'gray';
|
||||
}
|
||||
|
||||
}
|
||||
else if (additionalServiceCategory === AdditionalServiceCategory.AccountHolderAuth) {
|
||||
if (authStatus === "REQUEST" || authStatus === "SUCCESS") {
|
||||
|
||||
Reference in New Issue
Block a user