This commit is contained in:
focp212@naver.com
2025-11-12 14:12:18 +09:00
parent 9603c769a6
commit ba116aeaf4
4 changed files with 9 additions and 4 deletions

View File

@@ -38,7 +38,7 @@ export const CashReceiptSample = ({
customerInfo,
productInfo
}: CashReceiptSampleProps) => {
let [loading, setLoading] = useState<boolean>(true);
let [loading, setLoading] = useState<boolean>(false);
let [color, setColor] = useState<string>('#0b0606');
const { t } = useTranslation();

View File

@@ -20,6 +20,7 @@ const override: CSSProperties = {
margin: '0 auto',
top: '50%',
left: '50%',
zIndex: 2000
};
@@ -135,7 +136,7 @@ export const DepositReceiptSample = ({
<>
<div
className="bg-dim"
style={{ opacity: '0.4' }}
style={{zIndex: 1500, opacity: '0.4' }}
></div>
<FadeLoader
color={color}

View File

@@ -216,7 +216,9 @@ export const AmountInfoSection = ({
};
cashReceiptReceiptSendEamil(params).then((rs: CashReceiptReceiptSendEmailResponse) => {
console.log(rs);
snackBar('이메일로 현금영수증 요청이 완료되었습니다.');
if(rs.message){
snackBar(rs.message);
}
}).catch((e: any) => {
if(e.response?.data?.error?.message){
snackBar(e.response?.data?.error?.message);

View File

@@ -55,7 +55,9 @@ export const AmountSection = ({
};
vatReturnTaxInvoiceSendEmail(params).then((rs: VatReturnTaxInvoiceSendEmailResponse) => {
console.log(rs);
snackBar('이메일로 세금계산서 요청이 완료되었습니다.');
if(rs.message){
snackBar(rs.message);
}
}).catch((e: any) => {
if(e.response?.data?.error?.message){
snackBar(e.response?.data?.error?.message);