이지우 - 요금사용내역 작업 중
@2bab96b9a625da47df51b397cf3ff9386702741d
--- src/main/java/itn/let/mjo/pay/service/MjonPayService.java
+++ src/main/java/itn/let/mjo/pay/service/MjonPayService.java
... | ... | @@ -5,6 +5,8 @@ |
| 5 | 5 |
|
| 6 | 6 |
import javax.servlet.http.HttpServletRequest; |
| 7 | 7 |
|
| 8 |
+import itn.let.mjo.msg.service.MjonMsgVO; |
|
| 9 |
+ |
|
| 8 | 10 |
public interface MjonPayService {
|
| 9 | 11 |
|
| 10 | 12 |
List<MjonPayVO> selectPayList(MjonPayVO mjonPayVO) throws Exception; |
... | ... | @@ -142,5 +144,7 @@ |
| 142 | 144 |
public String selectTotSumPaymentAfterPay(String userId) throws Exception; |
| 143 | 145 |
|
| 144 | 146 |
Map<String, Object> payUserSWList(MjonPayVO mjonPayVO) throws Exception; |
| 147 |
+ |
|
| 148 |
+ Map<String, Object> payUserSWListAjax(MjonMsgVO mjonMsgVO) throws Exception; |
|
| 145 | 149 |
|
| 146 | 150 |
} |
--- src/main/java/itn/let/mjo/pay/service/impl/MjonPayServiceImpl.java
+++ src/main/java/itn/let/mjo/pay/service/impl/MjonPayServiceImpl.java
... | ... | @@ -28,6 +28,7 @@ |
| 28 | 28 |
import itn.com.cmm.LoginVO; |
| 29 | 29 |
import itn.com.cmm.util.DateUtils; |
| 30 | 30 |
import itn.com.cmm.util.MJUtil; |
| 31 |
+import itn.com.cmm.util.PayUtils; |
|
| 31 | 32 |
import itn.com.utl.fcc.service.EgovStringUtil; |
| 32 | 33 |
import itn.let.mjo.event.service.MjonEventVO; |
| 33 | 34 |
import itn.let.mjo.event.service.impl.MjonEventDAO; |
... | ... | @@ -2940,6 +2941,33 @@ |
| 2940 | 2941 |
return returnData; |
| 2941 | 2942 |
} |
| 2942 | 2943 |
|
| 2944 |
+ @Override |
|
| 2945 |
+ public Map<String, Object> payUserSWListAjax(MjonMsgVO mjonMsgVO) throws Exception{
|
|
| 2946 |
+ |
|
| 2947 |
+ if("".equals(mjonMsgVO.getSearchSortCnd())){ //최초조회시 최신것 조회List
|
|
| 2948 |
+ mjonMsgVO.setSearchSortCnd("regDate");
|
|
| 2949 |
+ mjonMsgVO.setSearchSortOrd("desc");
|
|
| 2950 |
+ } |
|
| 2951 |
+ |
|
| 2952 |
+ Map<String, Object> returnData = new HashMap<>(); |
|
| 2953 |
+ |
|
| 2954 |
+ // 검색 데이터가 없거나 |
|
| 2955 |
+ // 시작일자가 종료일자보다 이후이거나 |
|
| 2956 |
+ // 총 기간이 365일이 넘으면 현재일부터 365일 전 날짜를 넣어서 검색 |
|
| 2957 |
+ if(!DateUtils.dateChkAndValueChk(mjonMsgVO.getStartDate(),mjonMsgVO.getEndDate(), 12 )) {
|
|
| 2943 | 2958 |
|
| 2959 |
+ mjonMsgVO.setStartDate(DateUtils.getDateMonthsAgo(12)); |
|
| 2960 |
+ mjonMsgVO.setEndDate(DateUtils.getCurrentDate()); |
|
| 2961 |
+ |
|
| 2962 |
+ }; |
|
| 2963 |
+ |
|
| 2964 |
+ |
|
| 2965 |
+ List<MjonMsgVO> payUserSWList = mjonMsgDataDAO.selectPayUserSWList(mjonMsgVO); |
|
| 2966 |
+ returnData.put("payUserSWList", payUserSWList);
|
|
| 2967 |
+ returnData.put("totCnt", payUserSWList.size()> 0 ? payUserSWList.get(0).getTotCnt() : 0);
|
|
| 2968 |
+ returnData.put("totSuccSendPrice", payUserSWList.size() > 0 ? PayUtils.getTrimToFirstDecimal(payUserSWList.get(0).getTotSuccSendPrice()) : 0);
|
|
| 2969 |
+ |
|
| 2970 |
+ return returnData; |
|
| 2971 |
+ } |
|
| 2944 | 2972 |
|
| 2945 | 2973 |
} |
--- src/main/java/itn/let/mjo/pay/web/MjonPayController.java
+++ src/main/java/itn/let/mjo/pay/web/MjonPayController.java
... | ... | @@ -2603,10 +2603,10 @@ |
| 2603 | 2603 |
* 2023.12.22 우영두 |
| 2604 | 2604 |
* @param mjonMsgVO |
| 2605 | 2605 |
* @param model |
| 2606 |
- * @return "/web/member/pay/PayUserSWList.do" |
|
| 2606 |
+ * @return "/web/member/pay/payUserSWList.do" |
|
| 2607 | 2607 |
* @throws Exception |
| 2608 | 2608 |
*/ |
| 2609 |
- @RequestMapping(value= {"/web/member/pay/PayUserSWList.do"})
|
|
| 2609 |
+ @RequestMapping(value= {"/web/member/pay/payUserSWList.do"})
|
|
| 2610 | 2610 |
public String payUserSWList(@ModelAttribute("mjonMsgVO") MjonMsgVO mjonMsgVO,
|
| 2611 | 2611 |
MjonPayVO mjonPayVO, |
| 2612 | 2612 |
MberManageVO mberManageVO, RedirectAttributes redirectAttributes, |
... | ... | @@ -2659,8 +2659,8 @@ |
| 2659 | 2659 |
* @return "/web/member/pay/PayUserSWListAjax.do" |
| 2660 | 2660 |
* @throws Exception |
| 2661 | 2661 |
*/ |
| 2662 |
- @RequestMapping(value= {"/web/member/pay/PayUserSWListAjax.do"})
|
|
| 2663 |
- public String PayUserSWListAjax(@ModelAttribute("searchVO") MjonMsgVO mjonMsgVO,
|
|
| 2662 |
+ @RequestMapping(value= {"/web/member/pay/payUserSWListAjax.do"})
|
|
| 2663 |
+ public String payUserSWListAjax(@ModelAttribute("searchVO") MjonMsgVO mjonMsgVO,
|
|
| 2664 | 2664 |
HttpServletRequest request, |
| 2665 | 2665 |
ModelMap model) throws Exception{
|
| 2666 | 2666 |
|
... | ... | @@ -2684,29 +2684,12 @@ |
| 2684 | 2684 |
mjonMsgVO.setLastIndex(paginationInfo.getLastRecordIndex()); |
| 2685 | 2685 |
mjonMsgVO.setRecordCountPerPage(paginationInfo.getRecordCountPerPage()); |
| 2686 | 2686 |
|
| 2687 |
- if("".equals(mjonMsgVO.getSearchSortCnd())){ //최초조회시 최신것 조회List
|
|
| 2688 |
- mjonMsgVO.setSearchSortCnd("regDate");
|
|
| 2689 |
- mjonMsgVO.setSearchSortOrd("desc");
|
|
| 2690 |
- } |
|
| 2687 |
+ Map<String, Object> resultMap = mjonPayService.payUserSWListAjax(mjonMsgVO); |
|
| 2691 | 2688 |
|
| 2692 |
- // 검색 데이터가 없거나 |
|
| 2693 |
- // 시작일자가 종료일자보다 이후이거나 |
|
| 2694 |
- // 총 기간이 365일이 넘으면 현재일부터 365일 전 날짜를 넣어서 검색 |
|
| 2695 |
- if(!DateUtils.dateChkAndValueChk(mjonMsgVO.getStartDate(),mjonMsgVO.getEndDate(), 12 )) {
|
|
| 2696 |
- |
|
| 2697 |
- mjonMsgVO.setStartDate(DateUtils.getDateMonthsAgo(12)); |
|
| 2698 |
- mjonMsgVO.setEndDate(DateUtils.getCurrentDate()); |
|
| 2699 |
- |
|
| 2700 |
- }; |
|
| 2701 |
- |
|
| 2702 |
- List<MjonMsgVO> payUserSWList = mjonMsgDataService.selectPayUserSWList(mjonMsgVO); |
|
| 2703 |
- |
|
| 2704 |
- paginationInfo.setTotalRecordCount(payUserSWList.size()> 0 ? payUserSWList.get(0).getTotCnt() : 0); |
|
| 2689 |
+ paginationInfo.setTotalRecordCount((int)resultMap.get("totCnt"));
|
|
| 2705 | 2690 |
model.addAttribute("paginationInfo", paginationInfo);
|
| 2706 |
- model.addAttribute("payUserSWList", payUserSWList);
|
|
| 2707 |
- |
|
| 2708 |
- model.addAttribute("totSuccSendPrice", payUserSWList.size() > 0 ? PayUtils.getTrimToFirstDecimal(payUserSWList.get(0).getTotSuccSendPrice()) : 0);
|
|
| 2709 |
- |
|
| 2691 |
+ model.addAttribute("payUserSWList", resultMap.get("payUserSWList"));
|
|
| 2692 |
+ model.addAttribute("totSuccSendPrice", resultMap.get("totSuccSendPrice"));
|
|
| 2710 | 2693 |
model.addAttribute("mjonMsgVO", mjonMsgVO);
|
| 2711 | 2694 |
|
| 2712 | 2695 |
|
--- src/main/webapp/WEB-INF/jsp/web/com/webCommonHeader.jsp
+++ src/main/webapp/WEB-INF/jsp/web/com/webCommonHeader.jsp
... | ... | @@ -1652,7 +1652,7 @@ |
| 1652 | 1652 |
<li><a href="<c:out value='/web/pay/PayGuide.do'/>" >요금안내/견적내기</a></li> |
| 1653 | 1653 |
<li><a href="<c:out value='/web/member/pay/PayView.do'/>" >결제하기</a></li> |
| 1654 | 1654 |
<li><a href="<c:out value='/web/member/pay/PayList.do'/>" >요금 결제내역</a></li> |
| 1655 |
- <li><a href="<c:out value='/web/member/pay/PayUserSWList.do'/>" >요금 사용내역</a></li> |
|
| 1655 |
+ <li><a href="<c:out value='/web/member/pay/payUserSWList.do'/>" >요금 사용내역</a></li> |
|
| 1656 | 1656 |
<!-- 현금영수증 자동발행 주석 --> |
| 1657 | 1657 |
<%-- <li><a href="<c:out value='/web/member/pay/BillPub.do'/>" >계산서/현금영수증 발행 등록</a></li> --%> |
| 1658 | 1658 |
<li><a href="<c:out value='/web/member/pay/BillPub.do'/>" >세금계산서 발행</a></li> |
--- src/main/webapp/WEB-INF/jsp/web/pay/BillPub.jsp
+++ src/main/webapp/WEB-INF/jsp/web/pay/BillPub.jsp
... | ... | @@ -495,7 +495,7 @@ |
| 495 | 495 |
<li class="tab"><button type="button" onclick="location.href='/web/pay/PayGuide.do'">요금안내/견적내기</button></li> |
| 496 | 496 |
<li class="tab"><button type="button" onclick="location.href='/web/member/pay/PayView.do'">결제하기</button></li> |
| 497 | 497 |
<li class="tab"><button type="button" onclick="location.href='/web/member/pay/PayList.do'">요금 결제내역</button></li> |
| 498 |
- <li class="tab"><button type="button" onclick="location.href='/web/member/pay/PayUserSWList.do'">요금 사용내역</button></li> |
|
| 498 |
+ <li class="tab"><button type="button" onclick="location.href='/web/member/pay/payUserSWList.do'">요금 사용내역</button></li> |
|
| 499 | 499 |
<!-- <li class="tab active"><button type="button">계산서/현금영수증 발행 등록</button></li> --> |
| 500 | 500 |
<li class="tab active"><button type="button">세금계산서 발행 등록</button></li> |
| 501 | 501 |
</ul><!--// tab button --> |
--- src/main/webapp/WEB-INF/jsp/web/pay/PayGuide.jsp
+++ src/main/webapp/WEB-INF/jsp/web/pay/PayGuide.jsp
... | ... | @@ -1,867 +1,867 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
|
| 4 |
- |
|
| 5 |
-<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> |
|
| 6 |
- |
|
| 7 |
-<script> |
|
| 8 |
-// 문자 단가 |
|
| 9 |
-var shortPrice = "${shortPrice}";
|
|
| 10 |
-var longPrice = "${longPrice}";
|
|
| 11 |
-var picturePrice = "${picturePrice}";
|
|
| 12 |
-var picturePrice2 = "${picturePrice2}";
|
|
| 13 |
-var picturePrice3 = "${picturePrice3}";
|
|
| 14 |
-var kakaoAtPrice = "${kakaoAtPrice}";
|
|
| 15 |
-var faxPrice = "${faxPrice}";
|
|
| 16 |
- |
|
| 17 |
-var smsList = new Array(); // 품목추가 Array |
|
| 18 |
-var supplySumPrice = 0; // 공급가액 |
|
| 19 |
-var vatSumPrice = 0; // 부가세액 |
|
| 20 |
-var totSumPrice = 0; // 합계 |
|
| 21 |
- |
|
| 22 |
-// 탭이동 |
|
| 23 |
-var tabType = "${tabType}";
|
|
| 24 |
- |
|
| 25 |
-$(document).ready(function () {
|
|
| 26 |
- |
|
| 27 |
- // 품목정보 추가 |
|
| 28 |
- getSmsItemAdd(); |
|
| 29 |
- |
|
| 30 |
- // 품목 Change Event |
|
| 31 |
- $("#smsItem").change(function(){
|
|
| 32 |
- $("#unitPrice").val($("#smsItem option:selected").val());
|
|
| 33 |
- |
|
| 34 |
- var optNm = $("#smsItem option:selected").text();
|
|
| 35 |
- if(optNm.includes('팩스')){
|
|
| 36 |
- $('#faxPages').show();
|
|
| 37 |
- }else{
|
|
| 38 |
- $('#faxPages').hide();
|
|
| 39 |
- } |
|
| 40 |
- }); |
|
| 41 |
- |
|
| 42 |
- // 품목추가 Click Event |
|
| 43 |
- $("#btnItemAdd").click(function(){
|
|
| 44 |
- // 품목추가 |
|
| 45 |
- setItemAdd(); |
|
| 46 |
- }); |
|
| 47 |
- |
|
| 48 |
- // 품목삭제 Click Event |
|
| 49 |
- $("#btnItemDel").click(function(){
|
|
| 50 |
- // 품목삭제 |
|
| 51 |
- setItemDel(); |
|
| 52 |
- |
|
| 53 |
- //품목추가 Html |
|
| 54 |
- setItemAddHtml(); |
|
| 55 |
- }); |
|
| 56 |
- |
|
| 57 |
- // 부가세별도 여부 Change Event |
|
| 58 |
- $("#isVat").change(function(){
|
|
| 59 |
- //품목추가 Html |
|
| 60 |
- setItemAddHtml(); |
|
| 61 |
- }); |
|
| 62 |
- |
|
| 63 |
- // 견적내기화면으로 이동 |
|
| 64 |
- if (tabType == "2") {
|
|
| 65 |
- $("#btnEstimate").trigger("click");
|
|
| 66 |
- } |
|
| 67 |
- |
|
| 68 |
- //등급제 시행 ON/OFF 체크(비로그인) |
|
| 69 |
- //getMberSettingDetailByNotLogin(); |
|
| 70 |
- |
|
| 71 |
- // 등급제 대상 여부 |
|
| 72 |
- //getMberGrdChk(); |
|
| 73 |
- |
|
| 74 |
-}); |
|
| 75 |
- |
|
| 76 |
-//품목정보 추가 |
|
| 77 |
-function getSmsItemAdd() {
|
|
| 78 |
- var sHtml = ""; |
|
| 79 |
- sHtml += "<option value='" + shortPrice + "'>단문(SMS)</option>"; |
|
| 80 |
- sHtml += "<option value='" + longPrice + "'>장문(LMS)</option>"; |
|
| 81 |
- sHtml += "<option value='" + picturePrice + "'>그림문자(1장)</option>"; |
|
| 82 |
- sHtml += "<option value='" + picturePrice2 + "'>그림문자(2장)</option>"; |
|
| 83 |
- sHtml += "<option value='" + picturePrice3 + "'>그림문자(3장)</option>"; |
|
| 84 |
- sHtml += "<option value='" + kakaoAtPrice + "'>카톡(알림톡)</option>"; |
|
| 85 |
- sHtml += "<option value='" + faxPrice + "'>팩스</option>"; |
|
| 86 |
- |
|
| 87 |
- $("#smsItem").append(sHtml);
|
|
| 88 |
- |
|
| 89 |
- // 단가 초기값 |
|
| 90 |
- $("#unitPrice").val($("#smsItem option:selected").val());
|
|
| 91 |
-} |
|
| 92 |
- |
|
| 93 |
- |
|
| 94 |
-// 품목추가 |
|
| 95 |
-function setItemAdd() {
|
|
| 96 |
- var caseNumber = $("#caseNumber").val().trim().replaceAll(",", "");
|
|
| 97 |
- var casePage = $("#casePage").val().trim().replaceAll(",", "");
|
|
| 98 |
- |
|
| 99 |
- if (caseNumber == null || caseNumber == "" || caseNumber == undefined) {
|
|
| 100 |
- alert("건수를 입력하세요.");
|
|
| 101 |
- return false; |
|
| 102 |
- } |
|
| 103 |
- else if (isNaN(caseNumber) == true) {
|
|
| 104 |
- alert("건수는 숫자를 입력하세요.");
|
|
| 105 |
- return false; |
|
| 106 |
- } |
|
| 107 |
- |
|
| 108 |
- // 객체 생성 |
|
| 109 |
- var data = new Object(); |
|
| 110 |
- data.smsItemName = $("#smsItem option:selected").text(); // 품목명
|
|
| 111 |
- data.unitPrice = $("#unitPrice").val(); // 단가
|
|
| 112 |
- data.unitPricePlusVat = $("#unitPrice").val(); // 단가
|
|
| 113 |
- data.caseNumber = caseNumber; // 건수 |
|
| 114 |
- data.supplyPrice = $("#unitPrice").val() * caseNumber;
|
|
| 115 |
- data.totPrice = $("#unitPrice").val() * caseNumber; // 금액
|
|
| 116 |
- |
|
| 117 |
- var itmNm = data.smsItemName |
|
| 118 |
- if(itmNm.includes('팩스')){//팩스인 경우 매수 곱해주기
|
|
| 119 |
- data.casePage = casePage; |
|
| 120 |
- data.supplyPrice = $("#unitPrice").val() * (caseNumber * casePage);
|
|
| 121 |
- data.totPrice = $("#unitPrice").val() * (caseNumber * casePage); // 금액
|
|
| 122 |
- } |
|
| 123 |
- |
|
| 124 |
- // 리스트에 생성된 객체 삽입 |
|
| 125 |
- smsList.push(data); |
|
| 126 |
- |
|
| 127 |
- //품목추가 Html |
|
| 128 |
- setItemAddHtml(); |
|
| 129 |
- } |
|
| 130 |
- |
|
| 131 |
-//품목추가 Html |
|
| 132 |
-function setItemAddHtml() {
|
|
| 133 |
- var isVat = $("#isVat option:selected").val();
|
|
| 134 |
- |
|
| 135 |
- // 부가세 케이스별 다시계산 |
|
| 136 |
- smsList.forEach(function(element) {
|
|
| 137 |
- var itmNm = element.smsItemName; |
|
| 138 |
- |
|
| 139 |
- if (isVat == 1) {
|
|
| 140 |
- |
|
| 141 |
- if(itmNm.includes('팩스')){//팩스인 경우 건수 * 매수에 대한 금액의 부가세를 계산해야함.
|
|
| 142 |
- // 부가세 포함 |
|
| 143 |
- element.vatPrice = Math.round(element.unitPrice * 0.1 * (element.caseNumber * element.casePage)); |
|
| 144 |
- }else{
|
|
| 145 |
- // 부가세 포함 |
|
| 146 |
- element.vatPrice = Math.round(element.unitPrice * 0.1 * element.caseNumber); |
|
| 147 |
- //element.unitPricePlusVat = parseInt(element.unitPrice, 10) + Math.round(element.unitPrice * 0.1); |
|
| 148 |
- } |
|
| 149 |
- |
|
| 150 |
- } |
|
| 151 |
- else {
|
|
| 152 |
- // 부가세 별도(부가세 : 0) |
|
| 153 |
- element.vatPrice = 0; |
|
| 154 |
- } |
|
| 155 |
- |
|
| 156 |
- if(itmNm.includes('팩스')){//팩스인 경우 건수 * 매수에 대한 금액의 부가세를 계산해야함.
|
|
| 157 |
- element.totVatPrice = (element.unitPrice * (element.caseNumber * element.casePage)) + element.vatPrice; // 금액 |
|
| 158 |
- }else{
|
|
| 159 |
- element.totVatPrice = (element.unitPrice * element.caseNumber) + element.vatPrice; // 금액 |
|
| 160 |
- } |
|
| 161 |
- }) |
|
| 162 |
- |
|
| 163 |
- vatSumPrice = 0; |
|
| 164 |
- supplySumPrice = 0; |
|
| 165 |
- totSumPrice = 0; |
|
| 166 |
- |
|
| 167 |
- var sHtml = ""; |
|
| 168 |
- smsList.forEach(function(element) {
|
|
| 169 |
- supplySumPrice += element.supplyPrice; |
|
| 170 |
- totSumPrice += element.totPrice; |
|
| 171 |
- |
|
| 172 |
- sHtml += "<div class='tType3_bd'>"; |
|
| 173 |
- sHtml += " <div>"; |
|
| 174 |
- sHtml += " <label for='' class='label'>한 줄 전체 선택</label>"; |
|
| 175 |
- sHtml += " <input type='checkbox' id='chkEach' name='chkEach'>"; |
|
| 176 |
- sHtml += " </div>"; |
|
| 177 |
- sHtml += " <div>" + element.smsItemName + "</div>"; |
|
| 178 |
- if (isVat == 1) {
|
|
| 179 |
- // 부가세 포함 |
|
| 180 |
- sHtml += " <div>" + element.unitPricePlusVat + "</div>"; |
|
| 181 |
- } |
|
| 182 |
- else {
|
|
| 183 |
- sHtml += " <div>" + element.unitPrice + "</div>"; |
|
| 184 |
- } |
|
| 185 |
- if(element.smsItemName.includes('팩스')){
|
|
| 186 |
- sHtml += " <div>" + numberWithCommas(element.caseNumber * element.casePage) + "</div>"; |
|
| 187 |
- } |
|
| 188 |
- else {
|
|
| 189 |
- sHtml += " <div>" + numberWithCommas(element.caseNumber) + "</div>"; |
|
| 190 |
- } |
|
| 191 |
- sHtml += " <div>" + numberWithCommas(element.supplyPrice) + "</div>"; |
|
| 192 |
- sHtml += " <div>" + numberWithCommas(element.vatPrice) + "</div>"; |
|
| 193 |
- sHtml += " <div>" + numberWithCommas(element.totVatPrice) + "</div>"; |
|
| 194 |
- sHtml += "</div>"; |
|
| 195 |
- }) |
|
| 196 |
- |
|
| 197 |
- $("#itemList").html(sHtml);
|
|
| 198 |
- |
|
| 199 |
- // Sum |
|
| 200 |
- setEstimateSum(); |
|
| 201 |
- } |
|
| 202 |
- |
|
| 203 |
-// Sum |
|
| 204 |
-function setEstimateSum() {
|
|
| 205 |
- var isVat = $("#isVat option:selected").val();
|
|
| 206 |
- console.log("setEstimateSum")
|
|
| 207 |
- if (isVat == 1) {
|
|
| 208 |
- // 부가세 포함 |
|
| 209 |
- vatSumPrice = Math.round(supplySumPrice * 0.1); |
|
| 210 |
- totSumPrice = totSumPrice + vatSumPrice; |
|
| 211 |
- } |
|
| 212 |
- else {
|
|
| 213 |
- // 부가세 별도(부가세 : 0) |
|
| 214 |
- vatSumPrice = 0; |
|
| 215 |
- supplySumPrice = supplySumPrice - vatSumPrice;; |
|
| 216 |
- } |
|
| 217 |
- |
|
| 218 |
- $("#supplySumPriceStr").html(numberWithCommas(supplySumPrice));
|
|
| 219 |
- $("#totSumPriceStr").html(numberWithCommas(totSumPrice));
|
|
| 220 |
- /* if($("#isVat option:selected").val() == '0'){
|
|
| 221 |
- $("#isVatStr").html($("#isVat option:selected").text() + '(' + numberWithCommas(vatSumPrice) + ')');
|
|
| 222 |
- }else{
|
|
| 223 |
- $("#isVatStr").html($("#isVat option:selected").text());
|
|
| 224 |
- } */ |
|
| 225 |
- $("#isVatStr").html(numberWithCommas(vatSumPrice));
|
|
| 226 |
- |
|
| 227 |
- $("#smsList").val(JSON.stringify(smsList));
|
|
| 228 |
- $("#supplySumPrice").val(supplySumPrice);
|
|
| 229 |
- $("#vatSumPrice").val(vatSumPrice);
|
|
| 230 |
- $("#totSumPrice").val(totSumPrice);
|
|
| 231 |
- |
|
| 232 |
-} |
|
| 233 |
- |
|
| 234 |
-// 품목 삭제 |
|
| 235 |
-function setItemDel() {
|
|
| 236 |
- //체크박스 체크 |
|
| 237 |
- var smsListLen = smsList.length; |
|
| 238 |
- while (smsListLen--) {
|
|
| 239 |
- if ($('input[name=chkEach]').eq(smsListLen).is(':checked') == true) {
|
|
| 240 |
- smsList.splice(smsListLen, 1); |
|
| 241 |
- } |
|
| 242 |
- } |
|
| 243 |
-} |
|
| 244 |
- |
|
| 245 |
-//유효성 검사 |
|
| 246 |
-function ValidationCheck() {
|
|
| 247 |
- var title = $("#title").val().trim();
|
|
| 248 |
- var recipientName = $("#recipientName").val().trim();
|
|
| 249 |
- var managerName = $("#managerName").val().trim();
|
|
| 250 |
- var mobile = $("#mobile").val().trim();
|
|
| 251 |
- var publishDate = $("#publishDate").val().trim();
|
|
| 252 |
- |
|
| 253 |
- if (title == null || title == "" || title == undefined) {
|
|
| 254 |
- alert("제목을 입력하세요.");
|
|
| 255 |
- $("#title").focus();
|
|
| 256 |
- return false; |
|
| 257 |
- } |
|
| 258 |
- else if (recipientName == null || recipientName == "" || recipientName == undefined) {
|
|
| 259 |
- alert("수신자(기업명)을 입력하세요.");
|
|
| 260 |
- $("#recipientName").focus();
|
|
| 261 |
- return false; |
|
| 262 |
- } |
|
| 263 |
- else if (managerName == null || managerName == "" || managerName == undefined) {
|
|
| 264 |
- alert("담당자(성명)을 입력하세요.");
|
|
| 265 |
- $("#managerName").focus();
|
|
| 266 |
- return false; |
|
| 267 |
- } |
|
| 268 |
- else if (mobile == null || mobile == "" || mobile == undefined) {
|
|
| 269 |
- alert("연락처를 입력하세요.");
|
|
| 270 |
- $("#mobile").focus();
|
|
| 271 |
- return false; |
|
| 272 |
- } |
|
| 273 |
- else if (publishDate == null || publishDate == "" || publishDate == undefined) {
|
|
| 274 |
- alert("발행일을 입력하세요.");
|
|
| 275 |
- $("#publishDate").focus();
|
|
| 276 |
- return false; |
|
| 277 |
- } |
|
| 278 |
- else if (smsList.length == 0) {
|
|
| 279 |
- alert("품목정보를 하나이상 추가해주세요.");
|
|
| 280 |
- return false; |
|
| 281 |
- } |
|
| 282 |
-} |
|
| 283 |
- |
|
| 284 |
-/* 인쇄미리보기 클릭 시 견적서 새창 팝업 오픈 */ |
|
| 285 |
-function showEst() {
|
|
| 286 |
- |
|
| 287 |
- // 유효성 검사 |
|
| 288 |
- if (ValidationCheck() == false) return false; |
|
| 289 |
- |
|
| 290 |
- //만들려는 팝업의 크기 |
|
| 291 |
- var popup_wid = 820; |
|
| 292 |
- var popup_ht = 900; |
|
| 293 |
- |
|
| 294 |
- //중앙 정렬을 위해 윈도우 스크린의 width,height 구하는 변수 만듦 |
|
| 295 |
- var popup_left = (window.screen.width / 2) - (popup_wid / 2); |
|
| 296 |
- var popup_top =(window.screen.height / 2) - (popup_ht / 2); |
|
| 297 |
- |
|
| 298 |
- // From Submit |
|
| 299 |
- var myForm = document.popForm; |
|
| 300 |
- var url = "/web/pay/PayEstimateAjax.do"; |
|
| 301 |
- window.open('' ,'popForm', 'scrollbars=1, width='+ popup_wid +', height='+ popup_ht +', left=' + popup_left + ', top='+ popup_top);
|
|
| 302 |
- myForm.action =url; |
|
| 303 |
- myForm.method="post"; |
|
| 304 |
- myForm.target="popForm"; |
|
| 305 |
- myForm.testVal = 'test'; |
|
| 306 |
- myForm.submit(); |
|
| 307 |
-} |
|
| 308 |
- |
|
| 309 |
-function inputNumberFormatPay(obj) {
|
|
| 310 |
- $(obj).val($(obj).val().replace(/[^0-9]/g,"")); |
|
| 311 |
- |
|
| 312 |
- $('#caseNumber').val(numberWithCommas(obj.value));
|
|
| 313 |
-} |
|
| 314 |
- |
|
| 315 |
- |
|
| 316 |
-function inputPagesNumberFormatPay(obj) {
|
|
| 317 |
- $(obj).val($(obj).val().replace(/[^0-9]/g,"")); |
|
| 318 |
- |
|
| 319 |
- $(obj).val(numberWithCommas(obj.value)); |
|
| 320 |
-} |
|
| 321 |
-function inputPagesNumber(obj) {
|
|
| 322 |
- $(obj).val($(obj).val().replace(/[^0-9]/g,"")); |
|
| 323 |
-} |
|
| 324 |
- |
|
| 325 |
-function fn_gunClear(){
|
|
| 326 |
- $('#caseNumber').val('');
|
|
| 327 |
-} |
|
| 328 |
- |
|
| 329 |
- |
|
| 330 |
-//체크박스 전체선택/해제 |
|
| 331 |
-$(document).on("click", "#chkAll", function(e) {
|
|
| 332 |
- var isChecked = $(this).is(":checked");
|
|
| 333 |
- $("input[name=chkEach]:checkbox").prop("checked", isChecked);
|
|
| 334 |
-}); |
|
| 335 |
- |
|
| 336 |
-/* 윈도우팝업 열기 */ |
|
| 337 |
-function infoPop(pageUrl){
|
|
| 338 |
- document.infoPopForm.pageType.value = pageUrl; |
|
| 339 |
- document.infoPopForm.action = "/web/pop/infoPop.do"; |
|
| 340 |
- document.infoPopForm.method = "post"; |
|
| 341 |
- window.open("about:blank", 'infoPop', 'width=790, height=280, top=100, left=100, fullscreen=no, menubar=no, status=no, toolbar=no, titlebar=yes, location=no, scrollbars=1');
|
|
| 342 |
- document.infoPopForm.target = "infoPop"; |
|
| 343 |
- document.infoPopForm.submit(); |
|
| 344 |
-} |
|
| 345 |
- |
|
| 346 |
- |
|
| 347 |
-//등급제 시행 ON/OFF 체크(비로그인) |
|
| 348 |
-function getMberSettingDetailByNotLogin() {
|
|
| 349 |
- $.ajax({
|
|
| 350 |
- type: "POST", |
|
| 351 |
- url: "/web/grd/mberSettDetailByNotLoginAjax.do", |
|
| 352 |
- data: {},
|
|
| 353 |
- dataType:'json', |
|
| 354 |
- async: false, |
|
| 355 |
- success: function (data) {
|
|
| 356 |
- if (data.isSuccess) {
|
|
| 357 |
- // 문자(등급별 요금 안내) |
|
| 358 |
- $("#mberGrdSettingArea").show();
|
|
| 359 |
- } |
|
| 360 |
- else {
|
|
| 361 |
- //alert("Msg : " + data.msg);
|
|
| 362 |
- } |
|
| 363 |
- }, |
|
| 364 |
- error: function (e) {
|
|
| 365 |
- //alert("ERROR : " + JSON.stringify(e));
|
|
| 366 |
- } |
|
| 367 |
- }); |
|
| 368 |
-} |
|
| 369 |
- |
|
| 370 |
-// 등급제 대상 여부 |
|
| 371 |
-function getMberGrdChk() {
|
|
| 372 |
- $.ajax({
|
|
| 373 |
- type: "POST", |
|
| 374 |
- url: "/web/grd/mberGrdChkAjax.do", |
|
| 375 |
- data: {},
|
|
| 376 |
- dataType:'json', |
|
| 377 |
- async: false, |
|
| 378 |
- success: function (data) {
|
|
| 379 |
- if (data.isSuccess) {
|
|
| 380 |
- // 등급제 누적결제액 세부내역 |
|
| 381 |
- $("#grdShowArea").html("(등급 : " + data.rtnMberGrdVO.grdSetNm + ")");
|
|
| 382 |
- $("#levelSubTitle").html("(" + data.rtnMberGrdVO.grdDate + " ~ 현재)");
|
|
| 383 |
- } |
|
| 384 |
- else {
|
|
| 385 |
- //alert("Msg : " + data.msg);
|
|
| 386 |
- } |
|
| 387 |
- }, |
|
| 388 |
- error: function (e) {
|
|
| 389 |
- //alert("ERROR : " + JSON.stringify(e));
|
|
| 390 |
- } |
|
| 391 |
- }); |
|
| 392 |
-} |
|
| 393 |
- |
|
| 394 |
-</script> |
|
| 395 |
- |
|
| 396 |
-<form name="popForm" method="post"> |
|
| 397 |
- <input type="hidden" name="smsList" id="smsList" value="" /> |
|
| 398 |
- <input type="hidden" name="supplySumPrice" id="supplySumPrice" value="" /> |
|
| 399 |
- <input type="hidden" name="vatSumPrice" id="vatSumPrice" value="" /> |
|
| 400 |
- <input type="hidden" name="totSumPrice" id="totSumPrice" value="" /> |
|
| 401 |
- |
|
| 402 |
- <!-- content 영역 --> |
|
| 403 |
- <div class="inner"> |
|
| 404 |
- <!-- send top --> |
|
| 405 |
- <div class="send_top"> |
|
| 406 |
- <!-- tab button --> |
|
| 407 |
- <ul class="tabType4"> |
|
| 408 |
- <li class="tab active"><button type="button">요금안내/견적내기</button></li> |
|
| 409 |
- <li class="tab"><button type="button" onclick="location.href='/web/member/pay/PayView.do'">결제하기</button></li> |
|
| 410 |
- <li class="tab"><button type="button" onclick="location.href='/web/member/pay/PayList.do'">요금 결제내역</button></li> |
|
| 411 |
- <li class="tab"><button type="button" onclick="location.href='/web/member/pay/PayUserSWList.do'">요금 사용내역</button></li> |
|
| 412 |
- <li class="tab"><button type="button" onclick="location.href='/web/member/pay/BillPub.do'">세금계산서 발행 등록</button></li> |
|
| 413 |
- </ul> |
|
| 414 |
- <!--// tab button --> |
|
| 415 |
- <!-- 결제관리 - 요금안내/견적내기 --> |
|
| 416 |
- <div class="serv_content charg_cont current" id="tab5_1"> |
|
| 417 |
- <div class="heading"> |
|
| 418 |
- <h2>요금안내/견적내기</h2> |
|
| 419 |
- <button type="button" class="button info" onclick="infoPop('PayGuide');">사용안내</button>
|
|
| 420 |
- </div> |
|
| 421 |
- <!-- tab button --> |
|
| 422 |
- <div class="pay_tab_wrap"> |
|
| 423 |
- <ul class="tabType1"> |
|
| 424 |
- <li class="tab active"> |
|
| 425 |
- <button type="button" onclick="TabType1(this,'1')">요금안내</button> |
|
| 426 |
- </li> |
|
| 427 |
- <li class="tab"> |
|
| 428 |
- <button type="button" onclick="TabType1(this,'2')" id="btnEstimate">견적내기</button> |
|
| 429 |
- </li> |
|
| 430 |
- </ul> |
|
| 431 |
- </div> |
|
| 432 |
- <!--// tab button --> |
|
| 433 |
- <!-- 결제관리 - 요금안내/견적내기 - 요금안내 --> |
|
| 434 |
- <div class="fee_cont current fee_wrap" id="tab1_1"> |
|
| 435 |
- <div> |
|
| 436 |
- <p class="tType1_title"> |
|
| 437 |
- <img src="/publish/images/content/icon_fee1.png" alt="문자이미지"> 문자<span class="level_first" id="grdShowArea"></span> |
|
| 438 |
- </p> |
|
| 439 |
- <table class="tType2"> |
|
| 440 |
- <caption></caption> |
|
| 441 |
- <colgroup> |
|
| 442 |
- <col style="width: 18%;"> |
|
| 443 |
- <col style="width: auto;"> |
|
| 444 |
- <col style="width: 32%;"> |
|
| 445 |
- </colgroup> |
|
| 446 |
- <thead> |
|
| 447 |
- <tr> |
|
| 448 |
- <th>구분</th> |
|
| 449 |
- <th>특징</th> |
|
| 450 |
- <th>가격</th> |
|
| 451 |
- </tr> |
|
| 452 |
- </thead> |
|
| 453 |
- <tbody> |
|
| 454 |
- <tr> |
|
| 455 |
- <th>단문(SMS)</th> |
|
| 456 |
- <td>90Byte 이하 단문 메시지(이미지 첨부 불가)</td> |
|
| 457 |
- <td><span>${shortPrice}</span>원</td>
|
|
| 458 |
- </tr> |
|
| 459 |
- <tr> |
|
| 460 |
- <th>장문(LMS)</th> |
|
| 461 |
- <td>91~2,000Byte 이하 장문메시지(이미지 첨부 불가)</td> |
|
| 462 |
- <td><span>${longPrice}</span>원</td>
|
|
| 463 |
- </tr> |
|
| 464 |
- <tr> |
|
| 465 |
- <th>그림문자(MMS)</th> |
|
| 466 |
- <td>2,000Byte 이하 문자 및 이미지를 포함하는그림메시지(이미지 최대 3장 첨부 가능) </td> |
|
| 467 |
- <td>1장 : <span>${picturePrice}</span>원 / 2장 : <span>${picturePrice2}<span>원/ 3장 : <span>${picturePrice3}</span>원</td>
|
|
| 468 |
- </tr> |
|
| 469 |
- </tbody> |
|
| 470 |
- </table> |
|
| 471 |
- <span class="reqTxt4">* 텍스트 용량(Byte)에 대한 안내 : 한글2Byte, 영문·숫자 1Byte를 차지.</span> |
|
| 472 |
- |
|
| 473 |
- <!--문자_등급별 요금 안내 추가 시작--> |
|
| 474 |
- <div id="mberGrdSettingArea" style="display: none;"> |
|
| 475 |
- <p class="tType1_title level"><img src="/publish/images/content/icon_fee1.png" alt="문자이미지"> 문자<span>(등급별 요금 안내)</span></p> |
|
| 476 |
- <table class="tType2 tType2_level"> |
|
| 477 |
- <caption></caption> |
|
| 478 |
- <colgroup> |
|
| 479 |
- <col style="width: 13%;"> |
|
| 480 |
- <col style="width: auto;"> |
|
| 481 |
- <col style="width: 11%;"> |
|
| 482 |
- <col style="width: 11%;"> |
|
| 483 |
- <col style="width: 11%;"> |
|
| 484 |
- <col style="width: 11%;"> |
|
| 485 |
- <col style="width: 11%;"> |
|
| 486 |
- </colgroup> |
|
| 487 |
- <thead> |
|
| 488 |
- <tr> |
|
| 489 |
- <th>등급</th> |
|
| 490 |
- <th class="th_second">누적결제액<span id="levelSubTitle"></span></th> |
|
| 491 |
- <th>단문</th> |
|
| 492 |
- <th>장문</th> |
|
| 493 |
- <th>그림(1장)</th> |
|
| 494 |
- <th>그림(2장)</th> |
|
| 495 |
- <th>그림(3장)</th> |
|
| 496 |
- </tr> |
|
| 497 |
- </thead> |
|
| 498 |
- <tbody> |
|
| 499 |
- <c:forEach var="result" items="${mberGrdSettingList}" varStatus="status">
|
|
| 500 |
- <tr class="level_table"> |
|
| 501 |
- <th><c:out value="${result.grdSetNm}"/></th>
|
|
| 502 |
- <td class="level_price"><c:out value="${result.stdAmtComma}"/></td>
|
|
| 503 |
- <td><c:out value="${result.shortPrice}"/></td>
|
|
| 504 |
- <td><c:out value="${result.longPrice}"/></td>
|
|
| 505 |
- <td><c:out value="${result.picturePrice}"/></td>
|
|
| 506 |
- <td><c:out value="${result.picture2Price}"/></td>
|
|
| 507 |
- <td><c:out value="${result.picture3Price}"/></td>
|
|
| 508 |
- </tr> |
|
| 509 |
- </c:forEach> |
|
| 510 |
- </tbody> |
|
| 511 |
- </table> |
|
| 512 |
- <span class="reqTxt4"> |
|
| 513 |
- * 등급별 요금제는 당사의 정책 및 운영의 필요상 수정, 중단 또는 변경될 수 있습니다. <br> |
|
| 514 |
- * 누적결제액은 등급별 요금제 적용일로부터 적립된 결제금액을 말하며, 누적결제액에 따라 등급은 자동으로 적용됩니다. <br> |
|
| 515 |
- * "첫결제 이벤트" 등 이벤트 결제금액은 등급별 요금제 누적결제액에서 제외됩니다. <br> |
|
| 516 |
- </span> |
|
| 517 |
- <p class="reqTxt4 reqTxt4_last"> |
|
| 518 |
- * 문자피싱, 스미싱, 주식, 도박, 로또, 스팸, 사기, 협박, 범죄, 유사투자, 유사수신 등을 목적으로 하거나 교사 또는 방조하는 내용의 정보, 발신번호 조작 등으로 인지되는 문자에 대해서는 사전 또는 즉시 발송을 차단하고 |
|
| 519 |
- 이용을 정지시킬 수 있으며, 이에 대한 어떠한 환불이나 보상을 실시하지 않습니다. 또한, 상기 문자를 발송한 회원에 대해서는 그 즉시 등급별 요금제 혜택을 취소합니다. |
|
| 520 |
- </p> |
|
| 521 |
- </div> |
|
| 522 |
- <!--문자_등급별 요금 안내 추가 끝--> |
|
| 523 |
- |
|
| 524 |
- <p class="tType1_title"><img src="/publish/images/content/icon_fee2.png" alt="알림톡 아이콘 이미지"> 알림톡</p> |
|
| 525 |
- <table class="tType2"> |
|
| 526 |
- <colgroup> |
|
| 527 |
- <col style="width: 20%;"> |
|
| 528 |
- <col style="width: 60%;"> |
|
| 529 |
- <col style="width: 20%;"> |
|
| 530 |
- </colgroup> |
|
| 531 |
- <thead> |
|
| 532 |
- <tr> |
|
| 533 |
- <th>구분</th> |
|
| 534 |
- <th>특징</th> |
|
| 535 |
- <th>가격</th> |
|
| 536 |
- </tr> |
|
| 537 |
- </thead> |
|
| 538 |
- <tbody> |
|
| 539 |
- <tr> |
|
| 540 |
- <th>알림톡</th> |
|
| 541 |
- <td>카카오톡을 통해 친구 추가 여부와 관계 없이 휴대폰 번호로 발송이 가능한 정보성 메시지<br>(1,000자 이하의 텍스트 및 이미지 중 카카오 사전 승인 건에 한하여 발송 가능)</td> |
|
| 542 |
- <td>1장 : <span>${kakaoAtPrice}</span>원</td>
|
|
| 543 |
- </tr> |
|
| 544 |
- </tbody> |
|
| 545 |
- </table> |
|
| 546 |
- <span class="reqTxt4">* 텍스트 용량(Byte)에 대한 안내 : 한글2Byte, 영문·숫자 1Byte를 차지.</span> |
|
| 547 |
- |
|
| 548 |
- <p class="tType1_title"><img src="/publish/images/content/icon_fee_fax.png" alt="팩스 아이콘 이미지"> 팩스</p> |
|
| 549 |
- <table class="tType2"> |
|
| 550 |
- <colgroup> |
|
| 551 |
- <col style="width: 20%;"> |
|
| 552 |
- <col style="width: 60%;"> |
|
| 553 |
- <col style="width: 20%;"> |
|
| 554 |
- </colgroup> |
|
| 555 |
- <thead> |
|
| 556 |
- <tr> |
|
| 557 |
- <th>구분</th> |
|
| 558 |
- <th>특징(전송가능확장자)</th> |
|
| 559 |
- <th>가격</th> |
|
| 560 |
- </tr> |
|
| 561 |
- </thead> |
|
| 562 |
- <tbody> |
|
| 563 |
- <tr> |
|
| 564 |
- <th>팩스</th> |
|
| 565 |
- <td>전송 가능 파일(hwp, pdf, ppt, xls, xlsx, doc, jpg, jpeg, bmp, txt, gif, hwpml, tif, gul)</td> |
|
| 566 |
- <td>1매 : <span>${faxPrice}</span>원</td>
|
|
| 567 |
- </tr> |
|
| 568 |
- </tbody> |
|
| 569 |
- </table> |
|
| 570 |
- |
|
| 571 |
- <p class="tType1_title"><img src="/publish/images/content/icon_fee3.png" alt="그림문자 맞춤제작 이미지"> 그림문자 맞춤제작</p> |
|
| 572 |
- <table class="tType2"> |
|
| 573 |
- <caption></caption> |
|
| 574 |
- <colgroup> |
|
| 575 |
- <col style="width: 80%;"> |
|
| 576 |
- <col style="width: 20%;"> |
|
| 577 |
- </colgroup> |
|
| 578 |
- <thead> |
|
| 579 |
- <tr> |
|
| 580 |
- <th>구분</th> |
|
| 581 |
- <th>가격</th> |
|
| 582 |
- </tr> |
|
| 583 |
- </thead> |
|
| 584 |
- <tbody> |
|
| 585 |
- <tr> |
|
| 586 |
- <th>문자온 샘플 수정(글자, 색상, 폰트 등)</th> |
|
| 587 |
- <td><span>${customSamplePrice}</span>원</td>
|
|
| 588 |
- </tr> |
|
| 589 |
- <tr> |
|
| 590 |
- <th>이미지 편집(첨부이미지 1장)</th> |
|
| 591 |
- <td><span>${customEditPrice}</span>원</td>
|
|
| 592 |
- </tr> |
|
| 593 |
- <tr> |
|
| 594 |
- <th>이미지 편집(첨부이미지 3장이하)</th> |
|
| 595 |
- <td><span>${customEdit3Price}</span>원</td>
|
|
| 596 |
- </tr> |
|
| 597 |
- <tr> |
|
| 598 |
- <th>텍스트 단순수정</th> |
|
| 599 |
- <td><span>${customTextPrice}</span>원</td>
|
|
| 600 |
- </tr> |
|
| 601 |
- </tbody> |
|
| 602 |
- </table> |
|
| 603 |
- <span class="reqTxt4">* 텍스트 단순수정 요청은 맞춤제작이 완료된 그림문자의 수정 시에만 가능합니다.</span> |
|
| 604 |
- |
|
| 605 |
- <div class="banner"> |
|
| 606 |
- <p>대량발송 고객 가격협의 가능</p> |
|
| 607 |
- <ul> |
|
| 608 |
- <li><img src="/publish/images/content/banner_call01.png" alt=""><p>전화 <strong>1551-8011</strong><p></li> |
|
| 609 |
- <li><img src="/publish/images/content/banner_email01.png" alt=""><p>이메일<span>help@iten.co.kr</span> <button type="button" onclick="location.href='mailto:help@iten.co.kr'">상담하기</button></li> |
|
| 610 |
- <li><img src="/publish/images/content/banner_kakao01.png" alt=""><p>카카오톡<span>munjaon</span><a href="http://pf.kakao.com/_PxoTtb/chat" target="_blank">상담하기</a><p></li> |
|
| 611 |
- </ul> |
|
| 612 |
- </div> |
|
| 613 |
- </div> |
|
| 614 |
- </div> |
|
| 615 |
- <!--// 결제관리 - 요금안내/견적내기 - 요금안내 --> |
|
| 616 |
- |
|
| 617 |
- <!-- 결제관리 - 요금안내/견적내기 - 견적내기 --> |
|
| 618 |
- <div class="fee_cont" id="tab1_2"> |
|
| 619 |
- <ul class="clause_list"> |
|
| 620 |
- <li class="list_open on"> |
|
| 621 |
- <div class="clause_list_head"> |
|
| 622 |
- <div class="list_head_in"> |
|
| 623 |
- <span><i></i>요금안내</span> |
|
| 624 |
- <button type="button" onclick="clause_list(this);"><i></i></button> |
|
| 625 |
- </div> |
|
| 626 |
- </div> |
|
| 627 |
- <div class="clause_list_body"> |
|
| 628 |
- <table class="refund_info"> |
|
| 629 |
- <caption>요금 안내</caption> |
|
| 630 |
- <colgroup> |
|
| 631 |
- <col style="width: 13%;"> |
|
| 632 |
- <col style="width: auto;"> |
|
| 633 |
- <col style="width: 25%;"> |
|
| 634 |
- </colgroup> |
|
| 635 |
- <thead> |
|
| 636 |
- <tr> |
|
| 637 |
- <th>구분</th> |
|
| 638 |
- <th>특징</th> |
|
| 639 |
- <th>금액</th> |
|
| 640 |
- </tr> |
|
| 641 |
- </thead> |
|
| 642 |
- <tbody> |
|
| 643 |
- <tr> |
|
| 644 |
- <td>단문(SMS)</td> |
|
| 645 |
- <td>90Byte 이하 단문 메시지(이미지 첨부 불가)</td> |
|
| 646 |
- <td><span>${shortPrice}</span>원</td>
|
|
| 647 |
- </tr> |
|
| 648 |
- <tr> |
|
| 649 |
- <td>장문(LMS)</td> |
|
| 650 |
- <td>91~2,000Byte 이하 장문메시지(이미지 첨부 불가)</td> |
|
| 651 |
- <td><span>${longPrice}</span>원</td>
|
|
| 652 |
- <tr> |
|
| 653 |
- <td>그림문자(MMS)</td> |
|
| 654 |
- <td>2,000Byte 이하 문자 및 이미지를 포함하는 그림메시지(이미지 최대 3장 첨부 가능)</td> |
|
| 655 |
- <td>1장 : <span>${picturePrice}</span>원 / 2장 : <span>${picturePrice2}</span>원 / 3장 : <span>${picturePrice3}</span>원</td>
|
|
| 656 |
- </tr> |
|
| 657 |
- <tr> |
|
| 658 |
- <td>카카오(알림톡)</td> |
|
| 659 |
- <td>카카오톡을 통해 친구 추가 여부와 관계 없이 휴대폰 번호로 발송이 가능한 정보성 메시지(1,000자 이하의 텍스트 및 이미지 중 카카오 사전 승인 건에 한하여 발송 가능)</td> |
|
| 660 |
- <td><span>${kakaoAtPrice}</span>원</td>
|
|
| 661 |
- </tr> |
|
| 662 |
- <tr> |
|
| 663 |
- <td>팩스</td> |
|
| 664 |
- <td>전송 가능 파일(hwp, pdf, ppt, xls, xlsx, doc, jpg, jpeg, bmp, txt, gif, hwpml, tif, htm, html, gul)</td> |
|
| 665 |
- <td><span>${faxPrice}</span>원</td>
|
|
| 666 |
- </tr> |
|
| 667 |
- <tr> |
|
| 668 |
- <td>맞춤제작</td> |
|
| 669 |
- <td>문자온 샘플 수정(글자, 색상, 폰트 등)</td> |
|
| 670 |
- <td><span>${customSamplePrice}</span>원</td>
|
|
| 671 |
- </tr> |
|
| 672 |
- <tr> |
|
| 673 |
- <td>맞춤제작</td> |
|
| 674 |
- <td>이미지 편집(첨부이미지 1장)</td> |
|
| 675 |
- <td><span>${customEditPrice}</span>원</td>
|
|
| 676 |
- </tr> |
|
| 677 |
- <tr> |
|
| 678 |
- <td>맞춤제작</td> |
|
| 679 |
- <td>이미지 편집(첨부이미지 3장이하)</td> |
|
| 680 |
- <td><span>${customEdit3Price}</span>원</td>
|
|
| 681 |
- </tr> |
|
| 682 |
- <tr> |
|
| 683 |
- <td>맞춤제작</td> |
|
| 684 |
- <td>텍스트 단순수정</td> |
|
| 685 |
- <td><span>${customTextPrice}</span>원</td>
|
|
| 686 |
- </tr> |
|
| 687 |
- </tbody> |
|
| 688 |
- </table> |
|
| 689 |
- </div> |
|
| 690 |
- </li> |
|
| 691 |
- </ul> |
|
| 692 |
- <div> |
|
| 693 |
- <p class="tType1_title">일반정보</p> |
|
| 694 |
- <table class="tType1"> |
|
| 695 |
- <caption></caption> |
|
| 696 |
- <colgroup> |
|
| 697 |
- <col style="width: 150px;"> |
|
| 698 |
- <col style="width: auto;"> |
|
| 699 |
- </colgroup> |
|
| 700 |
- <tbody> |
|
| 701 |
- <tr> |
|
| 702 |
- <th>제목</th> |
|
| 703 |
- <td> |
|
| 704 |
- <label for="" class="label">견적내기 제목</label> |
|
| 705 |
- <input type="text" id="title" name="title" placeholder="견적서" onfocus="this.placeholder=''" onblur="this.placeholder='견적서'" style="width: 400px;" maxlength="20"> |
|
| 706 |
- </td> |
|
| 707 |
- </tr> |
|
| 708 |
- <tr> |
|
| 709 |
- <th>수신자(기업명)</th> |
|
| 710 |
- <td> |
|
| 711 |
- <label for="" class="label">수신자(기업명) 입력</label> |
|
| 712 |
- <input type="text" id="recipientName" name="recipientName" style="width: 400px;" maxlength="18"> |
|
| 713 |
- </td> |
|
| 714 |
- </tr> |
|
| 715 |
- <tr> |
|
| 716 |
- <th>담당자(성명)</th> |
|
| 717 |
- <td> |
|
| 718 |
- <label for="" class="label">담당자(성명) 입력</label> |
|
| 719 |
- <input type="text" id="managerName" name="managerName" style="width: 400px;" maxlength="18"> |
|
| 720 |
- </td> |
|
| 721 |
- </tr> |
|
| 722 |
- <tr> |
|
| 723 |
- <th>연락처</th> |
|
| 724 |
- <td> |
|
| 725 |
- <label for="" class="label">연락처 입력</label> |
|
| 726 |
- <input type="text" onkeyup="inputPagesNumber(this)"; maxlength="11" id="mobile" name="mobile" style="width: 400px;"> |
|
| 727 |
- </td> |
|
| 728 |
- </tr> |
|
| 729 |
- <tr> |
|
| 730 |
- <th>발행일</th> |
|
| 731 |
- <td> |
|
| 732 |
- <div class="calendar_wrap"> |
|
| 733 |
- <input type="text" class="calendar" title="발행일" id="publishDate" name="publishDate"> |
|
| 734 |
- </div> |
|
| 735 |
- </td> |
|
| 736 |
- </tr> |
|
| 737 |
- </tbody> |
|
| 738 |
- </table> |
|
| 739 |
- |
|
| 740 |
- <p class="tType1_title">품목정보</p> |
|
| 741 |
- <table class="tType1 itemInfo"> |
|
| 742 |
- <caption></caption> |
|
| 743 |
- <colgroup> |
|
| 744 |
- <col style="width: 150px;"> |
|
| 745 |
- <col style="width: auto;"> |
|
| 746 |
- </colgroup> |
|
| 747 |
- <tbody> |
|
| 748 |
- <tr> |
|
| 749 |
- <th>구분</th> |
|
| 750 |
- <td> |
|
| 751 |
- <label for="" class="label">품목 선택</label> |
|
| 752 |
- <select id="smsItem" name="smsItem" onchange="fn_gunClear();" style="width: 210px;"> |
|
| 753 |
- </select> |
|
| 754 |
- <label for="" class="label">품목 별 단가</label> |
|
| 755 |
- <input type="text" id="unitPrice" name="unitPrice" value="0" placeholder="" readonly class="readonly"> |
|
| 756 |
- <p class="input_in">원</p> |
|
| 757 |
- </td> |
|
| 758 |
- </tr> |
|
| 759 |
- <tr> |
|
| 760 |
- <th>건수</th> |
|
| 761 |
- <td class="publish_btn"> |
|
| 762 |
- <label for="" class="label">건수 입력</label> |
|
| 763 |
- <input type="text" id="caseNumber" numberOnly maxlength="10" name="caseNumber" style="width: 210px;" onkeyup="inputNumberFormatPay(this)"> |
|
| 764 |
- <p class="input_in">건</p> |
|
| 765 |
- <div> |
|
| 766 |
- <button type="button" class="btnType" id="btnItemAdd">품목추가<i class="arrow_img"></i></button> |
|
| 767 |
- </div> |
|
| 768 |
- </td> |
|
| 769 |
- </tr> |
|
| 770 |
- <tr id="faxPages" style="display:none;"> |
|
| 771 |
- <th>매수</th> |
|
| 772 |
- <td class="publish_btn"> |
|
| 773 |
- <label for="" class="label">매수 입력</label> |
|
| 774 |
- <input type="text" id="casePage" name="casePage" style="width: 210px;" onkeyup="inputPagesNumberFormatPay(this)"> |
|
| 775 |
- <p class="input_in">매</p> |
|
| 776 |
- </td> |
|
| 777 |
- </tr> |
|
| 778 |
- </tbody> |
|
| 779 |
- </table> |
|
| 780 |
- <div class="search_group_bottom2"> |
|
| 781 |
- <div class="btnWrap1"> |
|
| 782 |
- <button type="button" class="btnType" id="btnItemDel"><i class="remove_img"></i>선택삭제</button> |
|
| 783 |
- </div> |
|
| 784 |
- </div> |
|
| 785 |
- <!-- table --> |
|
| 786 |
- <div class="tType3 payDetail"> |
|
| 787 |
- <!-- thead --> |
|
| 788 |
- <div class="tType3_hd"> |
|
| 789 |
- <div> |
|
| 790 |
- <label for="" class="label">전체 선택</label> |
|
| 791 |
- <input type="checkbox" id="chkAll"> |
|
| 792 |
- </div> |
|
| 793 |
- <div>품목</div> |
|
| 794 |
- <div>단가(원)</div> |
|
| 795 |
- <div>건수(건)</div> |
|
| 796 |
- <div>공급가액(원)</div> |
|
| 797 |
- <div>세액(부가세)</div> |
|
| 798 |
- <div>금액(원)</div> |
|
| 799 |
- </div> |
|
| 800 |
- <!-- tbody --> |
|
| 801 |
- <div class="tType3_bd_wrap" id="itemList"> |
|
| 802 |
- <div class="tType3_bd"> |
|
| 803 |
- <div></div> |
|
| 804 |
- <div></div> |
|
| 805 |
- <div></div> |
|
| 806 |
- <div></div> |
|
| 807 |
- <div></div> |
|
| 808 |
- <div></div> |
|
| 809 |
- <div></div> |
|
| 810 |
- </div> |
|
| 811 |
- </div> |
|
| 812 |
- </div> |
|
| 813 |
- <!--// table --> |
|
| 814 |
- <div class="tb_wrap totalPrice_tb"> |
|
| 815 |
- <table class="tType4"> |
|
| 816 |
- <colgroup> |
|
| 817 |
- <col style="width: 25%;"> |
|
| 818 |
- <col style="width: 25%;"> |
|
| 819 |
- <col style="width: 30%;"> |
|
| 820 |
- <col style="width: 15%;"> |
|
| 821 |
- </colgroup> |
|
| 822 |
- <thead> |
|
| 823 |
- <tr> |
|
| 824 |
- <th>공급가액</th> |
|
| 825 |
- <th>세액(부가세)</th> |
|
| 826 |
- <th>합계</th> |
|
| 827 |
- <th>비고</th> |
|
| 828 |
- </tr> |
|
| 829 |
- </thead> |
|
| 830 |
- <tbody> |
|
| 831 |
- <tr> |
|
| 832 |
- <td> |
|
| 833 |
- <span id="supplySumPriceStr"></span> |
|
| 834 |
- </td> |
|
| 835 |
- <td> |
|
| 836 |
- <span id="isVatStr"></span> |
|
| 837 |
- </td> |
|
| 838 |
- <td> |
|
| 839 |
- <span id="totSumPriceStr"></span> |
|
| 840 |
- </td> |
|
| 841 |
- <td style="text-align: center;"> |
|
| 842 |
- <label for="" class="label">부가세 포함,별도 선택</label> |
|
| 843 |
- <select id="isVat" name="isVat" class="selType2"> |
|
| 844 |
- <option value="0">부가세 별도</option> |
|
| 845 |
- <option value="1" selected>부가세 포함</option> |
|
| 846 |
- </select> |
|
| 847 |
- </td> |
|
| 848 |
- </tr> |
|
| 849 |
- </tbody> |
|
| 850 |
- </table> |
|
| 851 |
- </div> |
|
| 852 |
- <!-- //주소록리스트 --> |
|
| 853 |
- <div style="text-align: center;"> |
|
| 854 |
- <button class="btnType btnType16" onclick="showEst(); return false;">발행하기</button> |
|
| 855 |
- </div> |
|
| 856 |
- </div> |
|
| 857 |
- </div> |
|
| 858 |
- <!-- 결제관리 - 요금안내/견적내기 - 견적내기 --> |
|
| 859 |
- </div> |
|
| 860 |
- </div> |
|
| 861 |
- <!-- 결제관리 - 요금안내/견적내기 --> |
|
| 862 |
- </div> |
|
| 863 |
- <!--// send top --> |
|
| 864 |
-</form> |
|
| 865 |
-<form name="infoPopForm" id="infoPopForm" method="post"> |
|
| 866 |
- <input type="hidden" name="pageType" id="pageType" value=""/> |
|
| 867 |
-</form> |
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
|
| 4 |
+ |
|
| 5 |
+<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> |
|
| 6 |
+ |
|
| 7 |
+<script> |
|
| 8 |
+// 문자 단가 |
|
| 9 |
+var shortPrice = "${shortPrice}";
|
|
| 10 |
+var longPrice = "${longPrice}";
|
|
| 11 |
+var picturePrice = "${picturePrice}";
|
|
| 12 |
+var picturePrice2 = "${picturePrice2}";
|
|
| 13 |
+var picturePrice3 = "${picturePrice3}";
|
|
| 14 |
+var kakaoAtPrice = "${kakaoAtPrice}";
|
|
| 15 |
+var faxPrice = "${faxPrice}";
|
|
| 16 |
+ |
|
| 17 |
+var smsList = new Array(); // 품목추가 Array |
|
| 18 |
+var supplySumPrice = 0; // 공급가액 |
|
| 19 |
+var vatSumPrice = 0; // 부가세액 |
|
| 20 |
+var totSumPrice = 0; // 합계 |
|
| 21 |
+ |
|
| 22 |
+// 탭이동 |
|
| 23 |
+var tabType = "${tabType}";
|
|
| 24 |
+ |
|
| 25 |
+$(document).ready(function () {
|
|
| 26 |
+ |
|
| 27 |
+ // 품목정보 추가 |
|
| 28 |
+ getSmsItemAdd(); |
|
| 29 |
+ |
|
| 30 |
+ // 품목 Change Event |
|
| 31 |
+ $("#smsItem").change(function(){
|
|
| 32 |
+ $("#unitPrice").val($("#smsItem option:selected").val());
|
|
| 33 |
+ |
|
| 34 |
+ var optNm = $("#smsItem option:selected").text();
|
|
| 35 |
+ if(optNm.includes('팩스')){
|
|
| 36 |
+ $('#faxPages').show();
|
|
| 37 |
+ }else{
|
|
| 38 |
+ $('#faxPages').hide();
|
|
| 39 |
+ } |
|
| 40 |
+ }); |
|
| 41 |
+ |
|
| 42 |
+ // 품목추가 Click Event |
|
| 43 |
+ $("#btnItemAdd").click(function(){
|
|
| 44 |
+ // 품목추가 |
|
| 45 |
+ setItemAdd(); |
|
| 46 |
+ }); |
|
| 47 |
+ |
|
| 48 |
+ // 품목삭제 Click Event |
|
| 49 |
+ $("#btnItemDel").click(function(){
|
|
| 50 |
+ // 품목삭제 |
|
| 51 |
+ setItemDel(); |
|
| 52 |
+ |
|
| 53 |
+ //품목추가 Html |
|
| 54 |
+ setItemAddHtml(); |
|
| 55 |
+ }); |
|
| 56 |
+ |
|
| 57 |
+ // 부가세별도 여부 Change Event |
|
| 58 |
+ $("#isVat").change(function(){
|
|
| 59 |
+ //품목추가 Html |
|
| 60 |
+ setItemAddHtml(); |
|
| 61 |
+ }); |
|
| 62 |
+ |
|
| 63 |
+ // 견적내기화면으로 이동 |
|
| 64 |
+ if (tabType == "2") {
|
|
| 65 |
+ $("#btnEstimate").trigger("click");
|
|
| 66 |
+ } |
|
| 67 |
+ |
|
| 68 |
+ //등급제 시행 ON/OFF 체크(비로그인) |
|
| 69 |
+ //getMberSettingDetailByNotLogin(); |
|
| 70 |
+ |
|
| 71 |
+ // 등급제 대상 여부 |
|
| 72 |
+ //getMberGrdChk(); |
|
| 73 |
+ |
|
| 74 |
+}); |
|
| 75 |
+ |
|
| 76 |
+//품목정보 추가 |
|
| 77 |
+function getSmsItemAdd() {
|
|
| 78 |
+ var sHtml = ""; |
|
| 79 |
+ sHtml += "<option value='" + shortPrice + "'>단문(SMS)</option>"; |
|
| 80 |
+ sHtml += "<option value='" + longPrice + "'>장문(LMS)</option>"; |
|
| 81 |
+ sHtml += "<option value='" + picturePrice + "'>그림문자(1장)</option>"; |
|
| 82 |
+ sHtml += "<option value='" + picturePrice2 + "'>그림문자(2장)</option>"; |
|
| 83 |
+ sHtml += "<option value='" + picturePrice3 + "'>그림문자(3장)</option>"; |
|
| 84 |
+ sHtml += "<option value='" + kakaoAtPrice + "'>카톡(알림톡)</option>"; |
|
| 85 |
+ sHtml += "<option value='" + faxPrice + "'>팩스</option>"; |
|
| 86 |
+ |
|
| 87 |
+ $("#smsItem").append(sHtml);
|
|
| 88 |
+ |
|
| 89 |
+ // 단가 초기값 |
|
| 90 |
+ $("#unitPrice").val($("#smsItem option:selected").val());
|
|
| 91 |
+} |
|
| 92 |
+ |
|
| 93 |
+ |
|
| 94 |
+// 품목추가 |
|
| 95 |
+function setItemAdd() {
|
|
| 96 |
+ var caseNumber = $("#caseNumber").val().trim().replaceAll(",", "");
|
|
| 97 |
+ var casePage = $("#casePage").val().trim().replaceAll(",", "");
|
|
| 98 |
+ |
|
| 99 |
+ if (caseNumber == null || caseNumber == "" || caseNumber == undefined) {
|
|
| 100 |
+ alert("건수를 입력하세요.");
|
|
| 101 |
+ return false; |
|
| 102 |
+ } |
|
| 103 |
+ else if (isNaN(caseNumber) == true) {
|
|
| 104 |
+ alert("건수는 숫자를 입력하세요.");
|
|
| 105 |
+ return false; |
|
| 106 |
+ } |
|
| 107 |
+ |
|
| 108 |
+ // 객체 생성 |
|
| 109 |
+ var data = new Object(); |
|
| 110 |
+ data.smsItemName = $("#smsItem option:selected").text(); // 품목명
|
|
| 111 |
+ data.unitPrice = $("#unitPrice").val(); // 단가
|
|
| 112 |
+ data.unitPricePlusVat = $("#unitPrice").val(); // 단가
|
|
| 113 |
+ data.caseNumber = caseNumber; // 건수 |
|
| 114 |
+ data.supplyPrice = $("#unitPrice").val() * caseNumber;
|
|
| 115 |
+ data.totPrice = $("#unitPrice").val() * caseNumber; // 금액
|
|
| 116 |
+ |
|
| 117 |
+ var itmNm = data.smsItemName |
|
| 118 |
+ if(itmNm.includes('팩스')){//팩스인 경우 매수 곱해주기
|
|
| 119 |
+ data.casePage = casePage; |
|
| 120 |
+ data.supplyPrice = $("#unitPrice").val() * (caseNumber * casePage);
|
|
| 121 |
+ data.totPrice = $("#unitPrice").val() * (caseNumber * casePage); // 금액
|
|
| 122 |
+ } |
|
| 123 |
+ |
|
| 124 |
+ // 리스트에 생성된 객체 삽입 |
|
| 125 |
+ smsList.push(data); |
|
| 126 |
+ |
|
| 127 |
+ //품목추가 Html |
|
| 128 |
+ setItemAddHtml(); |
|
| 129 |
+ } |
|
| 130 |
+ |
|
| 131 |
+//품목추가 Html |
|
| 132 |
+function setItemAddHtml() {
|
|
| 133 |
+ var isVat = $("#isVat option:selected").val();
|
|
| 134 |
+ |
|
| 135 |
+ // 부가세 케이스별 다시계산 |
|
| 136 |
+ smsList.forEach(function(element) {
|
|
| 137 |
+ var itmNm = element.smsItemName; |
|
| 138 |
+ |
|
| 139 |
+ if (isVat == 1) {
|
|
| 140 |
+ |
|
| 141 |
+ if(itmNm.includes('팩스')){//팩스인 경우 건수 * 매수에 대한 금액의 부가세를 계산해야함.
|
|
| 142 |
+ // 부가세 포함 |
|
| 143 |
+ element.vatPrice = Math.round(element.unitPrice * 0.1 * (element.caseNumber * element.casePage)); |
|
| 144 |
+ }else{
|
|
| 145 |
+ // 부가세 포함 |
|
| 146 |
+ element.vatPrice = Math.round(element.unitPrice * 0.1 * element.caseNumber); |
|
| 147 |
+ //element.unitPricePlusVat = parseInt(element.unitPrice, 10) + Math.round(element.unitPrice * 0.1); |
|
| 148 |
+ } |
|
| 149 |
+ |
|
| 150 |
+ } |
|
| 151 |
+ else {
|
|
| 152 |
+ // 부가세 별도(부가세 : 0) |
|
| 153 |
+ element.vatPrice = 0; |
|
| 154 |
+ } |
|
| 155 |
+ |
|
| 156 |
+ if(itmNm.includes('팩스')){//팩스인 경우 건수 * 매수에 대한 금액의 부가세를 계산해야함.
|
|
| 157 |
+ element.totVatPrice = (element.unitPrice * (element.caseNumber * element.casePage)) + element.vatPrice; // 금액 |
|
| 158 |
+ }else{
|
|
| 159 |
+ element.totVatPrice = (element.unitPrice * element.caseNumber) + element.vatPrice; // 금액 |
|
| 160 |
+ } |
|
| 161 |
+ }) |
|
| 162 |
+ |
|
| 163 |
+ vatSumPrice = 0; |
|
| 164 |
+ supplySumPrice = 0; |
|
| 165 |
+ totSumPrice = 0; |
|
| 166 |
+ |
|
| 167 |
+ var sHtml = ""; |
|
| 168 |
+ smsList.forEach(function(element) {
|
|
| 169 |
+ supplySumPrice += element.supplyPrice; |
|
| 170 |
+ totSumPrice += element.totPrice; |
|
| 171 |
+ |
|
| 172 |
+ sHtml += "<div class='tType3_bd'>"; |
|
| 173 |
+ sHtml += " <div>"; |
|
| 174 |
+ sHtml += " <label for='' class='label'>한 줄 전체 선택</label>"; |
|
| 175 |
+ sHtml += " <input type='checkbox' id='chkEach' name='chkEach'>"; |
|
| 176 |
+ sHtml += " </div>"; |
|
| 177 |
+ sHtml += " <div>" + element.smsItemName + "</div>"; |
|
| 178 |
+ if (isVat == 1) {
|
|
| 179 |
+ // 부가세 포함 |
|
| 180 |
+ sHtml += " <div>" + element.unitPricePlusVat + "</div>"; |
|
| 181 |
+ } |
|
| 182 |
+ else {
|
|
| 183 |
+ sHtml += " <div>" + element.unitPrice + "</div>"; |
|
| 184 |
+ } |
|
| 185 |
+ if(element.smsItemName.includes('팩스')){
|
|
| 186 |
+ sHtml += " <div>" + numberWithCommas(element.caseNumber * element.casePage) + "</div>"; |
|
| 187 |
+ } |
|
| 188 |
+ else {
|
|
| 189 |
+ sHtml += " <div>" + numberWithCommas(element.caseNumber) + "</div>"; |
|
| 190 |
+ } |
|
| 191 |
+ sHtml += " <div>" + numberWithCommas(element.supplyPrice) + "</div>"; |
|
| 192 |
+ sHtml += " <div>" + numberWithCommas(element.vatPrice) + "</div>"; |
|
| 193 |
+ sHtml += " <div>" + numberWithCommas(element.totVatPrice) + "</div>"; |
|
| 194 |
+ sHtml += "</div>"; |
|
| 195 |
+ }) |
|
| 196 |
+ |
|
| 197 |
+ $("#itemList").html(sHtml);
|
|
| 198 |
+ |
|
| 199 |
+ // Sum |
|
| 200 |
+ setEstimateSum(); |
|
| 201 |
+ } |
|
| 202 |
+ |
|
| 203 |
+// Sum |
|
| 204 |
+function setEstimateSum() {
|
|
| 205 |
+ var isVat = $("#isVat option:selected").val();
|
|
| 206 |
+ console.log("setEstimateSum")
|
|
| 207 |
+ if (isVat == 1) {
|
|
| 208 |
+ // 부가세 포함 |
|
| 209 |
+ vatSumPrice = Math.round(supplySumPrice * 0.1); |
|
| 210 |
+ totSumPrice = totSumPrice + vatSumPrice; |
|
| 211 |
+ } |
|
| 212 |
+ else {
|
|
| 213 |
+ // 부가세 별도(부가세 : 0) |
|
| 214 |
+ vatSumPrice = 0; |
|
| 215 |
+ supplySumPrice = supplySumPrice - vatSumPrice;; |
|
| 216 |
+ } |
|
| 217 |
+ |
|
| 218 |
+ $("#supplySumPriceStr").html(numberWithCommas(supplySumPrice));
|
|
| 219 |
+ $("#totSumPriceStr").html(numberWithCommas(totSumPrice));
|
|
| 220 |
+ /* if($("#isVat option:selected").val() == '0'){
|
|
| 221 |
+ $("#isVatStr").html($("#isVat option:selected").text() + '(' + numberWithCommas(vatSumPrice) + ')');
|
|
| 222 |
+ }else{
|
|
| 223 |
+ $("#isVatStr").html($("#isVat option:selected").text());
|
|
| 224 |
+ } */ |
|
| 225 |
+ $("#isVatStr").html(numberWithCommas(vatSumPrice));
|
|
| 226 |
+ |
|
| 227 |
+ $("#smsList").val(JSON.stringify(smsList));
|
|
| 228 |
+ $("#supplySumPrice").val(supplySumPrice);
|
|
| 229 |
+ $("#vatSumPrice").val(vatSumPrice);
|
|
| 230 |
+ $("#totSumPrice").val(totSumPrice);
|
|
| 231 |
+ |
|
| 232 |
+} |
|
| 233 |
+ |
|
| 234 |
+// 품목 삭제 |
|
| 235 |
+function setItemDel() {
|
|
| 236 |
+ //체크박스 체크 |
|
| 237 |
+ var smsListLen = smsList.length; |
|
| 238 |
+ while (smsListLen--) {
|
|
| 239 |
+ if ($('input[name=chkEach]').eq(smsListLen).is(':checked') == true) {
|
|
| 240 |
+ smsList.splice(smsListLen, 1); |
|
| 241 |
+ } |
|
| 242 |
+ } |
|
| 243 |
+} |
|
| 244 |
+ |
|
| 245 |
+//유효성 검사 |
|
| 246 |
+function ValidationCheck() {
|
|
| 247 |
+ var title = $("#title").val().trim();
|
|
| 248 |
+ var recipientName = $("#recipientName").val().trim();
|
|
| 249 |
+ var managerName = $("#managerName").val().trim();
|
|
| 250 |
+ var mobile = $("#mobile").val().trim();
|
|
| 251 |
+ var publishDate = $("#publishDate").val().trim();
|
|
| 252 |
+ |
|
| 253 |
+ if (title == null || title == "" || title == undefined) {
|
|
| 254 |
+ alert("제목을 입력하세요.");
|
|
| 255 |
+ $("#title").focus();
|
|
| 256 |
+ return false; |
|
| 257 |
+ } |
|
| 258 |
+ else if (recipientName == null || recipientName == "" || recipientName == undefined) {
|
|
| 259 |
+ alert("수신자(기업명)을 입력하세요.");
|
|
| 260 |
+ $("#recipientName").focus();
|
|
| 261 |
+ return false; |
|
| 262 |
+ } |
|
| 263 |
+ else if (managerName == null || managerName == "" || managerName == undefined) {
|
|
| 264 |
+ alert("담당자(성명)을 입력하세요.");
|
|
| 265 |
+ $("#managerName").focus();
|
|
| 266 |
+ return false; |
|
| 267 |
+ } |
|
| 268 |
+ else if (mobile == null || mobile == "" || mobile == undefined) {
|
|
| 269 |
+ alert("연락처를 입력하세요.");
|
|
| 270 |
+ $("#mobile").focus();
|
|
| 271 |
+ return false; |
|
| 272 |
+ } |
|
| 273 |
+ else if (publishDate == null || publishDate == "" || publishDate == undefined) {
|
|
| 274 |
+ alert("발행일을 입력하세요.");
|
|
| 275 |
+ $("#publishDate").focus();
|
|
| 276 |
+ return false; |
|
| 277 |
+ } |
|
| 278 |
+ else if (smsList.length == 0) {
|
|
| 279 |
+ alert("품목정보를 하나이상 추가해주세요.");
|
|
| 280 |
+ return false; |
|
| 281 |
+ } |
|
| 282 |
+} |
|
| 283 |
+ |
|
| 284 |
+/* 인쇄미리보기 클릭 시 견적서 새창 팝업 오픈 */ |
|
| 285 |
+function showEst() {
|
|
| 286 |
+ |
|
| 287 |
+ // 유효성 검사 |
|
| 288 |
+ if (ValidationCheck() == false) return false; |
|
| 289 |
+ |
|
| 290 |
+ //만들려는 팝업의 크기 |
|
| 291 |
+ var popup_wid = 820; |
|
| 292 |
+ var popup_ht = 900; |
|
| 293 |
+ |
|
| 294 |
+ //중앙 정렬을 위해 윈도우 스크린의 width,height 구하는 변수 만듦 |
|
| 295 |
+ var popup_left = (window.screen.width / 2) - (popup_wid / 2); |
|
| 296 |
+ var popup_top =(window.screen.height / 2) - (popup_ht / 2); |
|
| 297 |
+ |
|
| 298 |
+ // From Submit |
|
| 299 |
+ var myForm = document.popForm; |
|
| 300 |
+ var url = "/web/pay/PayEstimateAjax.do"; |
|
| 301 |
+ window.open('' ,'popForm', 'scrollbars=1, width='+ popup_wid +', height='+ popup_ht +', left=' + popup_left + ', top='+ popup_top);
|
|
| 302 |
+ myForm.action =url; |
|
| 303 |
+ myForm.method="post"; |
|
| 304 |
+ myForm.target="popForm"; |
|
| 305 |
+ myForm.testVal = 'test'; |
|
| 306 |
+ myForm.submit(); |
|
| 307 |
+} |
|
| 308 |
+ |
|
| 309 |
+function inputNumberFormatPay(obj) {
|
|
| 310 |
+ $(obj).val($(obj).val().replace(/[^0-9]/g,"")); |
|
| 311 |
+ |
|
| 312 |
+ $('#caseNumber').val(numberWithCommas(obj.value));
|
|
| 313 |
+} |
|
| 314 |
+ |
|
| 315 |
+ |
|
| 316 |
+function inputPagesNumberFormatPay(obj) {
|
|
| 317 |
+ $(obj).val($(obj).val().replace(/[^0-9]/g,"")); |
|
| 318 |
+ |
|
| 319 |
+ $(obj).val(numberWithCommas(obj.value)); |
|
| 320 |
+} |
|
| 321 |
+function inputPagesNumber(obj) {
|
|
| 322 |
+ $(obj).val($(obj).val().replace(/[^0-9]/g,"")); |
|
| 323 |
+} |
|
| 324 |
+ |
|
| 325 |
+function fn_gunClear(){
|
|
| 326 |
+ $('#caseNumber').val('');
|
|
| 327 |
+} |
|
| 328 |
+ |
|
| 329 |
+ |
|
| 330 |
+//체크박스 전체선택/해제 |
|
| 331 |
+$(document).on("click", "#chkAll", function(e) {
|
|
| 332 |
+ var isChecked = $(this).is(":checked");
|
|
| 333 |
+ $("input[name=chkEach]:checkbox").prop("checked", isChecked);
|
|
| 334 |
+}); |
|
| 335 |
+ |
|
| 336 |
+/* 윈도우팝업 열기 */ |
|
| 337 |
+function infoPop(pageUrl){
|
|
| 338 |
+ document.infoPopForm.pageType.value = pageUrl; |
|
| 339 |
+ document.infoPopForm.action = "/web/pop/infoPop.do"; |
|
| 340 |
+ document.infoPopForm.method = "post"; |
|
| 341 |
+ window.open("about:blank", 'infoPop', 'width=790, height=280, top=100, left=100, fullscreen=no, menubar=no, status=no, toolbar=no, titlebar=yes, location=no, scrollbars=1');
|
|
| 342 |
+ document.infoPopForm.target = "infoPop"; |
|
| 343 |
+ document.infoPopForm.submit(); |
|
| 344 |
+} |
|
| 345 |
+ |
|
| 346 |
+ |
|
| 347 |
+//등급제 시행 ON/OFF 체크(비로그인) |
|
| 348 |
+function getMberSettingDetailByNotLogin() {
|
|
| 349 |
+ $.ajax({
|
|
| 350 |
+ type: "POST", |
|
| 351 |
+ url: "/web/grd/mberSettDetailByNotLoginAjax.do", |
|
| 352 |
+ data: {},
|
|
| 353 |
+ dataType:'json', |
|
| 354 |
+ async: false, |
|
| 355 |
+ success: function (data) {
|
|
| 356 |
+ if (data.isSuccess) {
|
|
| 357 |
+ // 문자(등급별 요금 안내) |
|
| 358 |
+ $("#mberGrdSettingArea").show();
|
|
| 359 |
+ } |
|
| 360 |
+ else {
|
|
| 361 |
+ //alert("Msg : " + data.msg);
|
|
| 362 |
+ } |
|
| 363 |
+ }, |
|
| 364 |
+ error: function (e) {
|
|
| 365 |
+ //alert("ERROR : " + JSON.stringify(e));
|
|
| 366 |
+ } |
|
| 367 |
+ }); |
|
| 368 |
+} |
|
| 369 |
+ |
|
| 370 |
+// 등급제 대상 여부 |
|
| 371 |
+function getMberGrdChk() {
|
|
| 372 |
+ $.ajax({
|
|
| 373 |
+ type: "POST", |
|
| 374 |
+ url: "/web/grd/mberGrdChkAjax.do", |
|
| 375 |
+ data: {},
|
|
| 376 |
+ dataType:'json', |
|
| 377 |
+ async: false, |
|
| 378 |
+ success: function (data) {
|
|
| 379 |
+ if (data.isSuccess) {
|
|
| 380 |
+ // 등급제 누적결제액 세부내역 |
|
| 381 |
+ $("#grdShowArea").html("(등급 : " + data.rtnMberGrdVO.grdSetNm + ")");
|
|
| 382 |
+ $("#levelSubTitle").html("(" + data.rtnMberGrdVO.grdDate + " ~ 현재)");
|
|
| 383 |
+ } |
|
| 384 |
+ else {
|
|
| 385 |
+ //alert("Msg : " + data.msg);
|
|
| 386 |
+ } |
|
| 387 |
+ }, |
|
| 388 |
+ error: function (e) {
|
|
| 389 |
+ //alert("ERROR : " + JSON.stringify(e));
|
|
| 390 |
+ } |
|
| 391 |
+ }); |
|
| 392 |
+} |
|
| 393 |
+ |
|
| 394 |
+</script> |
|
| 395 |
+ |
|
| 396 |
+<form name="popForm" method="post"> |
|
| 397 |
+ <input type="hidden" name="smsList" id="smsList" value="" /> |
|
| 398 |
+ <input type="hidden" name="supplySumPrice" id="supplySumPrice" value="" /> |
|
| 399 |
+ <input type="hidden" name="vatSumPrice" id="vatSumPrice" value="" /> |
|
| 400 |
+ <input type="hidden" name="totSumPrice" id="totSumPrice" value="" /> |
|
| 401 |
+ |
|
| 402 |
+ <!-- content 영역 --> |
|
| 403 |
+ <div class="inner"> |
|
| 404 |
+ <!-- send top --> |
|
| 405 |
+ <div class="send_top"> |
|
| 406 |
+ <!-- tab button --> |
|
| 407 |
+ <ul class="tabType4"> |
|
| 408 |
+ <li class="tab active"><button type="button">요금안내/견적내기</button></li> |
|
| 409 |
+ <li class="tab"><button type="button" onclick="location.href='/web/member/pay/PayView.do'">결제하기</button></li> |
|
| 410 |
+ <li class="tab"><button type="button" onclick="location.href='/web/member/pay/PayList.do'">요금 결제내역</button></li> |
|
| 411 |
+ <li class="tab"><button type="button" onclick="location.href='/web/member/pay/payUserSWList.do'">요금 사용내역</button></li> |
|
| 412 |
+ <li class="tab"><button type="button" onclick="location.href='/web/member/pay/BillPub.do'">세금계산서 발행 등록</button></li> |
|
| 413 |
+ </ul> |
|
| 414 |
+ <!--// tab button --> |
|
| 415 |
+ <!-- 결제관리 - 요금안내/견적내기 --> |
|
| 416 |
+ <div class="serv_content charg_cont current" id="tab5_1"> |
|
| 417 |
+ <div class="heading"> |
|
| 418 |
+ <h2>요금안내/견적내기</h2> |
|
| 419 |
+ <button type="button" class="button info" onclick="infoPop('PayGuide');">사용안내</button>
|
|
| 420 |
+ </div> |
|
| 421 |
+ <!-- tab button --> |
|
| 422 |
+ <div class="pay_tab_wrap"> |
|
| 423 |
+ <ul class="tabType1"> |
|
| 424 |
+ <li class="tab active"> |
|
| 425 |
+ <button type="button" onclick="TabType1(this,'1')">요금안내</button> |
|
| 426 |
+ </li> |
|
| 427 |
+ <li class="tab"> |
|
| 428 |
+ <button type="button" onclick="TabType1(this,'2')" id="btnEstimate">견적내기</button> |
|
| 429 |
+ </li> |
|
| 430 |
+ </ul> |
|
| 431 |
+ </div> |
|
| 432 |
+ <!--// tab button --> |
|
| 433 |
+ <!-- 결제관리 - 요금안내/견적내기 - 요금안내 --> |
|
| 434 |
+ <div class="fee_cont current fee_wrap" id="tab1_1"> |
|
| 435 |
+ <div> |
|
| 436 |
+ <p class="tType1_title"> |
|
| 437 |
+ <img src="/publish/images/content/icon_fee1.png" alt="문자이미지"> 문자<span class="level_first" id="grdShowArea"></span> |
|
| 438 |
+ </p> |
|
| 439 |
+ <table class="tType2"> |
|
| 440 |
+ <caption></caption> |
|
| 441 |
+ <colgroup> |
|
| 442 |
+ <col style="width: 18%;"> |
|
| 443 |
+ <col style="width: auto;"> |
|
| 444 |
+ <col style="width: 32%;"> |
|
| 445 |
+ </colgroup> |
|
| 446 |
+ <thead> |
|
| 447 |
+ <tr> |
|
| 448 |
+ <th>구분</th> |
|
| 449 |
+ <th>특징</th> |
|
| 450 |
+ <th>가격</th> |
|
| 451 |
+ </tr> |
|
| 452 |
+ </thead> |
|
| 453 |
+ <tbody> |
|
| 454 |
+ <tr> |
|
| 455 |
+ <th>단문(SMS)</th> |
|
| 456 |
+ <td>90Byte 이하 단문 메시지(이미지 첨부 불가)</td> |
|
| 457 |
+ <td><span>${shortPrice}</span>원</td>
|
|
| 458 |
+ </tr> |
|
| 459 |
+ <tr> |
|
| 460 |
+ <th>장문(LMS)</th> |
|
| 461 |
+ <td>91~2,000Byte 이하 장문메시지(이미지 첨부 불가)</td> |
|
| 462 |
+ <td><span>${longPrice}</span>원</td>
|
|
| 463 |
+ </tr> |
|
| 464 |
+ <tr> |
|
| 465 |
+ <th>그림문자(MMS)</th> |
|
| 466 |
+ <td>2,000Byte 이하 문자 및 이미지를 포함하는그림메시지(이미지 최대 3장 첨부 가능) </td> |
|
| 467 |
+ <td>1장 : <span>${picturePrice}</span>원 / 2장 : <span>${picturePrice2}<span>원/ 3장 : <span>${picturePrice3}</span>원</td>
|
|
| 468 |
+ </tr> |
|
| 469 |
+ </tbody> |
|
| 470 |
+ </table> |
|
| 471 |
+ <span class="reqTxt4">* 텍스트 용량(Byte)에 대한 안내 : 한글2Byte, 영문·숫자 1Byte를 차지.</span> |
|
| 472 |
+ |
|
| 473 |
+ <!--문자_등급별 요금 안내 추가 시작--> |
|
| 474 |
+ <div id="mberGrdSettingArea" style="display: none;"> |
|
| 475 |
+ <p class="tType1_title level"><img src="/publish/images/content/icon_fee1.png" alt="문자이미지"> 문자<span>(등급별 요금 안내)</span></p> |
|
| 476 |
+ <table class="tType2 tType2_level"> |
|
| 477 |
+ <caption></caption> |
|
| 478 |
+ <colgroup> |
|
| 479 |
+ <col style="width: 13%;"> |
|
| 480 |
+ <col style="width: auto;"> |
|
| 481 |
+ <col style="width: 11%;"> |
|
| 482 |
+ <col style="width: 11%;"> |
|
| 483 |
+ <col style="width: 11%;"> |
|
| 484 |
+ <col style="width: 11%;"> |
|
| 485 |
+ <col style="width: 11%;"> |
|
| 486 |
+ </colgroup> |
|
| 487 |
+ <thead> |
|
| 488 |
+ <tr> |
|
| 489 |
+ <th>등급</th> |
|
| 490 |
+ <th class="th_second">누적결제액<span id="levelSubTitle"></span></th> |
|
| 491 |
+ <th>단문</th> |
|
| 492 |
+ <th>장문</th> |
|
| 493 |
+ <th>그림(1장)</th> |
|
| 494 |
+ <th>그림(2장)</th> |
|
| 495 |
+ <th>그림(3장)</th> |
|
| 496 |
+ </tr> |
|
| 497 |
+ </thead> |
|
| 498 |
+ <tbody> |
|
| 499 |
+ <c:forEach var="result" items="${mberGrdSettingList}" varStatus="status">
|
|
| 500 |
+ <tr class="level_table"> |
|
| 501 |
+ <th><c:out value="${result.grdSetNm}"/></th>
|
|
| 502 |
+ <td class="level_price"><c:out value="${result.stdAmtComma}"/></td>
|
|
| 503 |
+ <td><c:out value="${result.shortPrice}"/></td>
|
|
| 504 |
+ <td><c:out value="${result.longPrice}"/></td>
|
|
| 505 |
+ <td><c:out value="${result.picturePrice}"/></td>
|
|
| 506 |
+ <td><c:out value="${result.picture2Price}"/></td>
|
|
| 507 |
+ <td><c:out value="${result.picture3Price}"/></td>
|
|
| 508 |
+ </tr> |
|
| 509 |
+ </c:forEach> |
|
| 510 |
+ </tbody> |
|
| 511 |
+ </table> |
|
| 512 |
+ <span class="reqTxt4"> |
|
| 513 |
+ * 등급별 요금제는 당사의 정책 및 운영의 필요상 수정, 중단 또는 변경될 수 있습니다. <br> |
|
| 514 |
+ * 누적결제액은 등급별 요금제 적용일로부터 적립된 결제금액을 말하며, 누적결제액에 따라 등급은 자동으로 적용됩니다. <br> |
|
| 515 |
+ * "첫결제 이벤트" 등 이벤트 결제금액은 등급별 요금제 누적결제액에서 제외됩니다. <br> |
|
| 516 |
+ </span> |
|
| 517 |
+ <p class="reqTxt4 reqTxt4_last"> |
|
| 518 |
+ * 문자피싱, 스미싱, 주식, 도박, 로또, 스팸, 사기, 협박, 범죄, 유사투자, 유사수신 등을 목적으로 하거나 교사 또는 방조하는 내용의 정보, 발신번호 조작 등으로 인지되는 문자에 대해서는 사전 또는 즉시 발송을 차단하고 |
|
| 519 |
+ 이용을 정지시킬 수 있으며, 이에 대한 어떠한 환불이나 보상을 실시하지 않습니다. 또한, 상기 문자를 발송한 회원에 대해서는 그 즉시 등급별 요금제 혜택을 취소합니다. |
|
| 520 |
+ </p> |
|
| 521 |
+ </div> |
|
| 522 |
+ <!--문자_등급별 요금 안내 추가 끝--> |
|
| 523 |
+ |
|
| 524 |
+ <p class="tType1_title"><img src="/publish/images/content/icon_fee2.png" alt="알림톡 아이콘 이미지"> 알림톡</p> |
|
| 525 |
+ <table class="tType2"> |
|
| 526 |
+ <colgroup> |
|
| 527 |
+ <col style="width: 20%;"> |
|
| 528 |
+ <col style="width: 60%;"> |
|
| 529 |
+ <col style="width: 20%;"> |
|
| 530 |
+ </colgroup> |
|
| 531 |
+ <thead> |
|
| 532 |
+ <tr> |
|
| 533 |
+ <th>구분</th> |
|
| 534 |
+ <th>특징</th> |
|
| 535 |
+ <th>가격</th> |
|
| 536 |
+ </tr> |
|
| 537 |
+ </thead> |
|
| 538 |
+ <tbody> |
|
| 539 |
+ <tr> |
|
| 540 |
+ <th>알림톡</th> |
|
| 541 |
+ <td>카카오톡을 통해 친구 추가 여부와 관계 없이 휴대폰 번호로 발송이 가능한 정보성 메시지<br>(1,000자 이하의 텍스트 및 이미지 중 카카오 사전 승인 건에 한하여 발송 가능)</td> |
|
| 542 |
+ <td>1장 : <span>${kakaoAtPrice}</span>원</td>
|
|
| 543 |
+ </tr> |
|
| 544 |
+ </tbody> |
|
| 545 |
+ </table> |
|
| 546 |
+ <span class="reqTxt4">* 텍스트 용량(Byte)에 대한 안내 : 한글2Byte, 영문·숫자 1Byte를 차지.</span> |
|
| 547 |
+ |
|
| 548 |
+ <p class="tType1_title"><img src="/publish/images/content/icon_fee_fax.png" alt="팩스 아이콘 이미지"> 팩스</p> |
|
| 549 |
+ <table class="tType2"> |
|
| 550 |
+ <colgroup> |
|
| 551 |
+ <col style="width: 20%;"> |
|
| 552 |
+ <col style="width: 60%;"> |
|
| 553 |
+ <col style="width: 20%;"> |
|
| 554 |
+ </colgroup> |
|
| 555 |
+ <thead> |
|
| 556 |
+ <tr> |
|
| 557 |
+ <th>구분</th> |
|
| 558 |
+ <th>특징(전송가능확장자)</th> |
|
| 559 |
+ <th>가격</th> |
|
| 560 |
+ </tr> |
|
| 561 |
+ </thead> |
|
| 562 |
+ <tbody> |
|
| 563 |
+ <tr> |
|
| 564 |
+ <th>팩스</th> |
|
| 565 |
+ <td>전송 가능 파일(hwp, pdf, ppt, xls, xlsx, doc, jpg, jpeg, bmp, txt, gif, hwpml, tif, gul)</td> |
|
| 566 |
+ <td>1매 : <span>${faxPrice}</span>원</td>
|
|
| 567 |
+ </tr> |
|
| 568 |
+ </tbody> |
|
| 569 |
+ </table> |
|
| 570 |
+ |
|
| 571 |
+ <p class="tType1_title"><img src="/publish/images/content/icon_fee3.png" alt="그림문자 맞춤제작 이미지"> 그림문자 맞춤제작</p> |
|
| 572 |
+ <table class="tType2"> |
|
| 573 |
+ <caption></caption> |
|
| 574 |
+ <colgroup> |
|
| 575 |
+ <col style="width: 80%;"> |
|
| 576 |
+ <col style="width: 20%;"> |
|
| 577 |
+ </colgroup> |
|
| 578 |
+ <thead> |
|
| 579 |
+ <tr> |
|
| 580 |
+ <th>구분</th> |
|
| 581 |
+ <th>가격</th> |
|
| 582 |
+ </tr> |
|
| 583 |
+ </thead> |
|
| 584 |
+ <tbody> |
|
| 585 |
+ <tr> |
|
| 586 |
+ <th>문자온 샘플 수정(글자, 색상, 폰트 등)</th> |
|
| 587 |
+ <td><span>${customSamplePrice}</span>원</td>
|
|
| 588 |
+ </tr> |
|
| 589 |
+ <tr> |
|
| 590 |
+ <th>이미지 편집(첨부이미지 1장)</th> |
|
| 591 |
+ <td><span>${customEditPrice}</span>원</td>
|
|
| 592 |
+ </tr> |
|
| 593 |
+ <tr> |
|
| 594 |
+ <th>이미지 편집(첨부이미지 3장이하)</th> |
|
| 595 |
+ <td><span>${customEdit3Price}</span>원</td>
|
|
| 596 |
+ </tr> |
|
| 597 |
+ <tr> |
|
| 598 |
+ <th>텍스트 단순수정</th> |
|
| 599 |
+ <td><span>${customTextPrice}</span>원</td>
|
|
| 600 |
+ </tr> |
|
| 601 |
+ </tbody> |
|
| 602 |
+ </table> |
|
| 603 |
+ <span class="reqTxt4">* 텍스트 단순수정 요청은 맞춤제작이 완료된 그림문자의 수정 시에만 가능합니다.</span> |
|
| 604 |
+ |
|
| 605 |
+ <div class="banner"> |
|
| 606 |
+ <p>대량발송 고객 가격협의 가능</p> |
|
| 607 |
+ <ul> |
|
| 608 |
+ <li><img src="/publish/images/content/banner_call01.png" alt=""><p>전화 <strong>1551-8011</strong><p></li> |
|
| 609 |
+ <li><img src="/publish/images/content/banner_email01.png" alt=""><p>이메일<span>help@iten.co.kr</span> <button type="button" onclick="location.href='mailto:help@iten.co.kr'">상담하기</button></li> |
|
| 610 |
+ <li><img src="/publish/images/content/banner_kakao01.png" alt=""><p>카카오톡<span>munjaon</span><a href="http://pf.kakao.com/_PxoTtb/chat" target="_blank">상담하기</a><p></li> |
|
| 611 |
+ </ul> |
|
| 612 |
+ </div> |
|
| 613 |
+ </div> |
|
| 614 |
+ </div> |
|
| 615 |
+ <!--// 결제관리 - 요금안내/견적내기 - 요금안내 --> |
|
| 616 |
+ |
|
| 617 |
+ <!-- 결제관리 - 요금안내/견적내기 - 견적내기 --> |
|
| 618 |
+ <div class="fee_cont" id="tab1_2"> |
|
| 619 |
+ <ul class="clause_list"> |
|
| 620 |
+ <li class="list_open on"> |
|
| 621 |
+ <div class="clause_list_head"> |
|
| 622 |
+ <div class="list_head_in"> |
|
| 623 |
+ <span><i></i>요금안내</span> |
|
| 624 |
+ <button type="button" onclick="clause_list(this);"><i></i></button> |
|
| 625 |
+ </div> |
|
| 626 |
+ </div> |
|
| 627 |
+ <div class="clause_list_body"> |
|
| 628 |
+ <table class="refund_info"> |
|
| 629 |
+ <caption>요금 안내</caption> |
|
| 630 |
+ <colgroup> |
|
| 631 |
+ <col style="width: 13%;"> |
|
| 632 |
+ <col style="width: auto;"> |
|
| 633 |
+ <col style="width: 25%;"> |
|
| 634 |
+ </colgroup> |
|
| 635 |
+ <thead> |
|
| 636 |
+ <tr> |
|
| 637 |
+ <th>구분</th> |
|
| 638 |
+ <th>특징</th> |
|
| 639 |
+ <th>금액</th> |
|
| 640 |
+ </tr> |
|
| 641 |
+ </thead> |
|
| 642 |
+ <tbody> |
|
| 643 |
+ <tr> |
|
| 644 |
+ <td>단문(SMS)</td> |
|
| 645 |
+ <td>90Byte 이하 단문 메시지(이미지 첨부 불가)</td> |
|
| 646 |
+ <td><span>${shortPrice}</span>원</td>
|
|
| 647 |
+ </tr> |
|
| 648 |
+ <tr> |
|
| 649 |
+ <td>장문(LMS)</td> |
|
| 650 |
+ <td>91~2,000Byte 이하 장문메시지(이미지 첨부 불가)</td> |
|
| 651 |
+ <td><span>${longPrice}</span>원</td>
|
|
| 652 |
+ <tr> |
|
| 653 |
+ <td>그림문자(MMS)</td> |
|
| 654 |
+ <td>2,000Byte 이하 문자 및 이미지를 포함하는 그림메시지(이미지 최대 3장 첨부 가능)</td> |
|
| 655 |
+ <td>1장 : <span>${picturePrice}</span>원 / 2장 : <span>${picturePrice2}</span>원 / 3장 : <span>${picturePrice3}</span>원</td>
|
|
| 656 |
+ </tr> |
|
| 657 |
+ <tr> |
|
| 658 |
+ <td>카카오(알림톡)</td> |
|
| 659 |
+ <td>카카오톡을 통해 친구 추가 여부와 관계 없이 휴대폰 번호로 발송이 가능한 정보성 메시지(1,000자 이하의 텍스트 및 이미지 중 카카오 사전 승인 건에 한하여 발송 가능)</td> |
|
| 660 |
+ <td><span>${kakaoAtPrice}</span>원</td>
|
|
| 661 |
+ </tr> |
|
| 662 |
+ <tr> |
|
| 663 |
+ <td>팩스</td> |
|
| 664 |
+ <td>전송 가능 파일(hwp, pdf, ppt, xls, xlsx, doc, jpg, jpeg, bmp, txt, gif, hwpml, tif, htm, html, gul)</td> |
|
| 665 |
+ <td><span>${faxPrice}</span>원</td>
|
|
| 666 |
+ </tr> |
|
| 667 |
+ <tr> |
|
| 668 |
+ <td>맞춤제작</td> |
|
| 669 |
+ <td>문자온 샘플 수정(글자, 색상, 폰트 등)</td> |
|
| 670 |
+ <td><span>${customSamplePrice}</span>원</td>
|
|
| 671 |
+ </tr> |
|
| 672 |
+ <tr> |
|
| 673 |
+ <td>맞춤제작</td> |
|
| 674 |
+ <td>이미지 편집(첨부이미지 1장)</td> |
|
| 675 |
+ <td><span>${customEditPrice}</span>원</td>
|
|
| 676 |
+ </tr> |
|
| 677 |
+ <tr> |
|
| 678 |
+ <td>맞춤제작</td> |
|
| 679 |
+ <td>이미지 편집(첨부이미지 3장이하)</td> |
|
| 680 |
+ <td><span>${customEdit3Price}</span>원</td>
|
|
| 681 |
+ </tr> |
|
| 682 |
+ <tr> |
|
| 683 |
+ <td>맞춤제작</td> |
|
| 684 |
+ <td>텍스트 단순수정</td> |
|
| 685 |
+ <td><span>${customTextPrice}</span>원</td>
|
|
| 686 |
+ </tr> |
|
| 687 |
+ </tbody> |
|
| 688 |
+ </table> |
|
| 689 |
+ </div> |
|
| 690 |
+ </li> |
|
| 691 |
+ </ul> |
|
| 692 |
+ <div> |
|
| 693 |
+ <p class="tType1_title">일반정보</p> |
|
| 694 |
+ <table class="tType1"> |
|
| 695 |
+ <caption></caption> |
|
| 696 |
+ <colgroup> |
|
| 697 |
+ <col style="width: 150px;"> |
|
| 698 |
+ <col style="width: auto;"> |
|
| 699 |
+ </colgroup> |
|
| 700 |
+ <tbody> |
|
| 701 |
+ <tr> |
|
| 702 |
+ <th>제목</th> |
|
| 703 |
+ <td> |
|
| 704 |
+ <label for="" class="label">견적내기 제목</label> |
|
| 705 |
+ <input type="text" id="title" name="title" placeholder="견적서" onfocus="this.placeholder=''" onblur="this.placeholder='견적서'" style="width: 400px;" maxlength="20"> |
|
| 706 |
+ </td> |
|
| 707 |
+ </tr> |
|
| 708 |
+ <tr> |
|
| 709 |
+ <th>수신자(기업명)</th> |
|
| 710 |
+ <td> |
|
| 711 |
+ <label for="" class="label">수신자(기업명) 입력</label> |
|
| 712 |
+ <input type="text" id="recipientName" name="recipientName" style="width: 400px;" maxlength="18"> |
|
| 713 |
+ </td> |
|
| 714 |
+ </tr> |
|
| 715 |
+ <tr> |
|
| 716 |
+ <th>담당자(성명)</th> |
|
| 717 |
+ <td> |
|
| 718 |
+ <label for="" class="label">담당자(성명) 입력</label> |
|
| 719 |
+ <input type="text" id="managerName" name="managerName" style="width: 400px;" maxlength="18"> |
|
| 720 |
+ </td> |
|
| 721 |
+ </tr> |
|
| 722 |
+ <tr> |
|
| 723 |
+ <th>연락처</th> |
|
| 724 |
+ <td> |
|
| 725 |
+ <label for="" class="label">연락처 입력</label> |
|
| 726 |
+ <input type="text" onkeyup="inputPagesNumber(this)"; maxlength="11" id="mobile" name="mobile" style="width: 400px;"> |
|
| 727 |
+ </td> |
|
| 728 |
+ </tr> |
|
| 729 |
+ <tr> |
|
| 730 |
+ <th>발행일</th> |
|
| 731 |
+ <td> |
|
| 732 |
+ <div class="calendar_wrap"> |
|
| 733 |
+ <input type="text" class="calendar" title="발행일" id="publishDate" name="publishDate"> |
|
| 734 |
+ </div> |
|
| 735 |
+ </td> |
|
| 736 |
+ </tr> |
|
| 737 |
+ </tbody> |
|
| 738 |
+ </table> |
|
| 739 |
+ |
|
| 740 |
+ <p class="tType1_title">품목정보</p> |
|
| 741 |
+ <table class="tType1 itemInfo"> |
|
| 742 |
+ <caption></caption> |
|
| 743 |
+ <colgroup> |
|
| 744 |
+ <col style="width: 150px;"> |
|
| 745 |
+ <col style="width: auto;"> |
|
| 746 |
+ </colgroup> |
|
| 747 |
+ <tbody> |
|
| 748 |
+ <tr> |
|
| 749 |
+ <th>구분</th> |
|
| 750 |
+ <td> |
|
| 751 |
+ <label for="" class="label">품목 선택</label> |
|
| 752 |
+ <select id="smsItem" name="smsItem" onchange="fn_gunClear();" style="width: 210px;"> |
|
| 753 |
+ </select> |
|
| 754 |
+ <label for="" class="label">품목 별 단가</label> |
|
| 755 |
+ <input type="text" id="unitPrice" name="unitPrice" value="0" placeholder="" readonly class="readonly"> |
|
| 756 |
+ <p class="input_in">원</p> |
|
| 757 |
+ </td> |
|
| 758 |
+ </tr> |
|
| 759 |
+ <tr> |
|
| 760 |
+ <th>건수</th> |
|
| 761 |
+ <td class="publish_btn"> |
|
| 762 |
+ <label for="" class="label">건수 입력</label> |
|
| 763 |
+ <input type="text" id="caseNumber" numberOnly maxlength="10" name="caseNumber" style="width: 210px;" onkeyup="inputNumberFormatPay(this)"> |
|
| 764 |
+ <p class="input_in">건</p> |
|
| 765 |
+ <div> |
|
| 766 |
+ <button type="button" class="btnType" id="btnItemAdd">품목추가<i class="arrow_img"></i></button> |
|
| 767 |
+ </div> |
|
| 768 |
+ </td> |
|
| 769 |
+ </tr> |
|
| 770 |
+ <tr id="faxPages" style="display:none;"> |
|
| 771 |
+ <th>매수</th> |
|
| 772 |
+ <td class="publish_btn"> |
|
| 773 |
+ <label for="" class="label">매수 입력</label> |
|
| 774 |
+ <input type="text" id="casePage" name="casePage" style="width: 210px;" onkeyup="inputPagesNumberFormatPay(this)"> |
|
| 775 |
+ <p class="input_in">매</p> |
|
| 776 |
+ </td> |
|
| 777 |
+ </tr> |
|
| 778 |
+ </tbody> |
|
| 779 |
+ </table> |
|
| 780 |
+ <div class="search_group_bottom2"> |
|
| 781 |
+ <div class="btnWrap1"> |
|
| 782 |
+ <button type="button" class="btnType" id="btnItemDel"><i class="remove_img"></i>선택삭제</button> |
|
| 783 |
+ </div> |
|
| 784 |
+ </div> |
|
| 785 |
+ <!-- table --> |
|
| 786 |
+ <div class="tType3 payDetail"> |
|
| 787 |
+ <!-- thead --> |
|
| 788 |
+ <div class="tType3_hd"> |
|
| 789 |
+ <div> |
|
| 790 |
+ <label for="" class="label">전체 선택</label> |
|
| 791 |
+ <input type="checkbox" id="chkAll"> |
|
| 792 |
+ </div> |
|
| 793 |
+ <div>품목</div> |
|
| 794 |
+ <div>단가(원)</div> |
|
| 795 |
+ <div>건수(건)</div> |
|
| 796 |
+ <div>공급가액(원)</div> |
|
| 797 |
+ <div>세액(부가세)</div> |
|
| 798 |
+ <div>금액(원)</div> |
|
| 799 |
+ </div> |
|
| 800 |
+ <!-- tbody --> |
|
| 801 |
+ <div class="tType3_bd_wrap" id="itemList"> |
|
| 802 |
+ <div class="tType3_bd"> |
|
| 803 |
+ <div></div> |
|
| 804 |
+ <div></div> |
|
| 805 |
+ <div></div> |
|
| 806 |
+ <div></div> |
|
| 807 |
+ <div></div> |
|
| 808 |
+ <div></div> |
|
| 809 |
+ <div></div> |
|
| 810 |
+ </div> |
|
| 811 |
+ </div> |
|
| 812 |
+ </div> |
|
| 813 |
+ <!--// table --> |
|
| 814 |
+ <div class="tb_wrap totalPrice_tb"> |
|
| 815 |
+ <table class="tType4"> |
|
| 816 |
+ <colgroup> |
|
| 817 |
+ <col style="width: 25%;"> |
|
| 818 |
+ <col style="width: 25%;"> |
|
| 819 |
+ <col style="width: 30%;"> |
|
| 820 |
+ <col style="width: 15%;"> |
|
| 821 |
+ </colgroup> |
|
| 822 |
+ <thead> |
|
| 823 |
+ <tr> |
|
| 824 |
+ <th>공급가액</th> |
|
| 825 |
+ <th>세액(부가세)</th> |
|
| 826 |
+ <th>합계</th> |
|
| 827 |
+ <th>비고</th> |
|
| 828 |
+ </tr> |
|
| 829 |
+ </thead> |
|
| 830 |
+ <tbody> |
|
| 831 |
+ <tr> |
|
| 832 |
+ <td> |
|
| 833 |
+ <span id="supplySumPriceStr"></span> |
|
| 834 |
+ </td> |
|
| 835 |
+ <td> |
|
| 836 |
+ <span id="isVatStr"></span> |
|
| 837 |
+ </td> |
|
| 838 |
+ <td> |
|
| 839 |
+ <span id="totSumPriceStr"></span> |
|
| 840 |
+ </td> |
|
| 841 |
+ <td style="text-align: center;"> |
|
| 842 |
+ <label for="" class="label">부가세 포함,별도 선택</label> |
|
| 843 |
+ <select id="isVat" name="isVat" class="selType2"> |
|
| 844 |
+ <option value="0">부가세 별도</option> |
|
| 845 |
+ <option value="1" selected>부가세 포함</option> |
|
| 846 |
+ </select> |
|
| 847 |
+ </td> |
|
| 848 |
+ </tr> |
|
| 849 |
+ </tbody> |
|
| 850 |
+ </table> |
|
| 851 |
+ </div> |
|
| 852 |
+ <!-- //주소록리스트 --> |
|
| 853 |
+ <div style="text-align: center;"> |
|
| 854 |
+ <button class="btnType btnType16" onclick="showEst(); return false;">발행하기</button> |
|
| 855 |
+ </div> |
|
| 856 |
+ </div> |
|
| 857 |
+ </div> |
|
| 858 |
+ <!-- 결제관리 - 요금안내/견적내기 - 견적내기 --> |
|
| 859 |
+ </div> |
|
| 860 |
+ </div> |
|
| 861 |
+ <!-- 결제관리 - 요금안내/견적내기 --> |
|
| 862 |
+ </div> |
|
| 863 |
+ <!--// send top --> |
|
| 864 |
+</form> |
|
| 865 |
+<form name="infoPopForm" id="infoPopForm" method="post"> |
|
| 866 |
+ <input type="hidden" name="pageType" id="pageType" value=""/> |
|
| 867 |
+</form> |
--- src/main/webapp/WEB-INF/jsp/web/pay/PayList.jsp
+++ src/main/webapp/WEB-INF/jsp/web/pay/PayList.jsp
... | ... | @@ -176,7 +176,7 @@ |
| 176 | 176 |
<li class="tab"><button type="button" onclick="location.href='/web/pay/PayGuide.do'">요금안내/견적내기</button></li> |
| 177 | 177 |
<li class="tab"><button type="button" onclick="location.href='/web/member/pay/PayView.do'">결제하기</button></li> |
| 178 | 178 |
<li class="tab active"><button type="button" >요금 결제내역</button></li> |
| 179 |
- <li class="tab"><button type="button" onclick="location.href='/web/member/pay/PayUserSWList.do'">요금 사용내역</button></li> |
|
| 179 |
+ <li class="tab"><button type="button" onclick="location.href='/web/member/pay/payUserSWList.do'">요금 사용내역</button></li> |
|
| 180 | 180 |
<!-- 현금영수증 자동발행 주석 --> |
| 181 | 181 |
<!-- <li class="tab"><button type="button" onclick="location.href='/web/member/pay/BillPub.do'">계산서/현금영수증 발행 등록</button></li> --> |
| 182 | 182 |
<li class="tab"><button type="button" onclick="location.href='/web/member/pay/BillPub.do'">세금계산서 발행 등록</button></li> |
--- src/main/webapp/WEB-INF/jsp/web/pay/PayUserSWList.jsp
+++ src/main/webapp/WEB-INF/jsp/web/pay/PayUserSWList.jsp
... | ... | @@ -75,7 +75,7 @@ |
| 75 | 75 |
|
| 76 | 76 |
document.listForm.pageIndex.value = pageNo; |
| 77 | 77 |
var sendData= $(document.listForm).serializeArray(); |
| 78 |
- $("#payUserListLoad").load("/web/member/pay/PayUserSWListAjax.do", sendData ,function(response, status, xhr){
|
|
| 78 |
+ $("#payUserListLoad").load("/web/member/pay/payUserSWListAjax.do", sendData ,function(response, status, xhr){
|
|
| 79 | 79 |
}); |
| 80 | 80 |
} |
| 81 | 81 |
|
... | ... | @@ -85,7 +85,7 @@ |
| 85 | 85 |
|
| 86 | 86 |
document.listForm.pageIndex.value = pageNo; |
| 87 | 87 |
var sendData= $(document.listForm).serializeArray(); |
| 88 |
- $("#payUserListLoad").load("/web/member/pay/PayUserSWListAjax.do", sendData ,function(response, status, xhr){
|
|
| 88 |
+ $("#payUserListLoad").load("/web/member/pay/payUserSWListAjax.do", sendData ,function(response, status, xhr){
|
|
| 89 | 89 |
}); |
| 90 | 90 |
} |
| 91 | 91 |
|
--- src/main/webapp/WEB-INF/jsp/web/pay/PayView.jsp
+++ src/main/webapp/WEB-INF/jsp/web/pay/PayView.jsp
... | ... | @@ -817,7 +817,7 @@ |
| 817 | 817 |
<li class="tab"><button type="button" onclick="location.href='/web/pay/PayGuide.do'">요금안내/견적내기</button></li> |
| 818 | 818 |
<li class="tab active"><button type="button">결제하기</button></li> |
| 819 | 819 |
<li class="tab"><button type="button" onclick="location.href='/web/member/pay/PayList.do'">요금 결제내역</button></li> |
| 820 |
- <li class="tab"><button type="button" onclick="location.href='/web/member/pay/PayUserSWList.do'">요금 사용내역</button></li> |
|
| 820 |
+ <li class="tab"><button type="button" onclick="location.href='/web/member/pay/payUserSWList.do'">요금 사용내역</button></li> |
|
| 821 | 821 |
<!-- 현금영수증 자동발행 주석 --> |
| 822 | 822 |
<!-- <li class="tab"><button type="button" onclick="location.href='/web/member/pay/BillPub.do'">계산서/현금영수증 발행 등록</button></li> --> |
| 823 | 823 |
<li class="tab"><button type="button" onclick="location.href='/web/member/pay/BillPub.do'">세금계산서 발행 등록</button></li> |
--- src/main/webapp/WEB-INF/jsp/web/user/mberInfoIndex.jsp
+++ src/main/webapp/WEB-INF/jsp/web/user/mberInfoIndex.jsp
... | ... | @@ -669,7 +669,7 @@ |
| 669 | 669 |
</c:otherwise> |
| 670 | 670 |
</c:choose> |
| 671 | 671 |
|
| 672 |
- <button type="button" onclick="location.href='/web/member/pay/PayUserSWList.do';"> |
|
| 672 |
+ <button type="button" onclick="location.href='/web/member/pay/payUserSWList.do';"> |
|
| 673 | 673 |
<img src="/publish/images/content/mypage_plus.png" alt="더보기"> |
| 674 | 674 |
</button> |
| 675 | 675 |
<div class="table_wrap" id="send_reserv"> |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?