버튼 조건 수정
This commit is contained in:
@@ -127,6 +127,17 @@ export const CashReceiptDetail = ({
|
||||
}
|
||||
};
|
||||
|
||||
const getPb86 = () => {
|
||||
if(issueInfo?.transactionType === CashReceiptTransactionType.APPROVAL
|
||||
&& issueInfo?.processResult === '발급완료'
|
||||
){
|
||||
return true;
|
||||
}
|
||||
else{
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<>
|
||||
<motion.div
|
||||
@@ -147,7 +158,7 @@ export const CashReceiptDetail = ({
|
||||
></FullMenuClose>
|
||||
</div>
|
||||
</div>
|
||||
<div className={ `option-list ${(detailInfo?.canDownloadReceipt)? 'pb-86': ''}` }>
|
||||
<div className={ `option-list ${getPb86()? 'pb-86': ''}` }>
|
||||
<div className="txn-detail">
|
||||
<AmountInfoSection
|
||||
transactionCategory={ TransactionCategory.CashReceipt }
|
||||
|
||||
Reference in New Issue
Block a user