This commit is contained in:
focp212@naver.com
2025-10-16 11:16:13 +09:00
parent 8f93650ba0
commit 941128e1cc
8 changed files with 103 additions and 96 deletions

View File

@@ -2,7 +2,7 @@ import {
AllTransactionMoidTid,
AllTransactionSearchCl,
AllTransactionServiceCode,
AllTransactionStateCode,
AllTransactionStatusCode,
BillingPaymentMethod,
BillingProcessResult,
BillingRequestStatus,
@@ -20,11 +20,11 @@ export const AllTransactionMoidTidOptionsGroup = [
{name: 'TID', value: AllTransactionMoidTid.TID},
];
export const AllTransactionStateCodeBtnGroup = [
{name: '전체', value: AllTransactionStateCode.ALL},
{name: '승인/입금완료', value: AllTransactionStateCode.APPROVAL},
{name: '전취소/취소', value: AllTransactionStateCode.CANCEL},
{name: '후취소/환불', value: AllTransactionStateCode.REFUND}
export const AllTransactionStatusCodeBtnGroup = [
{name: '전체', value: AllTransactionStatusCode.ALL},
{name: '승인/입금완료', value: AllTransactionStatusCode.APPROVAL},
{name: '전취소/취소', value: AllTransactionStatusCode.CANCEL},
{name: '후취소/환불', value: AllTransactionStatusCode.REFUND}
];
export const AllTransactionServiceCodeOptionsGroup = [
{name: '전체', value: AllTransactionServiceCode.ALL},
@@ -43,6 +43,8 @@ export const AllTransactionCardBankCodeOptionsGroup = {
};
export const CashReceiptPurposeTypeBtnGroup = [
{name: '전체', value: CashReceiptPurposeType.ALL},
{name: '소득공제', value: CashReceiptPurposeType.INCOME_DEDUCTION},

View File

@@ -30,7 +30,7 @@ export enum AllTransactionMoidTid {
MOID = 'MOID',
TID = 'TID'
};
export enum AllTransactionStateCode {
export enum AllTransactionStatusCode {
ALL = '0',
APPROVAL = '1',
CANCEL = '2',
@@ -136,7 +136,7 @@ export interface ListDateGroupProps {
};
export interface AllTransactionListProps {
transactionCategory: TransactionCategory;
listItems: Record<string, Array<ListItemProps>>
listItems: Array<any>;
};
export interface CashReceiptListProps {
transactionCategory: TransactionCategory;
@@ -227,7 +227,7 @@ export interface AllTransactionListParams {
tid?: string;
fromDate: string;
toDate: string;
stateCode?: string;
statusCode?: string;
serviceCode?: string;
minAmount?: number;
maxAmount?: number;
@@ -508,8 +508,8 @@ export interface AllTransactionFilterProps extends FilterProps {
mid: string;
fromDate: string;
toDate: string;
stateCode: AllTransactionStateCode;
serviceCode: AllTransactionServiceCode;
statusCode: string;
serviceCode: string;
minAmount?: number;
maxAmount?: number;
cardCode?: string;
@@ -521,15 +521,15 @@ export interface AllTransactionFilterProps extends FilterProps {
setTid: (tid: string) => void;
setFromDate: (fromDate: string) => void;
setToDate: (endDate: string) => void;
setStateCode: (stateCode: AllTransactionStateCode) => void;
setServiceCode: (serviceCode: AllTransactionServiceCode) => void;
setStatusCode: (statusCode: string) => void;
setServiceCode: (serviceCode: string) => void;
setMinAmount: (minAmount?: number) => void;
setMaxAmount: (maxAmount?: number) => void;
setCardCode: (cardCode: string | undefined) => void;
setBankCode: (bankCode: string | undefined) => void;
setSearchCl: (searchCl: AllTransactionSearchCl | undefined) => void;
setSearchValue: (searchValue: string | undefined) => void;
serviceCodeOptions?: Array<Record<string, any>>;
};
export interface CashReceiptFilterProps extends FilterProps {
mid : string;