자료정보
@@ -266,10 +266,6 @@ $(document).ready(function() {
-
-
- 대출신청/예약 내역은 [마이페이지 > 대출관리]에서 확인하실 수 있습니다.
- 주어진 기한 안에 방문하지 않는 경우, 신청/예약이 자동 취소됩니다.
diff --git a/src/main/webapp/WEB-INF/jsp/nlib/rent/listRentItems.jsp b/src/main/webapp/WEB-INF/jsp/nlib/rent/listRentItems.jsp
index 10759e8b..d0b3b576 100644
--- a/src/main/webapp/WEB-INF/jsp/nlib/rent/listRentItems.jsp
+++ b/src/main/webapp/WEB-INF/jsp/nlib/rent/listRentItems.jsp
@@ -142,7 +142,9 @@ function fn_search(bookLtRvStatusCd) {
if(obj.bookLtRvStatusCd == null) {
statusHtml = "";
} else if(obj.bookLtRvStatusCd.startsWith("A")) {
- statusHtml = "
";
+ if(obj.rsrvDivCd == "2") obj.bookLtRvStatusNm = "예약";
+ else obj.bookLtRvStatusNm = "신청";
+ statusHtml = "
";
} else if(obj.bookLtRvStatusCd.startsWith("R")) {
statusHtml = "
" + gfn_formatDateStr(obj.rtnDd,"-") + "";
}
diff --git a/src/main/webapp/js/nlib.js b/src/main/webapp/js/nlib.js
index 798841b6..f435434d 100644
--- a/src/main/webapp/js/nlib.js
+++ b/src/main/webapp/js/nlib.js
@@ -385,6 +385,23 @@ function gfn_formatDateStr(yyyymmdd, defVal) {
return defVal;
}
+function gfn_formatTimeStr(timeStr, defVal) {
+
+ if(gfn_isEmpty(timeStr)) return defVal;
+
+ if(4 <= timeStr.length && timeStr.length < 6) {
+ return timeStr.substr(0, 4);
+ } else if(6 <= timeStr.length && timeStr.length < 8) {
+ return timeStr.substr(0, 4) + "-" + timeStr.substr(4,2);
+ } else if(8 <= timeStr.length && timeStr.length < 12) {
+ return timeStr.substr(0, 4) + "-" + timeStr.substr(4,2) + "-" + timeStr.substr(6, 2);
+ } else if(12 <= timeStr.length) {
+ return timeStr.substr(0, 4) + "-" + timeStr.substr(4,2) + "-" + timeStr.substr(6, 2) + " " + timeStr.substr(8, 2) + ":" + timeStr.substr(10, 2);
+ }
+
+ return defVal;
+}
+
// 원문보기
var DOC_VIEW_URL = "https://port.nculture.org/npdfView.do?npdf=N";
var VIDEO_VIEW_URL = "https://port.nculture.org/nvodView.do?nvod=N";