|
|
@@ -390,92 +390,94 @@
|
|
|
<col width="50%">
|
|
|
<col width="50%">
|
|
|
</colgroup>
|
|
|
- <tbody><tr>
|
|
|
- <td>
|
|
|
- <dl>
|
|
|
- <div>
|
|
|
- <dt>총 주문금액 (상품금액+배송비+추가비용)</dt>
|
|
|
- <dd>
|
|
|
- <div class="price">
|
|
|
- <span class="order_total_price"><em th:text="${#numbers.formatInteger((orderAmtInfo.ordAmt + orderAmtInfo.cpn1DcAmt) - orderAmtInfo.cnclRtnAmt + orderAmtInfo.realDelvAmt, 1, 'COMMA')}"></em>원</span>
|
|
|
- </div>
|
|
|
- </dd>
|
|
|
- </div>
|
|
|
- <div class="include_item" th:if="${orderAmtInfo.cpn1DcAmt > 0}"> <!-- 할인항목 표기 class명 include_item -->
|
|
|
- <dt>즉시할인</dt>
|
|
|
- <dd><em th:text="|- ${#numbers.formatInteger(orderAmtInfo.cpn1DcAmt, 1, 'COMMA')}|"></em>원</dd>
|
|
|
- </div>
|
|
|
- <div class="include_item" th:if="${orderAmtInfo.tmtb1DcAmt + orderAmtInfo.tmtb2DcAmt > 0}">
|
|
|
- <dt>다다익선 할인</dt>
|
|
|
- <dd><em th:text="|- ${#numbers.formatInteger(orderAmtInfo.tmtb1DcAmt + orderAmtInfo.tmtb2DcAmt, 1, 'COMMA')}|"></em>원</dd>
|
|
|
- </div>
|
|
|
- <div class="include_item" th:if="${orderAmtInfo.cartCpnDcAmt + orderAmtInfo.goodsCpnDcAmt + orderAmtInfo.delvCpnDcAmt > 0}">
|
|
|
- <dt>쿠폰할인</dt>
|
|
|
- <dd><em th:text="|- ${#numbers.formatInteger(orderAmtInfo.cartCpnDcAmt + orderAmtInfo.goodsCpnDcAmt + orderAmtInfo.delvCpnDcAmt, 1, 'COMMA')}|"></em>원</dd>
|
|
|
- </div>
|
|
|
- <div class="include_item" th:if="${orderAmtInfo.prePntDcAmt > 0}">
|
|
|
- <dt>선포인트 할인</dt>
|
|
|
- <dd><em th:text="|- ${#numbers.formatInteger(orderAmtInfo.prePntDcAmt, 1, 'COMMA')}|"></em>P</dd>
|
|
|
- </div>
|
|
|
- <div class="include_item" th:if="${orderAmtInfo.pntDcAmt > 0}">
|
|
|
- <dt>포인트 사용</dt>
|
|
|
- <dd><em th:text="|- ${#numbers.formatInteger(orderAmtInfo.pntDcAmt, 1, 'COMMA')}|"></em>P</dd>
|
|
|
- </div>
|
|
|
- <div class="include_item" th:if="${orderAmtInfo.gfcdUseAmt > 0}">
|
|
|
- <dt>상품권 사용</dt>
|
|
|
- <dd><em th:text="|- ${#numbers.formatInteger(orderAmtInfo.gfcdUseAmt, 1, 'COMMA')}|"></em>원</dd>
|
|
|
- </div>
|
|
|
- <div class="include_item" th:if="${paymentInfo.npayPntAmt > 0}">
|
|
|
- <dt>마일리지 사용</dt>
|
|
|
- <dd><em th:text="|- ${#numbers.formatInteger(orderAmtInfo.npayPntAmt, 1, 'COMMA')}|"></em>원</dd>
|
|
|
- </div>
|
|
|
- <div class="include_item" th:if="${orderAmtInfo.pgCpnAmt > 0}">
|
|
|
- <dt>제휴할인</dt>
|
|
|
- <dd><em th:text="|- ${#numbers.formatInteger(orderAmtInfo.pgCpnAmt, 1, 'COMMA')}|"></em>원</dd>
|
|
|
- </div>
|
|
|
- </dl>
|
|
|
- </td>
|
|
|
- <td>
|
|
|
- <dl>
|
|
|
- <div>
|
|
|
- <dt>결제 금액</dt>
|
|
|
- <dd>
|
|
|
- <div class="price">
|
|
|
- <span class="pay_total_price"><em th:text="${#numbers.formatInteger(orderAmtInfo.payAmt - orderAmtInfo.npayPntAmt - orderAmtInfo.pgCpnAmt, 1, 'COMMA')}"></em>원</span>
|
|
|
- </div>
|
|
|
- </dd>
|
|
|
- </div>
|
|
|
- <div>
|
|
|
- <dt class="sr-only">결제방법</dt>
|
|
|
- <!-- TODO -->
|
|
|
- <!-- Style24 간편결제 처리 (STYLE24 간편결제 : STYLE24 간편결제명 / 카드사명 / 할부개월(일시불)) -->
|
|
|
- <dd th:if="${paymentInfo.pgGb == 'NAVER'}">네이버 페이</dd>
|
|
|
- <dd th:if="${paymentInfo.pgGb == 'KAKAO'}">카카오 페이</dd>
|
|
|
- <dd th:if="${paymentInfo.pgGb == 'PAYCO'}">PAYCO</dd>
|
|
|
- <dd th:if="${paymentInfo.pgGb == 'KCP' and paymentInfo.payMeans == 'G014_10'}">실시간계좌이체</dd>
|
|
|
- <dd th:if="${paymentInfo.pgGb == 'KCP' and paymentInfo.payMeans == 'G014_20'}">무통장입금</dd>
|
|
|
- <dd th:if="${paymentInfo.pgGb == 'KCP' and paymentInfo.payMeans == 'G014_30'}" th:text="|${paymentInfo.cardNm}/${paymentInfo.cardMips}|"></dd>
|
|
|
- <dd th:if="${paymentInfo.pgGb == 'KCP' and paymentInfo.payMeans == 'G014_60'}">휴대폰결제</dd>
|
|
|
- </div>
|
|
|
- <div>
|
|
|
- <dt class="sr-only">영수증 확인</dt>
|
|
|
- <dd>
|
|
|
- <button type="button" class="btn btn_default btn_sm" th:if="${paymentInfo.pgGb == 'KCP' and paymentInfo.payMeans == 'G014_30'}" onclick="fnReceipt('card')"><span>신용카드 전표</span></button>
|
|
|
- <button type="button" class="btn btn_default btn_sm" th:if="${paymentInfo.pgGb == 'KCP' and not #strings.isEmpty(paymentInfo.cashAuthNo) and (paymentInfo.payMeans == 'G014_10' or paymentInfo.payMeans == 'G014_20')}" onclick="fnReceipt('cash')"><span>현금 영수증</span></button>
|
|
|
- <button type="button" class="btn btn_default btn_sm" th:if="${orderAmtInfo.gfcdUseAmt > 0 and (cashReceiptsInfo == null or #strings.isEmpty(cashReceiptsInfo.authNo))}" th:attr="ordNo=${ordNo}" onclick="fnRequestCashReceipt(this);"><span>상품권 현금 영수증 신청</span></button>
|
|
|
- </dd>
|
|
|
- </div>
|
|
|
- </dl>
|
|
|
- <dl>
|
|
|
- <div>
|
|
|
- <dt>적립 예정 포인트</dt>
|
|
|
- <dd>
|
|
|
- <span class="save_point"><em th:text="|${#numbers.formatInteger(orderAmtInfo.savePntAmt, 1, 'COMMA')}P|"></em></span>
|
|
|
- </dd>
|
|
|
- </div>
|
|
|
- </dl>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
+ <tbody>
|
|
|
+ <tr>
|
|
|
+ <td>
|
|
|
+ <dl>
|
|
|
+ <div>
|
|
|
+ <dt>총 주문금액 (상품금액+배송비+추가비용)</dt>
|
|
|
+ <dd>
|
|
|
+ <div class="price">
|
|
|
+ <span class="order_total_price"><em th:text="${#numbers.formatInteger((orderAmtInfo.ordAmt + orderAmtInfo.cpn1DcAmt) - orderAmtInfo.cnclRtnAmt + orderAmtInfo.delvFee, 1, 'COMMA')}"></em>원</span>
|
|
|
+ </div>
|
|
|
+ </dd>
|
|
|
+ </div>
|
|
|
+ <div class="include_item" th:if="${orderAmtInfo.cpn1DcAmt > 0}"> <!-- 할인항목 표기 class명 include_item -->
|
|
|
+ <dt>즉시할인</dt>
|
|
|
+ <dd><em th:text="|- ${#numbers.formatInteger(orderAmtInfo.cpn1DcAmt, 1, 'COMMA')}|"></em>원</dd>
|
|
|
+ </div>
|
|
|
+ <div class="include_item" th:if="${orderAmtInfo.tmtb1DcAmt + orderAmtInfo.tmtb2DcAmt > 0}">
|
|
|
+ <dt>다다익선 할인</dt>
|
|
|
+ <dd><em th:text="|- ${#numbers.formatInteger(orderAmtInfo.tmtb1DcAmt + orderAmtInfo.tmtb2DcAmt, 1, 'COMMA')}|"></em>원</dd>
|
|
|
+ </div>
|
|
|
+ <div class="include_item" th:if="${orderAmtInfo.cartCpnDcAmt + orderAmtInfo.goodsCpnDcAmt + orderAmtInfo.delvCpnDcAmt > 0}">
|
|
|
+ <dt>쿠폰할인</dt>
|
|
|
+ <dd><em th:text="|- ${#numbers.formatInteger(orderAmtInfo.cartCpnDcAmt + orderAmtInfo.goodsCpnDcAmt + orderAmtInfo.delvCpnDcAmt, 1, 'COMMA')}|"></em>원</dd>
|
|
|
+ </div>
|
|
|
+ <div class="include_item" th:if="${orderAmtInfo.prePntDcAmt > 0}">
|
|
|
+ <dt>선포인트 할인</dt>
|
|
|
+ <dd><em th:text="|- ${#numbers.formatInteger(orderAmtInfo.prePntDcAmt, 1, 'COMMA')}|"></em>P</dd>
|
|
|
+ </div>
|
|
|
+ <div class="include_item" th:if="${orderAmtInfo.pntDcAmt > 0}">
|
|
|
+ <dt>포인트 사용</dt>
|
|
|
+ <dd><em th:text="|- ${#numbers.formatInteger(orderAmtInfo.pntDcAmt, 1, 'COMMA')}|"></em>P</dd>
|
|
|
+ </div>
|
|
|
+ <div class="include_item" th:if="${orderAmtInfo.gfcdUseAmt > 0}">
|
|
|
+ <dt>상품권 사용</dt>
|
|
|
+ <dd><em th:text="|- ${#numbers.formatInteger(orderAmtInfo.gfcdUseAmt, 1, 'COMMA')}|"></em>원</dd>
|
|
|
+ </div>
|
|
|
+ <div class="include_item" th:if="${paymentInfo.npayPntAmt > 0}">
|
|
|
+ <dt>마일리지 사용</dt>
|
|
|
+ <dd><em th:text="|- ${#numbers.formatInteger(orderAmtInfo.npayPntAmt, 1, 'COMMA')}|"></em>원</dd>
|
|
|
+ </div>
|
|
|
+ <div class="include_item" th:if="${orderAmtInfo.pgCpnAmt > 0}">
|
|
|
+ <dt>제휴할인</dt>
|
|
|
+ <dd><em th:text="|- ${#numbers.formatInteger(orderAmtInfo.pgCpnAmt, 1, 'COMMA')}|"></em>원</dd>
|
|
|
+ </div>
|
|
|
+ </dl>
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <dl>
|
|
|
+ <div>
|
|
|
+ <dt>결제 금액</dt>
|
|
|
+ <dd>
|
|
|
+ <div class="price">
|
|
|
+ <span class="pay_total_price"><em th:text="${#numbers.formatInteger(orderAmtInfo.payAmt - orderAmtInfo.npayPntAmt - orderAmtInfo.pgCpnAmt, 1, 'COMMA')}"></em>원</span>
|
|
|
+<!-- <span class="pay_total_price"><em th:text="${#numbers.formatInteger((orderAmtInfo.ordAmt + orderAmtInfo.cpn1DcAmt) - orderAmtInfo.cnclRtnAmt + orderAmtInfo.delvFee - orderAmtInfo.totalDcAmt - orderAmtInfo.delvCpnDcAmt - orderAmtInfo.npayPntAmt - orderAmtInfo.pgCpnAmt, 1, 'COMMA')}"></em>원</span>-->
|
|
|
+ </div>
|
|
|
+ </dd>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <dt class="sr-only">결제방법</dt>
|
|
|
+ <!-- TODO -->
|
|
|
+ <!-- Style24 간편결제 처리 (STYLE24 간편결제 : STYLE24 간편결제명 / 카드사명 / 할부개월(일시불)) -->
|
|
|
+ <dd th:if="${paymentInfo.pgGb == 'NAVER'}">네이버 페이</dd>
|
|
|
+ <dd th:if="${paymentInfo.pgGb == 'KAKAO'}">카카오 페이</dd>
|
|
|
+ <dd th:if="${paymentInfo.pgGb == 'PAYCO'}">PAYCO</dd>
|
|
|
+ <dd th:if="${paymentInfo.pgGb == 'KCP' and paymentInfo.payMeans == 'G014_10'}">실시간계좌이체</dd>
|
|
|
+ <dd th:if="${paymentInfo.pgGb == 'KCP' and paymentInfo.payMeans == 'G014_20'}">무통장입금</dd>
|
|
|
+ <dd th:if="${paymentInfo.pgGb == 'KCP' and paymentInfo.payMeans == 'G014_30'}" th:text="|${paymentInfo.cardNm}/${paymentInfo.cardMips}|"></dd>
|
|
|
+ <dd th:if="${paymentInfo.pgGb == 'KCP' and paymentInfo.payMeans == 'G014_60'}">휴대폰결제</dd>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <dt class="sr-only">영수증 확인</dt>
|
|
|
+ <dd>
|
|
|
+ <button type="button" class="btn btn_default btn_sm" th:if="${paymentInfo.pgGb == 'KCP' and paymentInfo.payMeans == 'G014_30'}" onclick="fnReceipt('card')"><span>신용카드 전표</span></button>
|
|
|
+ <button type="button" class="btn btn_default btn_sm" th:if="${paymentInfo.pgGb == 'KCP' and not #strings.isEmpty(paymentInfo.cashAuthNo) and (paymentInfo.payMeans == 'G014_10' or paymentInfo.payMeans == 'G014_20')}" onclick="fnReceipt('cash')"><span>현금 영수증</span></button>
|
|
|
+ <button type="button" class="btn btn_default btn_sm" th:if="${orderAmtInfo.gfcdUseAmt > 0 and (cashReceiptsInfo == null or #strings.isEmpty(cashReceiptsInfo.authNo))}" th:attr="ordNo=${ordNo}" onclick="fnRequestCashReceipt(this);"><span>상품권 현금 영수증 신청</span></button>
|
|
|
+ </dd>
|
|
|
+ </div>
|
|
|
+ </dl>
|
|
|
+ <dl>
|
|
|
+ <div>
|
|
|
+ <dt>적립 예정 포인트</dt>
|
|
|
+ <dd>
|
|
|
+ <span class="save_point"><em th:text="|${#numbers.formatInteger(orderAmtInfo.savePntAmt, 1, 'COMMA')}P|"></em></span>
|
|
|
+ </dd>
|
|
|
+ </div>
|
|
|
+ </dl>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
<p class="t_help">※ NPAY등의 대체결제수단으로 결제 시 해당 결제 플랫폼에서 영수증 확인이 가능합니다.</p>
|