수기발행 / 현금영수증 용도변경

This commit is contained in:
focp212@naver.com
2025-09-11 16:38:49 +09:00
parent 1b4af7a82f
commit 48a3bd1ed4
15 changed files with 424 additions and 96 deletions

View File

@@ -1,4 +1,4 @@
import { DefaulResponsePagination, DefaultRequestPagination } from '@/entities/common/model/types';
import { DefaulResponsePagination, DefaultRequestPagination, SuccessResult } from '@/entities/common/model/types';
export enum CancelTabKeys {
All = 'All',
@@ -33,6 +33,11 @@ export enum ProcessStep {
One = 'One',
Two = 'Two',
};
export enum CashReceiptPurpose {
ALL = 'ALL',
INCOME_DEDUCTION = 'INCOME_DEDUCTION',
EXPENSE_PROOF = 'EXPENSE_PROOF',
};
export interface SortOptionsBoxProps {
sortBy: SortByKeys;
onCliCkToSort: (sortBy: SortByKeys) => void;
@@ -301,7 +306,7 @@ export interface IssueInfo {
approvalNumber?: number;
issueNumber?: number;
issueDateTime?: string;
purpose?: string;
purpose?: CashReceiptPurpose;
paymentMethod?: string;
productName?: string;
transmissionStatus?: string;
@@ -361,11 +366,11 @@ export interface BillingDetailResponse extends BillingInfo {
}
export interface DetailInfoProps extends DetailResponse {
transactionCategory: TransactionCategory;
transactionCategory?: TransactionCategory;
show?: boolean;
tid?: string;
serviceCode?: string;
issueNumber?: number;
purpose?: CashReceiptPurpose;
onClickToShowInfo?: (info: InfoWrapKeys) => void;
}
export interface DetailArrowProps {
@@ -415,4 +420,34 @@ export interface AllTransactionCancelInfoResponse {
export interface FilterProps {
filterOn: boolean;
setFilterOn: (filterOn: boolean) => void;
}
};
export interface CashReceiptPurposeUpdateParams {
issueNumber: number;
newPurpose: string;
};
export interface CashReceiptPurposeUpdateResponse {
issueNumber: number;
beforePurposeType: CashReceiptPurpose;
afterPurposeType: CashReceiptPurpose;
updateDateTime: string;
};
export interface CashReceiptManualIssueParams {
businessNumber: string,
purpose: CashReceiptPurpose
productName: string,
buyerName: string,
issueNumber: string,
email: string,
phoneNumber: string,
supplyAmount: number,
vatAmount: number,
taxFreeAmount: number,
serviceCharge: number
};
export interface CashReceiptManualIssueResponse {
approvalNumber: number,
totalAmount: number,
issueDateTime: string,
issueResult: SuccessResult
};