fix : 화폐단위 변경 (원 → 円)

This commit is contained in:
이대환
2025-12-24 12:03:25 +09:00
parent e018aa5f76
commit 118edb72dd
11 changed files with 69 additions and 60 deletions

View File

@@ -23,7 +23,7 @@ since : 2024.01.04 추지훈 최초 생성
<head>
<%@ include file="/WEB-INF/views/comm/mngr/Include.jsp"%>
<spring:eval expression="@environment.getProperty('currency-unit.default')" var="curUnit"/>
<script>
$(document).ready(function() {
@@ -845,8 +845,9 @@ since : 2024.01.04 추지훈 최초 생성
*/
const fn_send_cupnpkregistpage = function(modalId) {
let childCouponList = [];
var curUnit = '${curUnit}';
// 선택된 쿠폰 리스트 반복
$('#appendList tr').each(function() {
let coupon = {
@@ -939,7 +940,7 @@ since : 2024.01.04 추지훈 최초 생성
dlcyAmtDscntFreeHtml = dlcyAmtDscntFreeHtml+'<span class="fw-500">';
dlcyAmtDscntFreeHtml = dlcyAmtDscntFreeHtml+'기본 배송비 무료,';
dlcyAmtDscntFreeHtml = dlcyAmtDscntFreeHtml+'</span><br/>';
dlcyAmtDscntFreeHtml = dlcyAmtDscntFreeHtml+'<span class="gray-8">최대 #dlvyAmtMxmmDscntAmt 원 할인</span>';
dlcyAmtDscntFreeHtml = dlcyAmtDscntFreeHtml+'<span class="gray-8">최대 #dlvyAmtMxmmDscntAmt ' + curUnit + ' 할인</span>';
dlcyAmtDscntFreeHtml = dlcyAmtDscntFreeHtml+'</td>';
// 배송비 금액 할인 html
@@ -947,7 +948,7 @@ since : 2024.01.04 추지훈 최초 생성
dlcyAmtDscntWonHtml = dlcyAmtDscntWonHtml+'<span class="fw-500">';
dlcyAmtDscntWonHtml = dlcyAmtDscntWonHtml+'배송비 할인,';
dlcyAmtDscntWonHtml = dlcyAmtDscntWonHtml+'</span><br/>';
dlcyAmtDscntWonHtml = dlcyAmtDscntWonHtml+'<span class="gray-8">#dlvyAmtDscntAmt 원 할인</span>';
dlcyAmtDscntWonHtml = dlcyAmtDscntWonHtml+'<span class="gray-8">#dlvyAmtDscntAmt ' + curUnit + ' 할인</span>';
dlcyAmtDscntWonHtml = dlcyAmtDscntWonHtml+'</td>';
@@ -956,14 +957,14 @@ since : 2024.01.04 추지훈 최초 생성
goodsDscntDvRtHtml = goodsDscntDvRtHtml+'<span class="fw-500">';
goodsDscntDvRtHtml = goodsDscntDvRtHtml+'#aditDscntAmt % 할인';
goodsDscntDvRtHtml = goodsDscntDvRtHtml+'</span><br/>';
goodsDscntDvRtHtml = goodsDscntDvRtHtml+'<span class="gray-8">최대 #dscntMxmmAmt 원 할인</span>';
goodsDscntDvRtHtml = goodsDscntDvRtHtml+'<span class="gray-8">최대 #dscntMxmmAmt ' + curUnit + ' 할인</span>';
goodsDscntDvRtHtml = goodsDscntDvRtHtml+'</td>';
// 금액 할인 html
let goodsDscntDvAmtHtml = '<td>';
goodsDscntDvAmtHtml = goodsDscntDvAmtHtml+'<span class="fw-500">';
goodsDscntDvAmtHtml = goodsDscntDvAmtHtml+'#aditDscntAmt 원 할인';
goodsDscntDvAmtHtml = goodsDscntDvAmtHtml+'#aditDscntAmt ' + curUnit + ' 할인';
goodsDscntDvAmtHtml = goodsDscntDvAmtHtml+'</span>';
goodsDscntDvAmtHtml = goodsDscntDvAmtHtml+'</td>';
@@ -1647,10 +1648,10 @@ since : 2024.01.04 추지훈 최초 생성
<span class="fw-500">
<c:out value="${ couponList.aditDscntAmt }"/>
<c:if test="${ '01' eq couponList.goodsDscntDv }">% 할인</c:if>
<c:if test="${ '02' eq couponList.goodsDscntDv }">원 할인</c:if>
<c:if test="${ '02' eq couponList.goodsDscntDv }">${curUnit} 할인</c:if>
</span><br/>
<c:if test="${ '01' eq couponList.goodsDscntDv }">
<span class="gray-8">최대 <c:out value="${ couponList.dscntMxmmAmt }"/>원 할인</span>
<span class="gray-8">최대 <c:out value="${ couponList.dscntMxmmAmt }"/>${curUnit} 할인</span>
</c:if>
</c:when>
<c:when test="${ couponList.bnefDv eq '02' }">
@@ -1659,10 +1660,10 @@ since : 2024.01.04 추지훈 최초 생성
</span>
<br>
<span class="gray-8">
최대 <c:out value="${ couponList.dlvyAmtMxmmDscntAmt }"/>원 할인</c:if>
최대 <c:out value="${ couponList.dlvyAmtMxmmDscntAmt }"/>${curUnit} 할인</c:if>
</span>
<span class="fw-500">
<c:if test="${ '02' eq couponList.dlvyAmtDscntDv }">배송비 <c:out value="${ couponList.dlvyAmtDscntAmt }"/>원 할인</c:if>
<c:if test="${ '02' eq couponList.dlvyAmtDscntDv }">배송비 <c:out value="${ couponList.dlvyAmtDscntAmt }"/>${curUnit} 할인</c:if>
</span>
</c:when>
<c:otherwise>