최초커밋

This commit is contained in:
2025-09-29 17:55:08 +09:00
parent 90af30c0d0
commit e39813395a
3334 changed files with 338522 additions and 0 deletions

View File

@@ -0,0 +1,134 @@
<!-- #include virtual = "lib/config.asp" -->
<%
Response.CharSet="euc-kr"
Session.codepage="949"
Response.codepage="949"
Response.ContentType="text/html;charset=euc-kr"
Dim url
Dim x
Dim p_sn : p_sn = Request("p_sn")
Dim hangmok : hangmok = Request("sebu_hangmok")
Dim sebu : sebu = Request("sebu_name")
If hangmok = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ΰǺ<CEB0>" OR sebu = "<22>ص<EFBFBD><D8B5><EFBFBD>" Then
url = "/ess/doc_myun_pay_print2.asp"
x="2"
Else
url = "/ess/doc_myun_pay_print.asp"
x=""
End If
%>
<script type="text/javascript">
var agent = navigator.userAgent.toLowerCase();
var chromeChk = false;
if (agent.indexOf("chrome") != -1) {
chromeChk = true;
}
$(document).ready(function () {
//console.log($("inpit[name=minus_money_flag]"));
$(".d_no").each(function () {
$(this).mouseover(function () {
$(this).css("color", "blue");
$(this).css("font-weight", "bold");
});
$(this).mouseout(function () {
$(this).css("color", "");
$(this).css("font-weight", "");
});
$(this).click(function () {
$("#m_d_no *").remove();
var d_no = $(this).text().replace(' ', '');
if (d_no.indexOf('-i-') > 0) {
var url = "doc_expense_print_2014.asp";
} else {
var url = "<%=url %>";
var x = "<%=x %>";
}
var view_chk = "1";
var title_type = "undefined";
url = url + "?d_no=" + d_no + "&view_chk=" + view_chk + "&x=" + x + "&title_type+" + title_type;
if(chromeChk == false){
window.open(url,'','left=0,top=0,width=1000,height=1000,scrollbars=yes,resizable=yes');
return;
}
$.ajax({
url: url,
type: "get",
contentType: 'application/x-www-form-urlencoded; charset=euc-kr',
data:
{
"p_child_sn": "<%=p_child_sn %>",
"startDT": "<%=startDT %>",
"endDT": "<%=endDT %>",
"sv": "<%=sv %>",
"pay_type": "<%=pay_type %>",
"cost_type": "<%=cost_type %>",
"krc_no": "<%=krc_no %>"
},
success: function (response, textStatus, jqXHR) {
$("#m_d_no").append(response);
},
error: function (error) {
console.log(error);
alert("Web Service Error.");
}
});
});
});
});
</script>
<table width="100%" cellpadding="2" cellspacing="0" border="1" style="border-collapse:collapse;text-align:center;">
<tbody>
<tr>
<td ><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD>ڵ<EFBFBD></td>
<td ><3E><><EFBFBD><EFBFBD>S/V</td>
<td ><3E><><EFBFBD>γ<EFBFBD><CEB3><EFBFBD></td>
<td ><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȣ</td>
<td ><3E><><EFBFBD>ް<EFBFBD><DEB0><EFBFBD></td>
</tr>
<%
SQL = ""
SQL = SQL & " select a.p_sn, a.p_name, a.sebu, a.attribute05, sum(a.d_cost) as d_cost from "&VbCrlf
SQL = SQL & " ( "&VbCrlf
SQL = SQL & " select sum(s_sum) as d_cost, p_sn, (select p_name from person where p_no=insert_user) as p_name, s_gubun as sebu, attribute05 "&VbCrlf
SQL = SQL & " from T_NEAKEUN_PAY where attribute01 in (select cast(id as varchar) from neakeun_work) "&VbCrlf
SQL = SQL & " GROUP BY p_sn, insert_user, s_gubun, attribute05 "&VbCrlf
SQL = SQL & " union all "&VbCrlf
SQL = SQL & " select sum(s_sum) as d_cost, p_sn, (select p_name from person where p_no=insert_user) as p_name, est_money as sebu,attribute05 "&VbCrlf
SQL = SQL & " from T_MYUN_PAY where confirm_yn='Y' "&VbCrlf
SQL = SQL & " GROUP BY p_sn, insert_user, est_money, attribute05 "&VbCrlf
SQL = SQL & " union all "&VbCrlf
SQL = SQL & " select cast(target5 as varchar) as d_cost, cast(target10 as varchar) as p_sn, login_<6E≯<EFBFBD> as p_name, (select d_cost_name from direct_costcode where id in (cast(cast(target12 as varchar) as int ))) as sebu, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȣ as attribute05 "&VbCrlf
SQL = SQL & " from <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> where <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>='<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǽ<EFBFBD>' and del_yes_no = 'no' and cast(target10 as varchar) <> '' "&VbCrlf
SQL = SQL & " ) a "&VbCrlf
SQL = SQL & " where a.p_sn = '" & p_sn & "' and a.sebu = '" & sebu & "' "&VbCrlf
SQL = SQL & " group by a.p_sn, a.p_name, a.sebu, a.attribute05 "&VbCrlf
SQL = SQL & " order by a.p_name, a.attribute05 "
'Response.Write sql
adoRs.Open SQL, adoconn, 1
while not adoRs.eof
%>
<tr>
<td ><%=adoRs("p_sn") %></td>
<td ><%=adoRs("p_name") %></td>
<td ><%=adoRs("sebu") %></td>
<td ><span class="d_no" style="cursor:pointer;"><%=adoRs("attribute05") %></span></td>
<td ><%=formatnumber(adoRs("d_cost"), 0) %> <20><></td>
</tr>
<%
adoRs.movenext
wend
adoRs.close
%>
</tbody>
</table>
<br /><br />
<div id="m_d_no"></div>