rosewiper 2023-12-14
간편결제 성공일 경우에만 증빙자료 내용 나오도록 변경
@ab5c274e664841c9630ca5026246e150c177a23d
src/main/webapp/WEB-INF/jsp/web/pay/PayListAllAjax.jsp
--- src/main/webapp/WEB-INF/jsp/web/pay/PayListAllAjax.jsp
+++ src/main/webapp/WEB-INF/jsp/web/pay/PayListAllAjax.jsp
@@ -553,7 +553,9 @@
 							<td>
 								<c:choose>
 									<c:when test="${result.payMethod == 'SPAY'}">
-										간편결제(증빙서류 발급불가)
+										<c:if test="${result.pgStatus eq '1'}">
+											간편결제(증빙서류 발급불가)
+										</c:if>
 									</c:when>
 									<c:otherwise>
 										<c:if test="${result.pgStatus eq '1'}">
@@ -563,9 +565,6 @@
 													<c:if test="${result.btnChk eq 'Y'}">
 														<button type="button" class="btnType btnType20" data-tooltip="cashReceipt_popup02" onclick="javascript:taxValue('${result.moid}');">세금계산서</button>
 														<button type="button" class="btnType btnType20" data-tooltip="cashReceipt_popup01" onclick="javascript:cashValue('${result.moid}');">현금영수증</button>
-													</c:if>
-													<c:if test="${result.payMethod eq 'CELLPHONE'}">
-														휴대폰결제(증빙서류 발급불가)
 													</c:if>
 													<%--<c:if test="${result.rcptType ne '0'}"> --%>
 														<%-- <button type="button" class="btnType btnType20" onclick="fnSimpRecip('<c:out value="${result.tid}"/>','<c:out value="${result.moid}"/>'); return false;">간이영수증</button> --%>
Add a comment
List