%--
- Author(s) : Hoonseok choi
- Date : 2023.02.08
- Description: 견적_계획 상세
--%>
<%@ page contentType="text/html; charset=utf-8" %>
<%@ page import="java.text.SimpleDateFormat" %>
<%@ page import="java.util.Date" %>
<%@page import="kr.co.hsnc.common.config.WAFConfig"%>
<%@ page import="com.udapsoft.waf.system.HandlerStorage" %>
<%@ page import="com.udapsoft.waf.common.ui.*" %>
<%@ page import="kr.co.udapsoft.common.code.*" %>
<%@ page import="kr.co.hsnc.common.util.*"%>
<%@ page import="kr.co.hsnc.common.sql.*" %>
<%@ page import="com.udapsoft.waf.common.util.Formatter2"%>
<%@ page import="com.udapsoft.waf.common.util.StringUtils"%>
<%@ page import="kr.co.udapsoft.common.util.Crosscert"%>
<%@ include file="/jsp/work/taglib.jsp" %>
<%
ctx.init(request, response);
HandlerStorage storage = ctx.getHandlerStorage();
ValueObject params = storage.getParams();
ValueObject user = storage.getUser();
ValueObject Order = storage.getValueObject("Order");
ValueObject fileout = storage.getValueObject("DOC_ETC_OUT");
ValueObject attid = storage.getValueObject("ATT_ID");
String today = DateUtil.formatDateTime(DateUtil.getToday(), "yyyyMMdd", "yyyyMMdd");
SimpleDateFormat sd = new SimpleDateFormat("yyyyMMdd");
SimpleDateFormat sd2 = new SimpleDateFormat("yyyyMMddHHmm");
String nowTime = sd.format(new Date());
String to_yyyy = Order.get("QUOT_BID_TO_DT").substring(0, 4);
String to_MM = Order.get("QUOT_BID_TO_DT").substring(5, 7);
String to_dd = Order.get("QUOT_BID_TO_DT").substring(8, 10);
String to_hh = Order.get("QUOT_BID_TO_DT").substring(11, 13);
String to_mi = Order.get("QUOT_BID_TO_DT").substring(14, 16);
String nowTime_yyyy = nowTime.substring(0, 4);
String nowTime_MM = nowTime.substring(4, 6);
String nowTime_dd = nowTime.substring(6, 8);
SimpleDateFormat SeverTime = new SimpleDateFormat("yyyy-MM-dd");
String str = SeverTime.format(new Date());
to_MM = (Integer.valueOf(to_MM)-1)+""; // 전자조달과 동일하게
nowTime_MM = (Integer.valueOf(nowTime_MM)-1)+"";
%>