에스크로 필터

This commit is contained in:
focp212@naver.com
2025-09-15 13:55:16 +09:00
parent 42a3892e30
commit b743ed3a13
5 changed files with 225 additions and 164 deletions

View File

@@ -38,7 +38,27 @@ export enum CashReceiptPurpose {
INCOME_DEDUCTION = 'INCOME_DEDUCTION',
EXPENSE_PROOF = 'EXPENSE_PROOF',
};
export enum EscrowSearchType {
ALL = 'ALL',
ORDER_NUMBER = 'ORDER_NUMBER',
TID = 'TID'
};
export enum EscrowDeliveryStatus {
ALL = 'ALL',
PAY_COMPLETE = 'PAY_COMPLETE',
DELIVERY_INSERT = 'DELIVERY_INSERT',
DELIVERY_COMPLETE = 'DELIVERY_COMPLETE',
PURCHASE_CONFIRM = 'PURCHASE_CONFIRM',
PURCHASE_REJECT = 'PURCHASE_REJECT',
RETURN_PROCESSING = 'RETURN_PROCESSING',
DEPOSIT_COMPLETE = 'DEPOSIT_COMPLETE'
};
export enum EscrowSettlementStatus {
ALL = 'ALL',
CREDIT_CARD = 'CREDIT_CARD',
REAL_ACCOUNT = 'REAL_ACCOUNT',
ACCOUNT_TRANSFER = 'ACCOUNT_TRANSFER'
};
export enum BillingSearchType {
ALL = 'ALL',
ORDER_NUMBER = 'ORDER_NUMBER',
@@ -200,8 +220,8 @@ export interface EscrowListParams {
endDate?: string;
deliveryStatus?: string;
settlementStatus?: string;
minAmount?: number;
maxAmount?: number;
minAmount?: number | string;
maxAmount?: number | string;
pagination?: DefaultRequestPagination;
};
@@ -214,6 +234,8 @@ export interface BillingListParams {
requestStatus?: string;
processResult?: string;
paymentMethod?: string;
minAmount?: number | string;
maxAmount?: number | string;
pagination?: DefaultRequestPagination
};
@@ -452,7 +474,24 @@ export interface CashReceiptFilterProps extends FilterProps {
};
export interface EscrowFilterProps extends FilterProps {
mid: string;
searchType: EscrowSearchType;
searchKeyword: string;
startDate: string
endDate: string;
deliveryStatus: EscrowDeliveryStatus;
settlementStatus: EscrowSettlementStatus;
minAmount: number;
maxAmount: number;
setMid: (mid: string) => void;
setSearchType: (searchType: EscrowSearchType) => void;
setSearchKeyword: (searchKeyword: string) => void;
setStartDate: (startDate: string) => void;
setEndDate: (endDate: string) => void;
setDeliveryStatus: (deliveryStatus: EscrowDeliveryStatus) => void;
setSettlementStatus: (settlementStatus: EscrowSettlementStatus) => void;
setMinAmount: (minAmount: string | number) => void;
setMaxAmount: (maxAmount: string | number) => void;
};
export interface BillingFilterProps extends FilterProps {
mid: string;