<% dim blank_off_title blank_off_title = replace(title," ","") tmp_type = "1" if blank_off_title = "품의서" or blank_off_title = "휴직계" then tmp_type = "3" elseif blank_off_title = "접대비보고서" then tmp_type = "0" elseif blank_off_title = "면접원수당지출결의서" or blank_off_title = "내근직수당지출결의서" then If overMoney_reason_count > 0 Then tmp_type = "3" End If elseif blank_off_title = "프로젝트계약액수정" Then tmp_type = "2" elseif blank_off_title = "지출결의서" Then '미래의 관리자에게.... 미안하다.. 나도 잘 모르겠다 최대한 오류 안나는 선에서 해결할 수 있는게 이 방법이었다...... IF doc_type <> "doc_expense_print_2014" Then '20240129 박준성 일반 지출결의서 기존 라인에서 분리 후 결재라인 신설 '여기가 일반이다 tmp_type = "8" ELSE '20240129 박준성 프로젝트 지출결의서 기존 라인에서 분리 후 결재라인 신설 '여기가 프로젝트다 tmp_type = "9" End IF end If 'if blank_off_title = "지출결의서" Then If(hangmok = "167" Or hangmok = "202") Then ' 항목 - 예수금, 예수금환급" '//-- 2023-02-13 hwkim, 자가전결로 요청드렸으나, 1차 상위자 결재로 변경 'tmp_type = "0" tmp_type = "1" End If If Session("N_depart") = "M" And (hangmok = "167" Or hangmok = "202") Then ' 항목 - 예수금, 예수금환급" tmp_type = "0" End If ' 조기혜 대체 박미선, 김현정, 이서윤 If (sebu = "135" or sebu="204" or sebu="240") And (Session("User_Number") = "20250201" OR Session("User_Number") = "20191202" OR Session("User_Number") = "20220901") Then ' 도서인쇄비, 잡손실 tmp_type = "0" End If If sebu="268" Then '#### 수입인지세 tmp_type = "0" End If if sebu="114" or sebu="173" then '급여, 4대보험료 대표님까지 tmp_type = "3" end If '##### 전자결재 문서 종류에 따라 추가 적용 코드 Select case doc_type '##### 지출결의서(프로젝트) case "doc_expense_print_2014" If d_cost_type <> "support" Then if gab_cha < 0 then tmp_type = "3" end If End if case "project_report" if rschname = "90" Then tmp_type = "2" End If End Select if( Request.ServerVariables("REMOTE_ADDR") = "10.10.13.79" or Request.ServerVariables("REMOTE_ADDR") = "10.10.13.115" )then response.write "
REMOTE_ADDR = "& Request.ServerVariables("REMOTE_ADDR") response.write "
blank_off_title = "& blank_off_title response.write "
tmp_type = "& tmp_type response.write "
doc_type = "& doc_type response.write "
d_cost_type = "& d_cost_type response.write "
gab_cha = "& gab_cha end if %>