오류 수정
This commit is contained in:
@@ -36,7 +36,7 @@ export const AllTransactionCancel = ({
|
|||||||
const [isNpg, setIsNpg] = useState<boolean>(false);
|
const [isNpg, setIsNpg] = useState<boolean>(false);
|
||||||
const [isVatAutoCalcMerchant, setIsVatAutoCalcMerchant] = useState<boolean>(false);
|
const [isVatAutoCalcMerchant, setIsVatAutoCalcMerchant] = useState<boolean>(false);
|
||||||
const [isVatDisplayed, setIsVatDisplayed] = useState<boolean>(false);
|
const [isVatDisplayed, setIsVatDisplayed] = useState<boolean>(false);
|
||||||
const [partCancelCl, setPartCancelCl] = useState<boolean>(false);
|
const [partCancelCl, setPartCancelCl] = useState<boolean>(false); // 부분취소 가능한지 확인용
|
||||||
const [remainAmount, setRemainAmount] = useState<number>(0);
|
const [remainAmount, setRemainAmount] = useState<number>(0);
|
||||||
const [serviceAmount, setServiceAmount] = useState<number | null>(null);
|
const [serviceAmount, setServiceAmount] = useState<number | null>(null);
|
||||||
const [supplyAmount, setSupplyAmount] = useState<number | null>(null);
|
const [supplyAmount, setSupplyAmount] = useState<number | null>(null);
|
||||||
@@ -128,7 +128,7 @@ export const AllTransactionCancel = ({
|
|||||||
taxFreeAmount: (!!partCancelCl)? cancelTaxFreeAmount: (taxFreeAmount || 0),
|
taxFreeAmount: (!!partCancelCl)? cancelTaxFreeAmount: (taxFreeAmount || 0),
|
||||||
serviceAmount: (!!partCancelCl)? cancelServiceAmount: (serviceAmount || 0),
|
serviceAmount: (!!partCancelCl)? cancelServiceAmount: (serviceAmount || 0),
|
||||||
clientIp: userInfo.clientAddressIP,
|
clientIp: userInfo.clientAddressIP,
|
||||||
partCancelCl: partCancelCl,
|
partCancelCl: (tabAction === CancelTabKeys.Part),
|
||||||
isNpg: isNpg,
|
isNpg: isNpg,
|
||||||
serviceCode: serviceCode
|
serviceCode: serviceCode
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user