Files
KIN/ess/inc_direct_cost.asp
2025-09-29 17:55:08 +09:00

593 lines
27 KiB
Plaintext

<%
tmp_split = split(d_no, "-")
if int(tmp_split(1)) < int(confirm_date) then
'2011년 이전 자료라면 구버전 직접비 결재라인을 사용
confirm_flag = "1"
else
if int(tmp_split(1)) >= 2013 then
confirm_flag = "2"
else
if int(tmp_split(3)) <= int(confirm_no) then
'2012년 이후 자료중 문서순서가 15번째 이하라면 구버전
confirm_flag = "1"
else
'이도 저도 아니라면 신버전
confirm_flag = "2"
end if
end if
end if
query = "SELECT * FROM [Document] " & _
"WHERE d_no = '" & d_no & "' "
adors.Open query, adoConn, 1
if adors("d_write_date") > "2014-01-07" then
tmp_title = "대표이사"
else
tmp_title = "부회장"
end if
adors.close
'Response.Write confirm_flag & "<BR>"
%>
<table border=1 cellspacing=0 cellpadding=0 width=100% bordercolordark="black" bordercolorlight="white" bordercolor="black">
<%
if confirm_flag = "1" then
%>
<tr align="center">
<td height=20 colspan=5 width=50% style="font-size:11px;">기안/승인(소속부서)</td>
<td colspan=4 width=50% style="font-size:11px;">검토/승인(관리부서)</td>
</tr>
<tr align="center">
<td height=20 width=11% style="font-size:11px;">본인</td>
<td width=11% style="font-size:11px;">팀장</td>
<td width=11% style="font-size:11px;">부서장</td>
<td width=11% style="font-size:11px;">임원</td>
<td width=11% style="font-size:11px;"><%=tmp_title%></td>
<td width=11% style="font-size:11px;">담당</td>
<td width=11% style="font-size:11px;">부서장</td>
<td width=11% style="font-size:11px;">임원</td>
<td width=11% style="font-size:11px;"><%=tmp_title%></td>
</tr>
<%
elseif confirm_flag = "2" then
%>
<tr align="center">
<td height=20 colspan=2 width=22% style="font-size:11px;">기안/승인(자료조사부)</td>
<td height=20 colspan=2 width=22% style="font-size:11px;">기안/승인(연구부서)</td>
<td height=20 colspan=2 width=22% style="font-size:11px;">기안/승인(임원)</td>
<td colspan=4 width=44% style="font-size:11px;">검토/승인(관리부서)</td>
</tr>
<tr align="center">
<td height=20 width=10% style="font-size:11px;">본인</td>
<td width=10% style="font-size:11px;">부서장</td>
<td width=10% style="font-size:11px;">팀장</td>
<td width=10% style="font-size:11px;">부서장</td>
<td width=10% style="font-size:11px;">임원</td>
<td width=10% style="font-size:11px;"><%=tmp_title%></td>
<td width=10% style="font-size:11px;">담당</td>
<td width=10% style="font-size:11px;">부서장</td>
<td width=10% style="font-size:11px;">임원</td>
<td width=10% style="font-size:11px;"><%=tmp_title%></td>
</tr>
<%
end if
%>
<%
if view_chk = "1" then
'### 부재버튼 표시 로직-------
tmp_pass_chk = "0"
query = "SELECT * "
query = query & "FROM [Document] "
query = query & "WHERE d_no = '" & d_no & "' "
adors.Open query, adoConn, 1
if adors.recordcount > 0 then
if int(adors("d_order_cnt")) < 10 then
tmp_pass_psn = adors("d_orders")
end if
end if
adors.close
'휴가원체크
query = "SELECT * "
query = query & "FROM [문서내용] "
query = query & "WHERE login_p_no = '" & tmp_pass_psn & "' "
query = query & " AND del_yes_no = 'no' "
query = query & " AND (문서제목 = '휴가원' "
query = query & " OR 문서제목 = '휴직계') "
query = query & " AND SUBSTRING(target1, 1, 4) LIKE '" & year(date) & "' "
'Response.Write query & "<BR>"
adors.open query, adoConn, 1
if adors.recordcount > 0 then
for i = 1 to adors.recordcount
tmp_pass_sdate = adors("target1")
tmp_pass_edate = adors("target2")
if cdate(tmp_pass_sdate) <= date() AND cdate(tmp_pass_edate) >= date() then
tmp_pass_chk = "1"
end if
adors.movenext
next
end if
adors.close
'### 부재버튼 표시 로직-------
if tmp_pass_chk = "1" then
tmp_approval = "<img src='/images/approval/btn_smallapprove_pass.gif' onClick='subit(1," & tmp_pass_psn & ")' style='cursor:pointer'>"
'tmp_approval = "<img src='/images/approval/btn_smallapprove_pass.gif' onClick='subit(1)' style='cursor:pointer'>"
else
tmp_approval = ""
end if
tmp_reject = ""
set rsp = server.CreateObject("ADODB.RECORDSET")
query = "SELECT * "
query = query & "FROM person "
query = query & "WHERE p_no = '" & rsc("d_orders") & "' "
rsp.Open query, adoConn, 1
if rsp.RecordCount > 0 then
tmp_name = rsp("p_name")
end if
rsp.Close
elseif view_chk = "0" then
tmp_approval = "<img src='/images/approval/btn_smallapprove.gif' onClick='subit()' style='cursor:pointer'>"
tmp_reject = "<img src='/images/approval/btn_smallreject.gif' onClick='backit(""" & d_no & """)' style='cursor:pointer'>"
elseif view_chk = "2" then '실사->직접비에서 더블클릭으로 올때의 경우
tmp_approval = "<font color='blue'><b>결재중</b></font>"
end if
tmp_txt = split(target99, "^^")
tmp_8 = split(target100, "^^")
if instr(1,tmp_txt(0), "반려") then
tmp_txt1 = tmp_txt(0)
elseif instr(1,tmp_txt(0), "<BR>") then
tmp_t1 = split(tmp_txt(0), "<BR>")
tmp_txt1 = "<img src='/images/sign/" & tmp_t1(0) & "_" & tmp_t1(2) & ".jpg' border=0 width=40 height=40>"
else
tmp_txt1 = tmp_txt(0)
end if
if instr(1,tmp_txt(1), "반려") then
tmp_txt2 = tmp_txt(1)
elseif instr(1,tmp_txt(1), "<BR>") then
tmp_t2 = split(tmp_txt(1), "<BR>")
tmp_txt2 = "<img src='/images/sign/" & tmp_t2(0) & "_" & tmp_t2(2) & ".jpg' border=0 width=40 height=40>"
else
tmp_txt2 = tmp_txt(1)
end if
if instr(1,tmp_txt(2), "반려") then
tmp_txt3 = tmp_txt(2)
elseif instr(1,tmp_txt(2), "<BR>") then
tmp_t3 = split(tmp_txt(2), "<BR>")
tmp_txt3 = "<img src='/images/sign/" & tmp_t3(0) & "_" & tmp_t3(2) & ".jpg' border=0 width=40 height=40>"
else
tmp_txt3 = tmp_txt(2)
end if
if instr(1,tmp_txt(3), "반려") then
tmp_txt4 = tmp_txt(3)
elseif instr(1,tmp_txt(3), "<BR>") then
tmp_t4 = split(tmp_txt(3), "<BR>")
tmp_txt4 = "<img src='/images/sign/" & tmp_t4(0) & "_" & tmp_t4(2) & ".jpg' border=0 width=40 height=40>"
else
tmp_txt4 = tmp_txt(3)
end if
if instr(1,tmp_txt(4), "반려") then
tmp_txt5 = tmp_txt(4)
elseif instr(1,tmp_txt(4), "<BR>") then
tmp_t5 = split(tmp_txt(4), "<BR>")
tmp_txt5 = "<img src='/images/sign/" & tmp_t5(0) & "_" & tmp_t5(2) & ".jpg' border=0 width=40 height=40>"
else
tmp_txt5 = tmp_txt(4)
end if
if confirm_flag = "1" then
tmp_txt6 = tmp_8(0)
tmp_txt7 = tmp_8(1)
tmp_txt8 = tmp_8(2)
tmp_txt9 = tmp_8(3)
tmp_txt10 = tmp_8(4)
elseif confirm_flag = "2" then
if instr(1,tmp_txt(5), "반려") then
tmp_txt6 = tmp_txt(5)
elseif instr(1,tmp_txt(5), "<BR>") then
tmp_t6 = split(tmp_txt(5), "<BR>")
tmp_txt6 = "<img src='/images/sign/" & tmp_t6(0) & "_" & tmp_t6(2) & ".jpg' border=0 width=40 height=40>"
else
tmp_txt6 = tmp_txt(5)
end if
tmp_txt7 = tmp_8(0)
tmp_txt8 = tmp_8(1)
tmp_txt9 = tmp_8(2)
tmp_txt10 = tmp_8(3)
tmp_txt11 = tmp_8(4)
tmp_txt12 = tmp_8(5)
end if
%>
<%
d_order_cnt = int(d_order_cnt)
'특수로직 (view_chk = 1이면 결재완료로 처리해서 승인기능을 생성치 않음, 그냥 문서보기만 할 때)
'특수로직 (만약 완료(77)이 아닌 문서라면 99로 처리하여 승인버튼이 보이지 않도록 함)
if d_order_cnt <> "77" and view_chk = "1" then
'20100802 부재자 선결재 사항 적용으로 작성자는 뷰대신 부재 버튼이 보임
'd_order_cnt = 99
end if
if confirm_flag = "1" then
if d_order_cnt = 77 or d_order_cnt = 99 then '결재완료, 또는 반려
%>
<tr height=40 align="center">
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt1%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt2%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt3%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt4%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt5%>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr height=20 align="center">
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt6%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt7%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt8%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt9%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt10%></td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
</tr>
<%
elseif d_order_cnt = 5 then '사장결재
tmp_txt10 = month(now()) & " / " & day(now())
%>
<tr height=40 align="center">
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt1%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt2%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt3%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt4%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'>
<%=tmp_approval%>
<br>
<%=tmp_reject%>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr height=20 align="center">
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt6%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt7%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt8%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt9%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt10%></td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
</tr>
<%
elseif d_order_cnt = 4 then '임원결재
tmp_txt9 = month(now()) & " / " & day(now())
%>
<tr height=40 align="center">
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt1%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt2%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt3%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'>
<%=tmp_approval%>
<br>
<%=tmp_reject%>
</td>
<td><p style='line-height:11pt;font-size:9pt;'>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr height=20 align="center">
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt6%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt7%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt8%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt9%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt10%></td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
</tr>
<%
elseif d_order_cnt = 3 then '부서장결재
tmp_txt8 = month(now()) & " / " & day(now())
%>
<tr height=40 align="center">
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt1%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt2%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'>
<%=tmp_approval%>
<br>
<%=tmp_reject%>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr height=20 align="center">
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt6%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt7%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt8%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt9%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt10%></td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
</tr>
<%
elseif d_order_cnt = 2 then '팀장결재
tmp_txt7 = month(now()) & " / " & day(now())
%>
<tr height=40 align="center">
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt1%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'>
<%=tmp_approval%>
<br>
<%=tmp_reject%>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr height=20 align="center">
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt6%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt7%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt8%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt9%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt10%></td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
</tr>
<%
end if
elseif confirm_flag = "2" then
if d_order_cnt = 77 or d_order_cnt = 99 then '결재완료, 또는 반려
%>
<tr height=40 align="center">
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt1%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt2%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt3%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt4%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt5%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt6%>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr height=20 align="center">
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt7%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt8%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt9%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt10%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt11%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt12%></td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
</tr>
<%
elseif d_order_cnt = 6 then '부회장결재
tmp_txt12 = month(now()) & " / " & day(now())
%>
<tr height=40 align="center">
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt1%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt2%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt3%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt4%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt5%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'>
<%=tmp_approval%>
<br>
<%=tmp_reject%>
<br>
<%=tmp_name%>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr height=20 align="center">
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt7%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt8%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt9%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt10%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt11%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt12%></td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
</tr>
<%
elseif d_order_cnt = 5 then '임원결재
tmp_txt11 = month(now()) & " / " & day(now())
%>
<tr height=40 align="center">
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt1%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt2%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt3%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt4%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'>
<%=tmp_approval%>
<br>
<%=tmp_reject%>
<br>
<%=tmp_name%>
</td>
<td><p style='line-height:11pt;font-size:9pt;'>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr height=20 align="center">
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt7%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt8%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt9%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt10%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt11%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt12%></td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
</tr>
<%
elseif d_order_cnt = 4 then '부서장결재
tmp_txt10 = month(now()) & " / " & day(now())
%>
<tr height=40 align="center">
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt1%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt2%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt3%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'>
<%=tmp_approval%>
<br>
<%=tmp_reject%>
<br>
<%=tmp_name%>
</td>
<td><p style='line-height:11pt;font-size:9pt;'>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr height=20 align="center">
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt7%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt8%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt9%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt10%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt11%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt12%></td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
</tr>
<%
elseif d_order_cnt = 3 then '팀장결재
tmp_txt9 = month(now()) & " / " & day(now())
%>
<tr height=40 align="center">
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt1%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt2%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'>
<%=tmp_approval%>
<br>
<%=tmp_reject%>
<br>
<%=tmp_name%>
</td>
<td><p style='line-height:11pt;font-size:9pt;'>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr height=20 align="center">
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt7%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt8%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt9%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt10%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt11%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt12%></td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
</tr>
<%
elseif d_order_cnt = 2 then '부서장결재
tmp_txt8 = month(now()) & " / " & day(now())
%>
<tr height=40 align="center">
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt1%>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'>
<%=tmp_approval%>
<br>
<%=tmp_reject%>
<br>
<%=tmp_name%>
</td>
<td><p style='line-height:11pt;font-size:9pt;'>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'>&nbsp;</td>
<td><p style='line-height:11pt;font-size:9pt;'>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr height=20 align="center">
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt7%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt8%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt9%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt10%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt11%></td>
<td><p style='line-height:11pt;font-size:9pt;'><%=tmp_txt12%></td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
<td><p style='line-height:11pt;font-size:9pt;'>/</td>
</tr>
<%
end if
%>
<%
end if
%>
</table>