582 lines
24 KiB
Plaintext
582 lines
24 KiB
Plaintext
<!-- #include virtual = "lib/config.asp" -->
|
|
<%
|
|
dim tmpstr
|
|
dim Query
|
|
dim i
|
|
dim user_name(4) '현재 사용자,0:사원코드, 1:이름,2:직급,3:전화번호, 4:부서코드(명)
|
|
dim Max_Width
|
|
dim title
|
|
dim target_name '발급대상자 이름
|
|
dim Curr_date '오늘날짜
|
|
dim Company(6)
|
|
dim Gap(22)
|
|
' 1:프로젝트 코드, 2:접대목적, 3:접대일자, 4:공급가액, 5:부가세액, 6:총액,
|
|
' 7:피접대자 성명, 8:피접대자 명수, 9:피접대자회사명, 10:피접대자소속, 11:피접대자직급,
|
|
' 12:피접대자 전화번호, 13:피접대자 사업자번호, 14:영수일자, 15:지출방법, 16:프로젝트코드,
|
|
' 17:사용가능한 접대비, 18:사용누적금액, 19:컨택레포트안건, 20:컨택레포트코드, 21:접대비종류 (0:일반, 1:프로젝트다과, 2:프로젝트식대), 22: 업무일지 Rownum
|
|
dim krc_no
|
|
dim print_type '1:보기, 2:진짜프린트
|
|
dim db_table_name
|
|
db_table_name = "문서내용"
|
|
|
|
title="접 대 비 보 고 서"
|
|
Max_Width =750
|
|
Curr_date = year(date) & "년 " & zeroformat(month(date),2) & "월 " & zeroformat(day(date),2) & "일"
|
|
|
|
set rsm = server.CreateObject("ADODB.RECORDSET")
|
|
|
|
''//===============
|
|
''회사 회사명, 사업자등록번호, 대표자명, 주소 가져오기
|
|
Query = "select * from company"
|
|
adoRs.open Query, adoconn,adopenstatic, adlockreadonly
|
|
Company(1) = adors("com_name")
|
|
Company(2) = adors("사업자등록번호")
|
|
Company(3) = adors("대표자명")
|
|
Company(4) = adors("주소")
|
|
Company(5) = adors("법인등록번호")
|
|
Company(6) = adors("회사대표전화번호")
|
|
adoRs.close
|
|
|
|
''///===============
|
|
''로그인 사용자 정보
|
|
user_name(0) = Session("User_Number")
|
|
Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'"
|
|
adoRs.open Query, adoconn,adopenstatic, adlockreadonly
|
|
user_name(1) = adoRs("p_name") '이름
|
|
user_name(2) = adoRs("p_rank_name") '직위 코드
|
|
user_name(3) = adoRs("p_tel3") '직통 전화
|
|
user_name(4) = adoRs("p_team_name") '부서코드
|
|
adoRs.close
|
|
''////////========================
|
|
''값가져오기
|
|
gap(1) = request("txt_prj_name")
|
|
gap(2) = request("txt_pay_target")
|
|
gap(3) = request("txt_date_1")
|
|
gap(4) = request("txt_pay")
|
|
gap(5) = request("txt_pay_vat")
|
|
gap(6) = request("txt_pay_tot")
|
|
gap(7) = request("txt_client_1")
|
|
gap(8) = request("txt_client_2")
|
|
gap(9) = request("txt_client_3")
|
|
gap(10) = request("txt_client_4")
|
|
gap(11) = request("txt_client_5")
|
|
gap(12) = ""'request("txt_client_6")
|
|
gap(13) = ""'request("txt_client_7")
|
|
gap(14) = request("txt_date_1")
|
|
gap(15) = request("sel_pay_type")
|
|
gap(16) = request("txt_p_sn")
|
|
|
|
print_type = request("print_type")
|
|
|
|
tmp_txt1 = request("tmp_txt1")
|
|
tmp_txt2 = request("tmp_txt2")
|
|
tmp_txt3 = request("tmp_txt3")
|
|
tmp_txt4 = request("tmp_txt4")
|
|
tmp_txt5 = request("tmp_txt5")
|
|
tmp_txt6 = request("tmp_txt6")
|
|
tmp_txt7 = request("tmp_txt7")
|
|
tmp_txt8 = request("tmp_txt8")
|
|
tmp_txt9 = request("tmp_txt9")
|
|
tmp_txt10 = request("tmp_txt10")
|
|
|
|
if cint(print_type) = 2 then
|
|
'먼저 접대비보고서의 문서번호 생성
|
|
''///===============
|
|
''문서번호 정보
|
|
Query = "select 문서번호 as krc_no from " & db_table_name
|
|
query = query & " where 문서제목 = '" & replace(title, " ", "") & "' "
|
|
query = query & " and substring(문서번호,5,4) = '" & year(date) & "' "
|
|
query = query & " order by 문서번호"
|
|
adoRs.open Query, adoconn,adopenstatic, adlockreadonly
|
|
if adoRs.recordcount <= 0 then
|
|
krc_no = 0
|
|
else
|
|
adoRs.movelast
|
|
tmpstr = split(trim(adoRs("krc_no")),"-")
|
|
krc_no = tmpstr(3)
|
|
end if
|
|
adoRs.close
|
|
krc_no = int(krc_no) + 1
|
|
tmpstr = "KRC-" & year(date) & "-"
|
|
tmpstr = tmpstr & "N-"
|
|
krc_no = tmpstr & ZeroFormat(krc_no,5)
|
|
|
|
target97 = user_name(1) & "^^" & user_name(2) & "^^" & user_name(3) & "^^" & user_name(4)
|
|
target98 = Company(1) & "^^" & Company(2) & "^^" & Company(3) & "^^" & Company(4) & "^^" & Company(5) & "^^" & Company(6)
|
|
'====================================================================
|
|
'관련항목 만들기
|
|
tmp_money = int(replace(gap(6), ",", ""))
|
|
|
|
'2011-04-01 일반적이 방식과 마찬가지로 수정
|
|
%>
|
|
<!-- #include file = "inc_payapproval.asp" -->
|
|
<!-- #include file = "inc_payapproval_line.asp" -->
|
|
<!-- #include file = "inc_preapproval.asp" -->
|
|
<%
|
|
target99 = tmp_txt1 & "^^" & tmp_txt2 & "^^" & tmp_txt3 & "^^" & tmp_txt4 & "^^" & tmp_txt5
|
|
target100 = tmp_txt6 & "^^" & tmp_txt7 & "^^" & tmp_txt8 & "^^" & tmp_txt9 & "^^" & tmp_txt10
|
|
|
|
'Document table에 삽입
|
|
query = "INSERT INTO Document "
|
|
query = query & " (d_no, d_name, d_write_name, d_write_date, d_flag, d_type, "
|
|
query = query & " d_order_cnt, d_orders,"
|
|
query = query & " d_order1, d_order2, d_order3, d_order4, d_order5, "
|
|
query = query & " d_order6, d_order7, d_order8, d_order9, d_order10, "
|
|
query = query & " d_view, d_delok) "
|
|
query = query & "VALUES "
|
|
query = query & " ('" & krc_no & "', '접대비보고서', '" & Session("loginuser") & "', '" & date() & "', '9', '" & d_type & "', "
|
|
query = query & " '" & d_order_cnt & "', '" & d_orders & "', "
|
|
query = query & " '" & d_order1 & "', '" & d_order2 & "', '" & d_order3 & "', '" & d_order4 & "', '" & d_order5 & "', "
|
|
query = query & " '" & d_order6 & "', '" & d_order7 & "', '" & d_order8 & "', '" & d_order9 & "', '" & d_order10 & "', "
|
|
query = query & " 'N', 'N') "
|
|
|
|
'Response.Write query & "<BR>"
|
|
adoconn.execute query
|
|
'====================================================================
|
|
|
|
if request("depart") = "headDepart" then
|
|
moneyType = "본부"
|
|
departCode = request("departCode")
|
|
else
|
|
moneyType = "팀"
|
|
departCode = request("departCode")
|
|
end if
|
|
|
|
'//========================
|
|
'내용 저장하기
|
|
query = "insert into " & db_table_name & " (문서번호, 문서제목, target1, target2, target3, target4, target5, "
|
|
query = query & " target6, target7, target8, target9, target10, target11, target12, target13, target14,target15, target16,target17,target18,target19,target20, target21,target22,target23,target97,target98,target99,target100,p_sn, "
|
|
query = query & " 발급일, 발급시각, login_p_no, login_이름,login_ip) values ( "
|
|
query = query & "'" & krc_no & "', "
|
|
query = query & "'" & replace(title, " ", "") & "', "
|
|
query = query & "'" & gap(1) & "', "
|
|
query = query & "'" & CheckWord(gap(2)) & "', "
|
|
query = query & "'" & gap(3) & "', "
|
|
query = query & "'" & replace(gap(4),",","") & "', "
|
|
query = query & "'" & gap(5) & "', "
|
|
query = query & "'" & gap(6) & "', "
|
|
query = query & "'" & gap(7) & "', "
|
|
query = query & "'" & gap(8) & "', "
|
|
query = query & "'" & gap(9) & "', "
|
|
query = query & "'" & gap(10) & "', "
|
|
query = query & "'" & gap(11) & "', "
|
|
query = query & "'" & gap(12) & "', "
|
|
query = query & "'" & gap(13) & "', "
|
|
query = query & "'" & gap(14) & "', "
|
|
query = query & "'" & gap(15) & "', "
|
|
query = query & "'', "
|
|
query = query & "'', "
|
|
query = query & "'', "
|
|
query = query & "'', "
|
|
query = query & "'" & moneyType & "', "
|
|
query = query & "'" & departCode & "', "
|
|
query = query & "'', "
|
|
query = query & "'', "
|
|
query = query & "'" & target97 & "', "
|
|
query = query & "'" & target98 & "', "
|
|
query = query & "'" & target99 & "', "
|
|
query = query & "'" & target100 & "', "
|
|
|
|
query = query & "'" & gap(16) & "', "
|
|
query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', "
|
|
query = query & "'" & time() & "', "
|
|
query = query & "'" & user_name(0) & "', "
|
|
query = query & "'" & user_name(1) & "', "
|
|
query = query & "'" & Session("USERIP") & "') "
|
|
' Response.Write query & "<br>"
|
|
adoconn.execute query
|
|
|
|
''날자를 '-'에서 년,월로 교체
|
|
gap(3) = mid(gap(3),1,4) & "년 " & mid(gap(3),6,2) & "월 " & mid(gap(3),9,2) & "일"
|
|
gap(14) = mid(gap(14),1,4) & "년 " & mid(gap(14),6,2) & "월 " & mid(gap(14),9,2) & "일"
|
|
for i=1 to 16
|
|
if trim(gap(i)) ="" then
|
|
gap(i) = " "
|
|
end if
|
|
next
|
|
''금액이 없으면 0원으로
|
|
for i=4 to 6
|
|
if gap(i) = " " then
|
|
gap(i) = "0"
|
|
end if
|
|
next
|
|
'피접대자의 숫자
|
|
if gap(8) = " " then
|
|
gap(8) = "0"
|
|
end if
|
|
end if
|
|
|
|
%>
|
|
|
|
<html>
|
|
<head>
|
|
<title><%=GNB_TITLE%></title>
|
|
<link rel="stylesheet" type="text/css" href="/css/basic.css">
|
|
</head>
|
|
<script language=javascript>
|
|
function subit()
|
|
{
|
|
var txt_prj_name = document.frm_money.txt_prj_name.value;
|
|
var txt_pay_target = document.frm_money.txt_pay_target.value;
|
|
var txt_date_1 = document.frm_money.txt_date_1.value;
|
|
var txt_pay = document.frm_money.txt_pay.value;
|
|
var txt_pay_vat = document.frm_money.txt_pay_vat.value;
|
|
var txt_pay_tot = document.frm_money.txt_pay_tot.value;
|
|
var txt_client_1 = document.frm_money.txt_client_1.value;
|
|
var txt_client_2 = document.frm_money.txt_client_2.value;
|
|
var txt_client_3 = document.frm_money.txt_client_3.value;
|
|
var txt_client_4 = document.frm_money.txt_client_4.value;
|
|
var txt_client_5 = document.frm_money.txt_client_5.value;
|
|
//var txt_client_6 = document.frm_money.txt_client_6.value;
|
|
//var txt_client_7 = document.frm_money.txt_client_7.value;
|
|
var sel_pay_type = document.frm_money.sel_pay_type.value;
|
|
var txt_p_sn = document.frm_money.txt_p_sn.value;
|
|
|
|
var url = "doc_entertainment_print.asp";
|
|
url = url + "?txt_prj_name=" + txt_prj_name;
|
|
url = url + "&txt_pay_target=" + txt_pay_target;
|
|
url = url + "&txt_date_1=" + txt_date_1;
|
|
url = url + "&txt_pay=" + txt_pay;
|
|
url = url + "&txt_pay_vat=" + txt_pay_vat;
|
|
url = url + "&txt_pay_tot=" + txt_pay_tot;
|
|
url = url + "&txt_client_1=" + txt_client_1;
|
|
url = url + "&txt_client_2=" + txt_client_2;
|
|
url = url + "&txt_client_3=" + txt_client_3;
|
|
url = url + "&txt_client_4=" + txt_client_4;
|
|
url = url + "&txt_client_5=" + txt_client_5;
|
|
//url = url + "&txt_client_6=" + txt_client_6;
|
|
//url = url + "&txt_client_7=" + txt_client_7;
|
|
url = url + "&sel_pay_type=" + sel_pay_type;
|
|
url = url + "&print_type=2";
|
|
url = url + "&txt_p_sn=" + txt_p_sn;
|
|
|
|
document.frm_money.action=url;
|
|
document.frm_money.submit();
|
|
}
|
|
function print_ie()
|
|
{
|
|
|
|
//
|
|
if(navigator.userAgent.toLowerCase().indexOf('chrome') > -1){ // Chrome Browser Detected?
|
|
window.PPClose = false; // Clear Close Flag
|
|
window.onbeforeunload = function(){ // Before Window Close Event
|
|
if(window.PPClose === false){ // Close not OK?
|
|
return 'Leaving this page will block the parent window!\nPlease select "Stay on this Page option" and use the\nCancel button instead to close the Print Preview Window.\n';
|
|
}
|
|
}
|
|
window.print(); // Print preview
|
|
window.PPClose = true; // Set Close Flag to OK.
|
|
}else{
|
|
window.print();
|
|
window.close();
|
|
}
|
|
}
|
|
function clsit()
|
|
{
|
|
opener.location.href = "doc_list.asp?title=접대비보고서";
|
|
alert('결재 등록 되었습니다');
|
|
self.close();
|
|
}
|
|
</script>
|
|
|
|
<body topmargin="10" leftmargin="10" <%if cint(print_type) = 2 then%> onLoad="clsit();" <% end if %>>
|
|
<form method='post' name='frm_money'>
|
|
<input type=hidden name = "txt_prj_name" value="<%=gap(1)%>">
|
|
<input type=hidden name = "txt_pay_target" value="<%=gap(2)%>">
|
|
<input type=hidden name = "txt_date_1" value="<%=gap(3)%>">
|
|
<input type=hidden name = "txt_pay" value="<%=gap(4)%>">
|
|
<input type=hidden name = "txt_pay_vat" value="<%=gap(5)%>">
|
|
<input type=hidden name = "txt_pay_tot" value="<%=gap(6)%>">
|
|
<input type=hidden name = "txt_client_1" value="<%=gap(7)%>">
|
|
<input type=hidden name = "txt_client_2" value="<%=gap(8)%>">
|
|
<input type=hidden name = "txt_client_3" value="<%=gap(9)%>">
|
|
<input type=hidden name = "txt_client_4" value="<%=gap(10)%>">
|
|
<input type=hidden name = "txt_client_5" value="<%=gap(11)%>">
|
|
<!--<input type=hidden name = "txt_client_6" value="<%=gap(12)%>">-->
|
|
<!--<input type=hidden name = "txt_client_7" value="<%=gap(13)%>">-->
|
|
<input type=hidden name = "sel_pay_type" value="<%=gap(15)%>">
|
|
<input type=hidden name = "txt_p_sn" value="<%=gap(16)%>">
|
|
<input type="hidden" name = "depart" value="<%=request("depart")%>">
|
|
<input type="hidden" name = "departCode" value="<%=request("departCode")%>">
|
|
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td colspan="2" style="padding:20;">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<%if cint(print_type) = 1 then%>
|
|
<tr>
|
|
<td style="padding:0 0 5 0;">
|
|
<img src="/images/common/btn_approve.jpg" onClick="subit()" style="cursor:hand;">
|
|
<img src="/images/common/btn_cancel.jpg" onClick="win_close();" style="cursor:hand;">
|
|
</td>
|
|
</tr>
|
|
<%end if%>
|
|
<tr>
|
|
<td><img src="/images/approval/docbg_top.jpg"></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="710" align="center" style="padding:10;border-left:1px solid #dedede;border-right:1px solid #dedede;">
|
|
<table width="95%" cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td colspan="2" style="padding:0 0 10 0">
|
|
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;">
|
|
<tr>
|
|
<td width="240"><span style="color:#636B7E;font-family:batang;font-weight:bold;font-size:30px;letter-spacing:-6;line-height:30px;">마케팅비</span></td>
|
|
<td>
|
|
<table width="100%" cellpadding="0" cellspacing="1" border="0" style="border-collapse:collapse;" bgcolor="#d8d8d8">
|
|
<tr>
|
|
<td colspan="5" class="k_small" align="center" bgcolor="#F1F1F1">기안/승인(소속부서)</td>
|
|
<td colspan="4" class="k_small" align="center" bgcolor="#F1F1F1">검토/승인(관리부서)</td>
|
|
</tr>
|
|
<tr>
|
|
<td width="11%" class="k_small" align="center" bgcolor="#F1F1F1">본인</td>
|
|
<td width="11%" class="k_small" align="center" bgcolor="#F1F1F1">팀장</td>
|
|
<td width="11%" class="k_small" align="center" bgcolor="#F1F1F1">부서장</td>
|
|
<td width="11%" class="k_small" align="center" bgcolor="#F1F1F1">임원</td>
|
|
<td width="11%" class="k_small" align="center" bgcolor="#F1F1F1"><%=tmp_title%></td>
|
|
<td width="11%" class="k_small" align="center" bgcolor="#F1F1F1">담당</td>
|
|
<td width="11%" class="k_small" align="center" bgcolor="#F1F1F1">부서장</td>
|
|
<td width="11%" class="k_small" align="center" bgcolor="#F1F1F1">임원</td>
|
|
<td width="11%" class="k_small" align="center" bgcolor="#F1F1F1"><%=tmp_title%></td>
|
|
</tr>
|
|
<%
|
|
if cdate(formatdatetime(date,2)) > "2014-01-07" then
|
|
tmp_title = "대표이사"
|
|
else
|
|
tmp_title = "부회장"
|
|
end if
|
|
|
|
tmp_txt = "<p style='line-height:11pt;font-size:9pt;'>" & Session("loginuser") & "<BR>" & replace(date(), "-","") & "<BR>" & FormatDateTime(time,4)
|
|
tmp_txt = Session("loginuser") & "<BR>" & replace(date(), "-","") & "<BR>" & Session("User_Number")
|
|
if my_pos = 6 then '사장
|
|
tmp_txt1 = " "
|
|
tmp_txt2 = " "
|
|
tmp_txt3 = " "
|
|
tmp_txt4 = " "
|
|
tmp_txt5 = tmp_txt
|
|
tmp_txt6 = "/"
|
|
tmp_txt7 = "/"
|
|
tmp_txt8 = "/"
|
|
tmp_txt9 = "/"
|
|
tmp_txt10 = month(now()) & " / " & day(now())
|
|
elseif my_pos = 5 then '임원
|
|
tmp_txt1 = " "
|
|
tmp_txt2 = " "
|
|
tmp_txt3 = " "
|
|
tmp_txt4 = tmp_txt
|
|
tmp_txt5 = " "
|
|
tmp_txt6 = "/"
|
|
tmp_txt7 = "/"
|
|
tmp_txt8 = "/"
|
|
tmp_txt9 = month(now()) & " / " & day(now())
|
|
tmp_txt10 = "/"
|
|
elseif my_pos = 3 or my_pos = 4 then '부서장
|
|
tmp_txt1 = " "
|
|
tmp_txt2 = " "
|
|
tmp_txt3 = tmp_txt
|
|
tmp_txt4 = " "
|
|
tmp_txt5 = " "
|
|
tmp_txt6 = "/"
|
|
tmp_txt7 = "/"
|
|
tmp_txt8 = month(now()) & " / " & day(now())
|
|
tmp_txt9 = "/"
|
|
tmp_txt10 = "/"
|
|
elseif my_pos = 2 then '팀장
|
|
tmp_txt1 = tmp_txt
|
|
tmp_txt2 = "전결"
|
|
tmp_txt3 = " "
|
|
tmp_txt4 = " "
|
|
tmp_txt5 = " "
|
|
tmp_txt6 = month(now()) & " / " & day(now())
|
|
tmp_txt7 = "/"
|
|
tmp_txt8 = "/"
|
|
tmp_txt9 = "/"
|
|
tmp_txt10 = "/"
|
|
elseif my_pos = 1 then '팀 팀원
|
|
tmp_txt1 = tmp_txt
|
|
tmp_txt2 = " "
|
|
tmp_txt3 = " "
|
|
tmp_txt4 = " "
|
|
tmp_txt5 = " "
|
|
tmp_txt6 = month(now()) & " / " & day(now())
|
|
tmp_txt7 = "/"
|
|
tmp_txt8 = "/"
|
|
tmp_txt9 = "/"
|
|
tmp_txt10 = "/"
|
|
else '노팀 팀원
|
|
tmp_txt1 = tmp_txt
|
|
tmp_txt2 = " "
|
|
tmp_txt3 = " "
|
|
tmp_txt4 = " "
|
|
tmp_txt5 = " "
|
|
tmp_txt6 = month(now()) & " / " & day(now())
|
|
tmp_txt7 = "/"
|
|
tmp_txt8 = "/"
|
|
tmp_txt9 = "/"
|
|
tmp_txt10 = "/"
|
|
end if
|
|
%>
|
|
<input type="hidden" name="tmp_txt1" value="<%=tmp_txt1%>">
|
|
<input type="hidden" name="tmp_txt2" value="<%=tmp_txt2%>">
|
|
<input type="hidden" name="tmp_txt3" value="<%=tmp_txt3%>">
|
|
<input type="hidden" name="tmp_txt4" value="<%=tmp_txt4%>">
|
|
<input type="hidden" name="tmp_txt5" value="<%=tmp_txt5%>">
|
|
<input type="hidden" name="tmp_txt6" value="<%=tmp_txt6%>">
|
|
<input type="hidden" name="tmp_txt7" value="<%=tmp_txt7%>">
|
|
<input type="hidden" name="tmp_txt8" value="<%=tmp_txt8%>">
|
|
<input type="hidden" name="tmp_txt9" value="<%=tmp_txt9%>">
|
|
<input type="hidden" name="tmp_txt10" value="<%=tmp_txt10%>">
|
|
<tr height="35">
|
|
<td bgcolor="#FFFFFF" align="center" class="k_small"><%=tmp_txt1%> </td>
|
|
<td bgcolor="#FFFFFF" align="center" class="k_small"><%=tmp_txt2%> </td>
|
|
<td bgcolor="#FFFFFF" align="center" class="k_small"><%=tmp_txt3%> </td>
|
|
<td bgcolor="#FFFFFF" align="center" class="k_small"><%=tmp_txt4%> </td>
|
|
<td bgcolor="#FFFFFF" align="center" class="k_small"><%=tmp_txt5%> </td>
|
|
<td bgcolor="#FFFFFF" align="center" class="k_small"></td>
|
|
<td bgcolor="#FFFFFF" align="center" class="k_small"></td>
|
|
<td bgcolor="#FFFFFF" align="center" class="k_small"></td>
|
|
<td bgcolor="#FFFFFF" align="center" class="k_small"></td>
|
|
</tr>
|
|
<tr height="18">
|
|
<td bgcolor="#FFFFFF" align="center" class="k_small"><%=tmp_txt6%></td>
|
|
<td bgcolor="#FFFFFF" align="center" class="k_small"><%=tmp_txt7%></td>
|
|
<td bgcolor="#FFFFFF" align="center" class="k_small"><%=tmp_txt8%></td>
|
|
<td bgcolor="#FFFFFF" align="center" class="k_small"><%=tmp_txt9%></td>
|
|
<td bgcolor="#FFFFFF" align="center" class="k_small"><%=tmp_txt10%></td>
|
|
<td bgcolor="#FFFFFF" align="center" class="k_small">/</td>
|
|
<td bgcolor="#FFFFFF" align="center" class="k_small">/</td>
|
|
<td bgcolor="#FFFFFF" align="center" class="k_small">/</td>
|
|
<td bgcolor="#FFFFFF" align="center" class="k_small">/</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" bgcolor="#d8d8d8" height="1"></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="20%" style="padding:7 0 7 20"><b>결 의 일 자</b></td>
|
|
<td width="80%" class="tahoma"><%=Curr_date%></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" bgcolor="#d8d8d8" height="1"></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="20%" style="padding:7 0 7 20"><b>성 명</b></td>
|
|
<td width="80%"><%=user_name(1)%></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" bgcolor="#d8d8d8" height="1"></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="20%" style="padding:7 0 7 20"><b>소 속</b></td>
|
|
<td width="80%"><%=user_name(4)%></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" bgcolor="#d8d8d8" height="1"></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="20%" style="padding:7 0 7 20"><b>직 급</b></td>
|
|
<td width="80%"><%=user_name(2)%></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" bgcolor="#d8d8d8" height="1"></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" align="center" style="padding:10 0 10 0;font-size:14;font-family:dotum;"><b>하기와 같이 마케팅비 지출에 대하여 보고드리오니 승인하여 주시기 바랍니다.</b></td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" align="center" style="padding:10 0 0 0">
|
|
<table width="100%" cellpadding="5" cellspacing="0" border="0" style="border-collapse:collapse;">
|
|
<tr>
|
|
<td width="20%" align="center">프로젝트 명(업무)</td>
|
|
<td width="80%" ><font class="tahoma"><%=gap(1)%></font></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" align="center" style="padding:10 0 0 0">
|
|
<table width="100%" cellpadding="5" cellspacing="0" border="0" style="border-collapse:collapse;">
|
|
<tr>
|
|
<td width="20%" align="center">접대목적 및 기타사항</td>
|
|
<td width="80%" ><font class="tahoma"><%=ViewWord(gap(2))%></font></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" align="center" style="padding:10 0 0 0">
|
|
<table width="100%" cellpadding="5" cellspacing="0" border="0" style="border-collapse:collapse;">
|
|
<tr>
|
|
<td width="20%" align="center">공급가액</td>
|
|
<td width="30%" ><font class="tahoma">₩ <%=gap(4)%> 원</font></td>
|
|
<td width="20%" align="center">지출방법</td>
|
|
<td width="30%" ><%=gap(15)%></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="padding:10 0 0 0;" colspan="2">
|
|
|
|
<font class="brown">피접대자 정보</font>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" align="center" style="padding:10 0 0 0">
|
|
<table width="100%" cellpadding="5" cellspacing="0" border="0" style="border-collapse:collapse;">
|
|
<tr>
|
|
<td width="20%" align="center">성 명</td>
|
|
<td width="30%" ><font class="tahoma">
|
|
<%=gap(7)%>
|
|
<%if trim(gap(8)) <> "" then%>
|
|
총 <%=gap(8)%> 명
|
|
<%end if%>
|
|
</font></td>
|
|
<td width="20%" align="center">회 사 명</td>
|
|
<td width="30%" ><font class="tahoma"><%=gap(9)%></font></td>
|
|
</tr>
|
|
<tr>
|
|
<td width="20%" align="center">소 속</td>
|
|
<td width="30%" ><font class="tahoma"><%=gap(10)%></font></td>
|
|
<td width="20%" align="center">직 급</td>
|
|
<td width="30%" ><font class="tahoma"><%=gap(11)%></font></td>
|
|
</tr>
|
|
<!--
|
|
<tr>
|
|
<td width="20%" align="center">전화번호</td>
|
|
<td width="30%" ><font class="tahoma"><%=gap(12)%></font></td>
|
|
<td width="20%" align="center">사업자번호</td>
|
|
<td width="30%" ><font class="tahoma"><%=gap(13)%></font></td>
|
|
</tr>
|
|
-->
|
|
<tr>
|
|
<td align="center">증빙일자</td>
|
|
<td ><font class="tahoma"><%=gap(14)%></font></td>
|
|
<td align="center">영 수 자</td>
|
|
<td ><font class="tahoma"><%=user_name(1)%> (印)</font></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" align="center" style="padding:15 0 5 0"><!-- #include virtual= "approval/inc_logo.asp" --></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><img src="/images/approval/docbg_btm.jpg"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</body>
|
|
</html> |