%--
- Author(s) : Hyung min Son
- Date : 2014.07.14
- Description: 견적서 개찰(외주) 상세
--%>
<%@ page contentType="text/html; charset=utf-8" pageEncoding="UTF-8"%>
<%@ page import="java.util.*"%>
<%@ 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.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("yyyy-MM-dd");
String str = sd.format(new Date());
boolean o_reason = false;
boolean p_reason = false;
boolean c_reason = false;
boolean m_reason = false;
if(Order.get("OPEN_OPINION").length()> 0){
o_reason = true;
}
if(Order.get("POSTPONE_REASON").length()> 0){
p_reason = true;
}
if(Order.get("CANCEL_REASON").length()> 0){
c_reason = true;
}
if(Order.get("MODIFY_REASON").length()> 0){
m_reason = true;
}
boolean open_flag = false;
if(Order.get("OPEN_DT").length()> 0 ){
open_flag = true;
}
ValueObject sign_info = storage.getValueObject("SIGN_INFO");
String gwurl = "http://gw.sgcenc.co.kr/";//WAFConfig.get("gw.url.address2");
%>