[SHOPTIME-3385] [Major]my page > my orders > ORDERS > 주문내역 확인 > S&H, TAX,COUPON정보가 다르게 노출되는 문제

[수정파일]

  1. src/acrions/checkoutActions.js
src/utils/helperMethods.js

src/views/CheckOutPanel/CheckoutPanel.jsx
src/views/CheckOutPanel/components/OffersPromotionItemCard.jsx
src/views/CheckOutPanel/components/OrderItemCard.jsx
src/views/CheckOutPanel/components/PinCodeInput.jsx
src/views/CheckOutPanel/container/FixedSideBar.jsx
src/views/CheckOutPanel/container/InformationContainer.jsx
src/views/CheckOutPanel/container/OrderItemsSideBar.jsx
src/views/CheckOutPanel/container/SummaryContainer.jsx
src/views/ConfirmPanel.jsx
src/views/MyPageSub/MyOrders/MyOrders.jsx
src/views/MyPageSub/MyOrders/components/OrderListCard.jsx
src/views/MyPageSub/MyOrders/components/OrderListCardStatus.jsx
src/views/MyPageSub/MyOrders/components/OrderListCardTopContents.jsx

[수정내용]

  1. Order, Checkout 시 금액 노출 정상화
2. 주문결제 시 쿠폰 적용 가능하도록 반영
3. 통화 기호, 통화 기호 위치 함수 작성 및 모듈화
This commit is contained in:
hyunwoo93.cha
2024-09-26 09:52:12 +09:00
parent 87d36a53d7
commit 9c50700714
15 changed files with 198 additions and 117 deletions

View File

@@ -7,15 +7,16 @@ import Spotlight from "@enact/spotlight";
import {
getCheckoutTotalAmt,
getMyInfoCheckoutInfo,
resetCheckoutData,
} from "../../actions/checkoutActions";
import {
changeAppStatus,
setHidePopup,
setShowPopup,
} from "../../actions/commonActions";
import { setHidePopup, setShowPopup } from "../../actions/commonActions";
import { getShoptimeTerms } from "../../actions/empActions";
import {
sendLogCheckOutBtnClick,
sendLogGNB,
sendLogMyInfoEdit,
sendLogPaymentEntry,
} from "../../actions/logActions";
import { popPanel } from "../../actions/panelActions";
import TBody from "../../components/TBody/TBody";
import TButton from "../../components/TButton/TButton";
@@ -36,7 +37,6 @@ import FixedSideBar from "./container/FixedSideBar";
import InformationContainer from "./container/InformationContainer";
import OrderItemsSideBar from "./container/OrderItemsSideBar";
import SummaryContainer from "./container/SummaryCotainer";
import {sendLogCheckOutBtnClick, sendLogGNB, sendLogPaymentEntry, sendLogMyInfoEdit} from "../../actions/logActions";
export default function CheckOutPanel({ panelInfo }) {
const dispatch = useDispatch();
@@ -298,12 +298,9 @@ export default function CheckOutPanel({ panelInfo }) {
}
}, [panelInfo?.logInfo]);
const doSendLogMyInfoEdit = useCallback(
(btnNm) => {
dispatch(sendLogMyInfoEdit({ btnNm }));
},
[]
);
const doSendLogMyInfoEdit = useCallback((btnNm) => {
dispatch(sendLogMyInfoEdit({ btnNm }));
}, []);
return (
<>