필터
This commit is contained in:
@@ -38,6 +38,30 @@ export enum CashReceiptPurpose {
|
||||
INCOME_DEDUCTION = 'INCOME_DEDUCTION',
|
||||
EXPENSE_PROOF = 'EXPENSE_PROOF',
|
||||
};
|
||||
|
||||
export enum BillingSearchType {
|
||||
ALL = 'ALL',
|
||||
ORDER_NUMBER = 'ORDER_NUMBER',
|
||||
TID = 'TID'
|
||||
};
|
||||
export enum BillingRequestStatus {
|
||||
ALL = 'ALL',
|
||||
IN_PROGRESS = 'IN_PROGRESS',
|
||||
SUCCESS = 'SUCCESS',
|
||||
REQUEST_CANCEL = 'REQUEST_CANCEL'
|
||||
};
|
||||
export enum BillingProcessResult {
|
||||
ALL = 'ALL',
|
||||
SUCCESS = 'SUCCESS',
|
||||
FAILURE = 'FAILURE'
|
||||
};
|
||||
export enum BillingPaymentMethod {
|
||||
ALL = 'ALL',
|
||||
CREDIT_CARD = 'CREDIT_CARD',
|
||||
VIRTUAL_ACCOUNT = 'VIRTUAL_ACCOUNT',
|
||||
MOBILE_PAYMENT = 'MOBILE_PAYMENT'
|
||||
};
|
||||
|
||||
export interface SortOptionsBoxProps {
|
||||
sortBy: SortByKeys;
|
||||
onCliCkToSort: (sortBy: SortByKeys) => void;
|
||||
@@ -421,6 +445,33 @@ export interface FilterProps {
|
||||
filterOn: boolean;
|
||||
setFilterOn: (filterOn: boolean) => void;
|
||||
};
|
||||
export interface AllTransactionFilterProps extends FilterProps {
|
||||
|
||||
};
|
||||
export interface CashReceiptFilterProps extends FilterProps {
|
||||
|
||||
};
|
||||
export interface EscrowFilterProps extends FilterProps {
|
||||
|
||||
};
|
||||
export interface BillingFilterProps extends FilterProps {
|
||||
mid: string;
|
||||
searchType: BillingSearchType;
|
||||
searchKeyword: string;
|
||||
startDate: string;
|
||||
endDate: string;
|
||||
requestStatus: BillingRequestStatus;
|
||||
processResult: BillingProcessResult;
|
||||
paymentMethod: BillingPaymentMethod;
|
||||
setMid: (mid: string) => void;
|
||||
setSearchType: (searchType: BillingSearchType) => void;
|
||||
setSearchKeyword: (searchKeyword: string) => void;
|
||||
setStartDate: (startDate: string) => void;
|
||||
setEndDate: (endDate: string) => void;
|
||||
setRequestStatus: (requestStatus: BillingRequestStatus) => void;
|
||||
setProcessResult: (processResult: BillingProcessResult) => void;
|
||||
setPaymentMethod: (paymentMethod: BillingPaymentMethod) => void;
|
||||
};
|
||||
|
||||
export interface CashReceiptPurposeUpdateParams {
|
||||
issueNumber: number;
|
||||
|
||||
Reference in New Issue
Block a user