%--
- Author(s) : Hyung min Son
- Date : 2014.06.30
- Description: 입찰진행(외주) 견적의뢰
--%>
<%@ page contentType="text/html; charset=utf-8" %>
<%@ page import="java.text.SimpleDateFormat" %>
<%@ page import="java.util.Date" %>
<%@ 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.udapsoft.common.util.PCMSUtil"%>
<%@ 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"%>
<%@ 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 filein = storage.getValueObject(Order.get("DOC_ETC_IN"));
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);
nowTime_MM = (Integer.valueOf(nowTime_MM)-1)+"";;
to_MM = (Integer.valueOf(to_MM)-1)+"";
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;
}
ValueObject sign_info = storage.getValueObject("SIGN_INFO");
String gwurl = "http://gw.sgcenc.co.kr/";//WAFConfig.get("gw.url.address2");
%>