발급일 :
<%
for i=1 To ubound(doc_year_list)
%>
selected <% end if %>><%=doc_year_list(i) %>년
<%
next
%>
목록결과 : 총 <%=formatnumber(tmp_count,0)%> 개의 항목이 있습니다.
<%if tmp_project_chk = "1" OR tmp_admin_chk = "1" then%>
문서종류
<%for i = 0 to ubound(title)%>
selected<%end if%>><% if title(i,1) = "접대비보고서" then response.write "마케팅비" else response.Write title(i,1) end if %>
<%next%>
<%end if%>
작성자, 프로젝트 코드, 거래처, 항목, 세부, 문서번호, 품의문서로 검색 가능
No.
문서분류
거래처
증빙일
작성일
작성자
요청
<%if tmp_admin_chk = "1" then%>
취소여부
<%end if%>
<%
if Rs.RecordCount > 0 then
Rs.PageSize = 20
tmp_ok = 1
PageCount = Rs.PageCount
Rs.absolutepage = tmp_Currentpage
tmp_total_record = Rs.RecordCount
tmp_for = clng(tmp_total_record) - ((clng(tmp_Currentpage) - 1) * Rs.PageSize)
if Rs.PageSize <= tmp_for then
if Rs.RecordCount <= Rs.PageSize then
tmp_for = Rs.recordcount
else
tmp_for = Rs.PageSize
end if
else
tmp_for = tmp_for
end if
for i = 1 to tmp_for
tmp_txt = "완료"
if Cint(tmp_Currentpage)=1 then
Num=clng(tmp_total_record)- i+1
else
Num=clng(tmp_total_record) - ((clng(tmp_Currentpage) - 1) * Rs.PageSize) - i +1
end if
tmp_flag = mid(Rs("d_no"), 10, 1)
if Rs("d_name") = "직접비" then
tmpstr = Rs("p_sn")
else
tmpstr = Rs("d_no")
end if
if Rs("d_name") = "문화체육비신청서" then
tmp_flag = "o2"
end If
if Rs("d_name") = "면접원수당지출결의서" then
tmp_flag = "t2"
end If
if tmp_buy_chk = "1" then
if Rs("part") = "1" then
tmp_text = "발송완료"
else
tmp_text = "미발송"
end if
else
if Rs("d_orders") <> Rs("login_p_no") then
tmp_text = "처리대기"
else
tmp_text = "처리완료"
end if
end if
%>
<%=Num%>
','1','<%=x%>','<%=Rs("p_sn") %>')" class="blue"><% if Rs("d_name") = "부서비신청서" then response.Write "그룹(장)활동비" else if Rs("d_name") = "접대비보고서" then response.write "마케팅비" else response.Write Rs("d_name") end if%>  (<%=Rs("d_no")%>)
<%
if (tmp_project_chk = "1" or tmp_admin_chk = "1") and mid(Rs("d_no"),10,1) = "V" then '프로젝트 계약보고서만
tmp_subject = ""
if instr(1,Rs("target2"), "^^") > 0 then
tmp_1 = split(Rs("target2"), "^^")
tmp_subject = tmp_1(2)
end if
%>
- <%=tmp_subject%>
<%
end if
%>
<%if Rs("p_sn") <> "" then '프로젝트 계약보고서만%>
<% if Rs("d_name") = "지출결의서" then %>
-(<%=Rs("target20")%>)
<% else %>
-(<%=Rs("p_sn")%>)
<% end if %>
<%end if
if mid(Rs("d_name"),1,2) = "지출" or mid(Rs("d_name"),1,2) = "입금" or mid(Rs("d_name"),1,3) = "가지급" or Rs("d_name") = "품의서" or Rs("d_name") = "교육참가신청서" or _
Rs("d_name") = "부서비신청서" or Rs("d_name") = "접대비보고서" then
if Rs("d_name") = "지출결의서" or Rs("d_name") = "입금결의서" or Rs("d_name") = "교육참가신청서" or Rs("d_name") = "품의서" then
if not isnull(Rs("target5")) then
tmpstr = formatnumber(Rs("target5"), 0)
end if
elseif Rs("d_name") = "가지급금지출2" or Rs("d_name") = "가지급금지출" then
if not isnull(Rs("target8")) then
tmpstr = Rs("target8")
end if
elseif Rs("d_name") = "가지급금정산" or Rs("d_name") = "가지급금정산2" then
tmpstr_spl = split(Rs("target15"),"^^")
tmpstr = formatnumber(tmpstr_spl(1),0)
elseif Rs("d_name") = "부서비신청서" or Rs("d_name") = "지출정산승인신청서" then
if not isnull(Rs("target30")) then
tmpstr = formatnumber(Rs("target30"), 0)
end if
elseif Rs("d_name") = "접대비보고서" then
if not isnull(Rs("target30")) or Rs("target30") <> 0 then
tmpstr = formatnumber(Rs("target4"), 0)
end if
end if
if tmpstr <> "" then '금액 합계(vat 별도)%>
-(금액(Vat 별도) : <%=tmpstr%>)
<%
end if
if Rs("d_name") = "품의서" then
%>
-(잔액:<%=FormatNumber(cLng(Rs("target5")) - cLng(Rs("use_cost")), 0)%>)
<%
end if
%>
<%end if%>
<% if Rs("d_name")="지출결의서" or Rs("d_name")="품의서" or Rs("d_name")="자금집행서" or Rs("d_name")="입금결의서" then %>
<%=Rs("target8") %>
<% end if %>
<% if Rs("d_name")="지출결의서" or Rs("d_name")="자금집행서" or Rs("d_name")="입금결의서" then%>
<%=Rs("target3")%>
<% end if%>
<%=Rs("d_write_date")%>
<%=Rs("login_이름")%>
<%=tmp_text%>
<%if tmp_admin_chk = "1" then
if lcase(Rs("del_yes_no")) = "yes" then
if Rs("del_user_name") = Rs("login_이름") then
tmp_text = "취소"
else
tmp_text = Rs("del_user_name") & " 반려 " & Rs("del_reason")
end if
else
tmp_text = "정상"
end if%>
<%=tmp_text%>
<%end if%>
<%
Rs.MoveNext
next
end if
Rs.Close
%>
<%=Pagelist("doc_listall.asp",tmp_currentpage ,tmp_bcolor , "", pagecount, "&b_type=" & b_type & "&sel_type=" & sel_type & "&p_hotvalue=" & p_hotvalue & "&sel_year=" & sel_year)%>