%--
- Author(s) : Hyung min Son
- Date : 2014.07.02
- Description: 외주_견적의뢰상세
--%>
<%@ page contentType="text/html; charset=utf-8" %>
<%@ page import="java.text.SimpleDateFormat" %>
<%@ page import="java.util.Date" %>
<%@ page import="com.udapsoft.waf.common.util.StringUtils"%>
<%@ 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.*" %>
<%@ 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(Order.get("DOC_ETC_OUT"));
SimpleDateFormat sd = new SimpleDateFormat("yyyyMMdd");
SimpleDateFormat sd2 = new SimpleDateFormat("yyyyMMddHHmm");
String nowTime = sd.format(new Date());
String to_yyyy = Order.get("BID_TO_DT").substring(0, 4);
String to_MM = Order.get("BID_TO_DT").substring(5, 7);
String to_dd = Order.get("BID_TO_DT").substring(8, 10);
String to_hh = Order.get("BID_TO_DT").substring(11, 13);
String to_mi = Order.get("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)+""; //2016.03.30 전자조달과 동일하게
nowTime_MM = (Integer.valueOf(nowTime_MM)-1)+"";//2016.03.30
boolean MODIFY_YN = true;
boolean p_reason = false;
boolean c_reason = false;
boolean m_reason = false;
if(Order.get("POSTPONE_REASON").length()> 0){
p_reason = true;
}else if(Order.get("CANCEL_REASON").length()> 0){
c_reason = true;
}
if(Order.get("MODIFY_REASON").length()> 0){
m_reason = true;
}
if(Order.getInt("MODIFY_CNT") > 0){
MODIFY_YN = false;
}
%>