|
|
@@ -44,8 +44,8 @@
|
|
|
<div class="goods_status">
|
|
|
<!-- 선물주문 -->
|
|
|
<th:block th:if="${order.giftPackYn == 'Y'}">
|
|
|
- <p class="dlvr_staus" th:if="${#strings.isEmpty(ordDtl.recipBaseAddr) and ordDtl.giftLimitDay >= 0}">주소 입력 대기중</p>
|
|
|
- <p class="dlvr_staus" th:if="${!#strings.isEmpty(ordDtl.recipBaseAddr) and ordDtl.ordDtlStat != 'G013_98' and ordDtl.ordDtlStat != 'G013_99'}">선물 완료</p>
|
|
|
+ <p class="dlvr_staus" th:if="${ordDtl.giftAddrInpYn == 'N' and ordDtl.giftLimitDay >= 0}">주소 입력 대기중</p>
|
|
|
+ <p class="dlvr_staus" th:if="${ordDtl.giftAddrInpYn == 'Y' and ordDtl.ordDtlStat != 'G013_98' and ordDtl.ordDtlStat != 'G013_99'}">선물 완료</p>
|
|
|
<p class="dlvr_staus" th:if="${ordDtl.ordDtlStat == 'G013_98' or ordDtl.ordDtlStat == 'G013_99'}">선물 취소</p>
|
|
|
</th:block>
|
|
|
<!-- //선물주문 -->
|
|
|
@@ -298,7 +298,7 @@
|
|
|
<!-- 선물주문 -->
|
|
|
<th:block th:if="${ordDtl.giftPackYn} == 'Y'">
|
|
|
<!-- 배송지등록전 -->
|
|
|
- <th:block th:if="${ordDtl.recipBaseAddr == ''} and ${ordDtl.giftLimitDay} >= 0">
|
|
|
+ <th:block th:if="${ordDtl.giftAddrInpYn == 'N'} and ${ordDtl.giftLimitDay} >= 0">
|
|
|
<div><button type="button" class="btn btn_primary btn_sms_send" th:attr="ordNo=${ordDtl.ordNo}" onclick="fnReSendSms(this);"><span>SMS 재발송</span></button></div>
|
|
|
</th:block>
|
|
|
<!-- //배송지등록전 -->
|
|
|
@@ -311,7 +311,7 @@
|
|
|
|
|
|
<!-- 배송지등록완료, 결제전취소, 결제후취소 아닐경우 -->
|
|
|
<th:block th:if="${ordDtl.ordDtlStat} == 'G013_50' or ${ordDtl.ordDtlStat} == 'G013_55' or ${ordDtl.ordDtlStat} == 'G013_60' or ${ordDtl.ordDtlStat} == 'G013_70'">
|
|
|
- <th:block th:if="${ordDtl.recipBaseAddr != ''} and ${ordDtl.ordDtlStat} != 'G013_98' and ${ordDtl.ordDtlStat} != 'G013_99'">
|
|
|
+ <th:block th:if="${ordDtl.giftAddrInpYn == 'Y'} and ${ordDtl.ordDtlStat} != 'G013_98' and ${ordDtl.ordDtlStat} != 'G013_99'">
|
|
|
<div><button type="button" class="btn btn_default btn_cart_save" th:attr="ordNo=${ordDtl.ordNo}, ordDtlNo=${ordDtl.ordDtlNo}" onclick="fnCreateCart(this);"><span>쇼핑백 담기</span></button></div>
|
|
|
<!-- 리뷰사용가능, 리뷰등록전일때 -->
|
|
|
<th:block th:if="${ordDtl.reviewableYn} == 'Y' and ${ordDtl.reviewSq} == null and ${ordDtl.ordDtlStat} == 'G013_70'">
|
|
|
@@ -417,28 +417,32 @@
|
|
|
|
|
|
<!-- 선물배송일때 -->
|
|
|
<th:block th:if="${ordDtl.giftPackYn} == 'Y'">
|
|
|
- <div class="goods_txt">
|
|
|
- <!-- 배송지등록전 -->
|
|
|
- <th:block th:if="${ordDtl.recipBaseAddr == ''} and ${ordDtl.giftLimitDay} >= 0">
|
|
|
+ <!-- 배송지등록전 -->
|
|
|
+ <th:block th:if="${ordDtl.giftAddrInpYn == 'N'} and ${ordDtl.giftLimitDay} >= 0">
|
|
|
+ <div class="goods_txt">
|
|
|
<p class="cf_txt cf_desc"><span th:text="|‘${ordDtl.recipNm}’|"></span>님 주소를 입력하기 전입니다.</p>
|
|
|
<p class="period">입력기한 <span th:text="${ordDtl.giftLimitDt}"></span></p>
|
|
|
- </th:block>
|
|
|
- <!-- //배송지등록전 -->
|
|
|
-
|
|
|
- <!-- 배송지등록완료, 결제전취소, 결제후취소 아닐경우 -->
|
|
|
- <th:block th:if="${ordDtl.ordDtlStat} == 'G013_50' or ${ordDtl.ordDtlStat} == 'G013_55' or ${ordDtl.ordDtlStat} == 'G013_60' or ${ordDtl.ordDtlStat} == 'G013_70'">
|
|
|
- <th:block th:if="${ordDtl.recipBaseAddr != ''} and ${ordDtl.ordDtlStat} != 'G013_98' and ${ordDtl.ordDtlStat} != 'G013_99'">
|
|
|
+ </div>
|
|
|
+ </th:block>
|
|
|
+ <!-- //배송지등록전 -->
|
|
|
+
|
|
|
+ <!-- 배송지등록완료, 결제전취소, 결제후취소 아닐경우 -->
|
|
|
+ <th:block th:if="${ordDtl.ordDtlStat} == 'G013_50' or ${ordDtl.ordDtlStat} == 'G013_55' or ${ordDtl.ordDtlStat} == 'G013_60' or ${ordDtl.ordDtlStat} == 'G013_70'">
|
|
|
+ <th:block th:if="${ordDtl.giftAddrInpYn == 'Y'} and ${ordDtl.ordDtlStat} != 'G013_98' and ${ordDtl.ordDtlStat} != 'G013_99'">
|
|
|
+ <div class="goods_txt">
|
|
|
<p class="cf_txt cf_desc"><span th:text="|‘${ordDtl.recipNm}’|"></span>님께 선물이 발송되었습니다.</p>
|
|
|
- </th:block>
|
|
|
+ </div>
|
|
|
</th:block>
|
|
|
- <!-- //배송지등록완료, 결제전취소, 결제후취소 아닐경우 -->
|
|
|
-
|
|
|
- <!-- 선물 취소 -->
|
|
|
- <th:block th:if="${ordDtl.ordDtlStat} == 'G013_98' and ${ordDtl.ordDtlStat} == 'G013_99'">
|
|
|
+ </th:block>
|
|
|
+ <!-- //배송지등록완료, 결제전취소, 결제후취소 아닐경우 -->
|
|
|
+
|
|
|
+ <!-- 선물 취소 -->
|
|
|
+ <th:block th:if="${ordDtl.ordDtlStat} == 'G013_98' and ${ordDtl.ordDtlStat} == 'G013_99'">
|
|
|
+ <div class="goods_txt">
|
|
|
<p class="cf_txt cf_desc">주소 입력 기한이 경과되어 선물이 취소 되었습니다.</p>
|
|
|
- </th:block>
|
|
|
- <!-- //선물 취소 -->
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ </th:block>
|
|
|
+ <!-- //선물 취소 -->
|
|
|
</th:block>
|
|
|
<!-- //선물배송일때 -->
|
|
|
<!-- //주문상태별 문구정보 정의 -->
|