최초커밋
This commit is contained in:
689
barobill/BaroService_TI.asp
Normal file
689
barobill/BaroService_TI.asp
Normal file
@@ -0,0 +1,689 @@
|
||||
<%
|
||||
'================================================================================================
|
||||
'<27>ٷκ<D9B7> <20><><EFBFBD>ڼ<EFBFBD><DABC>ݰ<EFBFBD><DDB0>꼭 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
'version : 3.8 (2015-10)
|
||||
'
|
||||
'<27>ٷκ<D9B7> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>Ʈ
|
||||
'http://dev.barobill.co.kr/
|
||||
'================================================================================================
|
||||
Class BaroService_TI
|
||||
|
||||
Private BAROSERVICE_URL
|
||||
|
||||
'------------------------------------------------------------------------------------------------
|
||||
' <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
'------------------------------------------------------------------------------------------------
|
||||
Private Sub Class_Initialize()
|
||||
|
||||
'------------------------------------------------------------------------------------------------
|
||||
'<27>ٷκ<D9B7> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>(WebService Reference) URL
|
||||
'BAROSERVICE_URL = "http://testws.baroservice.com/TI.asmx?WSDL" '<27><EFBFBD>Ʈ<EFBFBD><C6AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
BAROSERVICE_URL = "http://ws.baroservice.com/TI.asmx?WSDL" '<27>Ǽ<EFBFBD><C7BC><EFBFBD>
|
||||
|
||||
End Sub
|
||||
|
||||
'------------------------------------------------------------------------------------------------
|
||||
' <20>Ҹ<EFBFBD><D2B8><EFBFBD>
|
||||
'------------------------------------------------------------------------------------------------
|
||||
Private Sub Class_Terminate()
|
||||
BAROSERVICE_URL = ""
|
||||
End Sub
|
||||
|
||||
'------------------------------------------------------------------------------------------------
|
||||
' <20><><EFBFBD><EFBFBD>
|
||||
'------------------------------------------------------------------------------------------------
|
||||
|
||||
'SOAP <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
Private Function BaroService_SOAPCALL(ByVal FunctionName, ByVal SOAPBODY)
|
||||
|
||||
Set xmlHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP")
|
||||
xmlHTTP.open "POST", BAROSERVICE_URL, False
|
||||
xmlHTTP.setRequestHeader "Content-Type", "text/xml; charset=utf-8"
|
||||
xmlHTTP.setRequestHeader "SOAPAction", "http://ws.baroservice.com/" & FunctionName
|
||||
xmlHTTP.send _
|
||||
"<?xml version=""1.0"" encoding=""utf-8""?>" & _
|
||||
"<soap:Envelope xmlns:xsi=""http://www.w3.org/2001/XMLSchema-instance"" xmlns:xsd=""http://www.w3.org/2001/XMLSchema"" xmlns:soap=""http://schemas.xmlsoap.org/soap/envelope/"">" & _
|
||||
" <soap:Body>" & _
|
||||
SOAPBODY & _
|
||||
" </soap:Body>" & _
|
||||
"</soap:Envelope>"
|
||||
|
||||
If xmlHTTP.status <> 200 Then
|
||||
BaroService_SOAPCALL = ""
|
||||
Exit Function
|
||||
End If
|
||||
|
||||
BaroService_SOAPCALL = xmlHTTP.responsetext
|
||||
|
||||
End Function
|
||||
|
||||
'Ư<><C6AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ġȯ
|
||||
Private Function ReplaceSpecialString(ByVal Str)
|
||||
|
||||
If IsNull(Str) Then
|
||||
ReplaceSpecialString = ""
|
||||
Exit Function
|
||||
End If
|
||||
Output = Replace(Str,"&","&")
|
||||
Output = Replace(Output,"<","<")
|
||||
Output = Replace(Output,">",">")
|
||||
|
||||
ReplaceSpecialString = Output
|
||||
|
||||
End Function
|
||||
|
||||
'<27><><EFBFBD><EFBFBD> <20><> <20><>ȯ
|
||||
Private Function GetNodeText(ByVal Node, ByVal Path)
|
||||
If Node is nothing Then
|
||||
GetNodeText = ""
|
||||
Else
|
||||
Set CheckNode = Node.selectsinglenode(Path)
|
||||
If Not CheckNode Is Nothing Then
|
||||
GetNodeText = CheckNode.text
|
||||
Else
|
||||
GetNodeText = ""
|
||||
End If
|
||||
End If
|
||||
End Function
|
||||
|
||||
'<27><><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><>ȯ
|
||||
Public Function GetErrString(ByVal CERTKEY, ByVal ErrCode)
|
||||
|
||||
If ErrCode = "-9999" Then
|
||||
GetErrString = "SOAP<41><50><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><br><br>1. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>URL<52><4C> Ȯ<><C8AE><EFBFBD>Ͻʽÿ<CABD>.<br>2. ȣ<><C8A3><EFBFBD>ϴ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Լ<EFBFBD><D4BC><EFBFBD> <20>Ķ<EFBFBD><C4B6><EFBFBD><EFBFBD><EFBFBD> Ȯ<><C8AE><EFBFBD>Ͻʽÿ<CABD>."
|
||||
Else
|
||||
SOAPBODY = _
|
||||
" <GetErrString xmlns=""http://ws.baroservice.com/"">" & _
|
||||
" <CERTKEY>" & CERTKEY & "</CERTKEY>" & _
|
||||
" <ErrCode>" & ErrCode & "</ErrCode>" & _
|
||||
" </GetErrString>"
|
||||
Result = BaroService_SOAPCALL("GetErrString",SOAPBODY)
|
||||
|
||||
If Result <> "" Then
|
||||
Set xmlDoc = Server.CreateObject("MSXML2.DOMDocument")
|
||||
xmlDoc.Loadxml(Result)
|
||||
|
||||
GetErrString = xmldoc.selectsinglenode("//GetErrStringResult").text
|
||||
Else
|
||||
GetErrString = "SOAP<41><50><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><br><br>1. <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>URL<52><4C> Ȯ<><C8AE><EFBFBD>Ͻʽÿ<CABD>.<br>2. ȣ<><C8A3><EFBFBD>ϴ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Լ<EFBFBD><D4BC><EFBFBD> <20>Ķ<EFBFBD><C4B6><EFBFBD><EFBFBD><EFBFBD> Ȯ<><C8AE><EFBFBD>Ͻʽÿ<CABD>."
|
||||
End If
|
||||
End If
|
||||
|
||||
End Function
|
||||
|
||||
'Ping
|
||||
Public Function Ping()
|
||||
|
||||
SOAPBODY = _
|
||||
" <Ping xmlns=""http://ws.baroservice.com/""/>"
|
||||
Result = BaroService_SOAPCALL("Ping",SOAPBODY)
|
||||
|
||||
If Result <> "" Then
|
||||
Set xmlDoc = Server.CreateObject("MSXML2.DOMDocument")
|
||||
xmlDoc.Loadxml(Result)
|
||||
|
||||
Ping = Result
|
||||
Else
|
||||
Ping = "-9999"
|
||||
End If
|
||||
|
||||
End Function
|
||||
|
||||
'------------------------------------------------------------------------------------------------
|
||||
' <20><><EFBFBD>ڼ<EFBFBD><DABC>ݰ<EFBFBD><DDB0>꼭 <20><><EFBFBD><EFBFBD> API
|
||||
'------------------------------------------------------------------------------------------------
|
||||
'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>NK
|
||||
Public Function GetTaxInvoiceNK(ByVal CERTKEY, ByVal CorpNum, ByVal NTSConfirmNum)
|
||||
|
||||
SOAPBODY = _
|
||||
" <GetTaxInvoiceNK xmlns=""http://ws.baroservice.com/"">" & _
|
||||
" <CERTKEY>" & CERTKEY & "</CERTKEY>" & _
|
||||
" <CorpNum>" & ReplaceSpecialString(CorpNum) & "</CorpNum>" & _
|
||||
" <NTSConfirmNum>" & ReplaceSpecialString(NTSConfirmNum) & "</NTSConfirmNum>" & _
|
||||
" </GetTaxInvoiceNK>"
|
||||
Result = BaroService_SOAPCALL("GetTaxInvoiceNK",SOAPBODY)
|
||||
|
||||
Dim clsTI
|
||||
Set clsTI = New TaxInvoice
|
||||
|
||||
If Result <> "" Then
|
||||
Set xmlDoc = Server.CreateObject("MSXML2.DOMDocument")
|
||||
xmlDoc.Loadxml(Result)
|
||||
|
||||
Set NodeList = xmlDoc.selectNodes("//GetTaxInvoiceNKResult")
|
||||
If NodeList.length > 0 Then
|
||||
|
||||
clsTI.InvoiceKey = GetNodeText(NodeList(0),"./InvoiceKey")
|
||||
clsTI.InvoiceeASPEmail = GetNodeText(NodeList(0),"./InvoiceeASPEmail")
|
||||
clsTI.IssueDirection = GetNodeText(NodeList(0),"./IssueDirection")
|
||||
clsTI.TaxInvoiceType = GetNodeText(NodeList(0),"./TaxInvoiceType")
|
||||
clsTI.TaxType = GetNodeText(NodeList(0),"./TaxType")
|
||||
clsTI.TaxCalcType = GetNodeText(NodeList(0),"./TaxCalcType")
|
||||
clsTI.PurposeType = GetNodeText(NodeList(0),"./PurposeType")
|
||||
clsTI.ModifyCode = GetNodeText(NodeList(0),"./ModifyCode")
|
||||
clsTI.Kwon = GetNodeText(NodeList(0),"./Kwon")
|
||||
clsTI.Ho = GetNodeText(NodeList(0),"./Ho")
|
||||
clsTI.SerialNum = GetNodeText(NodeList(0),"./SerialNum")
|
||||
clsTI.Cash = GetNodeText(NodeList(0),"./Cash")
|
||||
clsTI.ChkBill = GetNodeText(NodeList(0),"./ChkBill")
|
||||
clsTI.Note = GetNodeText(NodeList(0),"./Note")
|
||||
clsTI.Credit = GetNodeText(NodeList(0),"./Credit")
|
||||
clsTI.WriteDate = GetNodeText(NodeList(0),"./WriteDate")
|
||||
clsTI.AmountTotal = GetNodeText(NodeList(0),"./AmountTotal")
|
||||
clsTI.TaxTotal = GetNodeText(NodeList(0),"./TaxTotal")
|
||||
clsTI.TotalAmount = GetNodeText(NodeList(0),"./TotalAmount")
|
||||
clsTI.Remark1 = GetNodeText(NodeList(0),"./Remark1")
|
||||
clsTI.Remark2 = GetNodeText(NodeList(0),"./Remark2")
|
||||
clsTI.Remark3 = GetNodeText(NodeList(0),"./Remark3")
|
||||
|
||||
Set clsTI.InvoicerParty = New InvoiceParty
|
||||
Set NodeInvoicerList = xmlDoc.selectNodes("//InvoicerParty")
|
||||
clsTI.InvoicerParty.MgtNum = GetNodeText(NodeInvoicerList(0),"./MgtNum")
|
||||
clsTI.InvoicerParty.CorpNum = GetNodeText(NodeInvoicerList(0),"./CorpNum")
|
||||
clsTI.InvoicerParty.TaxRegID = GetNodeText(NodeInvoicerList(0),"./TaxRegID")
|
||||
clsTI.InvoicerParty.CorpName = GetNodeText(NodeInvoicerList(0),"./CorpName")
|
||||
clsTI.InvoicerParty.CEOName = GetNodeText(NodeInvoicerList(0),"./CEOName")
|
||||
clsTI.InvoicerParty.Addr = GetNodeText(NodeInvoicerList(0),"./Addr")
|
||||
clsTI.InvoicerParty.BizClass = GetNodeText(NodeInvoicerList(0),"./BizClass")
|
||||
clsTI.InvoicerParty.BizType = GetNodeText(NodeInvoicerList(0),"./BizType")
|
||||
clsTI.InvoicerParty.ContactID = GetNodeText(NodeInvoicerList(0),"./ContactID")
|
||||
clsTI.InvoicerParty.ContactName = GetNodeText(NodeInvoicerList(0),"./ContactName")
|
||||
clsTI.InvoicerParty.TEL = GetNodeText(NodeInvoicerList(0),"./TEL")
|
||||
clsTI.InvoicerParty.HP = GetNodeText(NodeInvoicerList(0),"./HP")
|
||||
clsTI.InvoicerParty.Email = GetNodeText(NodeInvoicerList(0),"./Email")
|
||||
|
||||
Set clsTI.InvoiceeParty = New InvoiceParty
|
||||
Set NodeInvoiceeList = xmlDoc.selectNodes("//InvoiceeParty")
|
||||
clsTI.InvoiceeParty.MgtNum = GetNodeText(NodeInvoiceeList(0),"./MgtNum")
|
||||
clsTI.InvoiceeParty.CorpNum = GetNodeText(NodeInvoiceeList(0),"./CorpNum")
|
||||
clsTI.InvoiceeParty.TaxRegID = GetNodeText(NodeInvoiceeList(0),"./TaxRegID")
|
||||
clsTI.InvoiceeParty.CorpName = GetNodeText(NodeInvoiceeList(0),"./CorpName")
|
||||
clsTI.InvoiceeParty.CEOName = GetNodeText(NodeInvoiceeList(0),"./CEOName")
|
||||
clsTI.InvoiceeParty.Addr = GetNodeText(NodeInvoiceeList(0),"./Addr")
|
||||
clsTI.InvoiceeParty.BizClass = GetNodeText(NodeInvoiceeList(0),"./BizClass")
|
||||
clsTI.InvoiceeParty.BizType = GetNodeText(NodeInvoiceeList(0),"./BizType")
|
||||
clsTI.InvoiceeParty.ContactID = GetNodeText(NodeInvoiceeList(0),"./ContactID")
|
||||
clsTI.InvoiceeParty.ContactName = GetNodeText(NodeInvoiceeList(0),"./ContactName")
|
||||
clsTI.InvoiceeParty.TEL = GetNodeText(NodeInvoiceeList(0),"./TEL")
|
||||
clsTI.InvoiceeParty.HP = GetNodeText(NodeInvoiceeList(0),"./HP")
|
||||
clsTI.InvoiceeParty.Email = GetNodeText(NodeInvoiceeList(0),"./Email")
|
||||
|
||||
Set clsTI.BrokerParty = New InvoiceParty
|
||||
Set NodeBrokerList = xmlDoc.selectNodes("//BrokerParty")
|
||||
clsTI.BrokerParty.MgtNum = GetNodeText(NodeBrokerList(0),"./MgtNum")
|
||||
clsTI.BrokerParty.CorpNum = GetNodeText(NodeBrokerList(0),"./CorpNum")
|
||||
clsTI.BrokerParty.TaxRegID = GetNodeText(NodeBrokerList(0),"./TaxRegID")
|
||||
clsTI.BrokerParty.CorpName = GetNodeText(NodeBrokerList(0),"./CorpName")
|
||||
clsTI.BrokerParty.CEOName = GetNodeText(NodeBrokerList(0),"./CEOName")
|
||||
clsTI.BrokerParty.Addr = GetNodeText(NodeBrokerList(0),"./Addr")
|
||||
clsTI.BrokerParty.BizClass = GetNodeText(NodeBrokerList(0),"./BizClass")
|
||||
clsTI.BrokerParty.BizType = GetNodeText(NodeBrokerList(0),"./BizType")
|
||||
clsTI.BrokerParty.ContactID = GetNodeText(NodeBrokerList(0),"./ContactID")
|
||||
clsTI.BrokerParty.ContactName = GetNodeText(NodeBrokerList(0),"./ContactName")
|
||||
clsTI.BrokerParty.TEL = GetNodeText(NodeBrokerList(0),"./TEL")
|
||||
clsTI.BrokerParty.HP = GetNodeText(NodeBrokerList(0),"./HP")
|
||||
clsTI.BrokerParty.Email = GetNodeText(NodeBrokerList(0),"./Email")
|
||||
|
||||
Set NodeItemList = xmldoc.selectNodes("//TaxInvoiceTradeLineItem")
|
||||
If NodeItemList.length > 0 Then
|
||||
Dim ItemList(), clsItem
|
||||
ReDim ItemList(NodeItemList.length - 1)
|
||||
|
||||
For i = 0 To NodeItemList.length - 1
|
||||
Set clsItem = New TaxInvoiceTradeLineItem
|
||||
clsItem.PurchaseExpiry = GetNodeText(NodeItemList(i), "./PurchaseExpiry")
|
||||
clsItem.Name = GetNodeText(NodeItemList(i), "./Name")
|
||||
clsItem.Information = GetNodeText(NodeItemList(i), "./Information")
|
||||
clsItem.ChargeableUnit = GetNodeText(NodeItemList(i), "./ChargeableUnit")
|
||||
clsItem.UnitPrice = GetNodeText(NodeItemList(i), "./UnitPrice")
|
||||
clsItem.Amount = GetNodeText(NodeItemList(i), "./Amount")
|
||||
clsItem.Tax = GetNodeText(NodeItemList(i), "./Tax")
|
||||
clsItem.Description = GetNodeText(NodeItemList(i), "./Description")
|
||||
|
||||
Set ItemList(i) = clsItem
|
||||
Next
|
||||
clsTI.TaxInvoiceTradeLineItems = ItemList
|
||||
Else
|
||||
clsTI.TaxInvoiceTradeLineItems = Null
|
||||
End If
|
||||
|
||||
End If
|
||||
|
||||
Set GetTaxInvoiceNK = clsTI
|
||||
Else
|
||||
Set GetTaxInvoiceNK = clsTI
|
||||
End If
|
||||
|
||||
End Function
|
||||
|
||||
'<27><><EFBFBD><EFBFBD> <20><><EFBFBD>뺸<EFBFBD><EBBAB8> <20>˾<EFBFBD> URL (<28><><EFBFBD><EFBFBD>û<EFBFBD><C3BB><EFBFBD>ι<EFBFBD>ȣ)
|
||||
Public Function GetTaxInvoicePopUpURLNK(ByVal CERTKEY, ByVal CorpNum, ByVal NTSConfirmNum, ByVal UserID, ByVal PWD)
|
||||
|
||||
SOAPBODY = _
|
||||
" <GetTaxInvoicePopUpURLNK xmlns=""http://ws.baroservice.com/"">" & _
|
||||
" <CERTKEY>" & CERTKEY & "</CERTKEY>" & _
|
||||
" <CorpNum>" & ReplaceSpecialString(CorpNum) & "</CorpNum>" & _
|
||||
" <NTSConfirmNum>" & ReplaceSpecialString(NTSConfirmNum) & "</NTSConfirmNum>" & _
|
||||
" <ID>" & ReplaceSpecialString(UserID) & "</ID>" & _
|
||||
" <PWD>" & ReplaceSpecialString(PWD) & "</PWD>" & _
|
||||
" </GetTaxInvoicePopUpURLNK>"
|
||||
Result = BaroService_SOAPCALL("GetTaxInvoicePopUpURLNK",SOAPBODY)
|
||||
|
||||
If Result <> "" Then
|
||||
Set xmlDoc = Server.CreateObject("MSXML2.DOMDocument")
|
||||
xmlDoc.Loadxml(Result)
|
||||
|
||||
GetTaxInvoicePopUpURLNK = xmldoc.selectsinglenode("//GetTaxInvoicePopUpURLNKResult").text
|
||||
Else
|
||||
GetTaxInvoicePopUpURLNK = "-9999"
|
||||
End If
|
||||
|
||||
End Function
|
||||
|
||||
'<27><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>û <20><><EFBFBD>ݰ<EFBFBD><DDB0>꼭 <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> (<28><>ǥǰ<C7A5><C7B0> <20><><EFBFBD><EFBFBD>)
|
||||
Public Function GetMonthlyTaxInvoicePurchaseList(ByVal CERTKEY, ByVal CorpNum, ByVal UserID, ByVal TaxType, ByVal DateType, ByVal BaseMonth, ByVal CountPerPage, ByVal CurrentPage, ByVal OrderDirection)
|
||||
|
||||
SOAPBODY = _
|
||||
" <GetMonthlyTaxInvoicePurchaseList xmlns=""http://ws.baroservice.com/"">" & _
|
||||
" <CERTKEY>" & CERTKEY & "</CERTKEY>" & _
|
||||
" <CorpNum>" & ReplaceSpecialString(CorpNum) & "</CorpNum>" & _
|
||||
" <UserID>" & ReplaceSpecialString(UserID) & "</UserID>" & _
|
||||
" <TaxType>" & ReplaceSpecialString(TaxType) & "</TaxType>" & _
|
||||
" <DateType>" & ReplaceSpecialString(DateType) & "</DateType>" & _
|
||||
" <BaseMonth>" & ReplaceSpecialString(BaseMonth) & "</BaseMonth>" & _
|
||||
" <CountPerPage>" & ReplaceSpecialString(CountPerPage) & "</CountPerPage>" & _
|
||||
" <CurrentPage>" & ReplaceSpecialString(CurrentPage) & "</CurrentPage>" & _
|
||||
" <OrderDirection>" & ReplaceSpecialString(OrderDirection) & "</OrderDirection>" & _
|
||||
" </GetMonthlyTaxInvoicePurchaseList>"
|
||||
Result = BaroService_SOAPCALL("GetMonthlyTaxInvoicePurchaseList", SOAPBODY)
|
||||
|
||||
|
||||
If (Result <> "") Then
|
||||
Set xmlDoc = CreateObject("MSXML2.DOMDocument")
|
||||
|
||||
xmlDoc.Loadxml (Result)
|
||||
|
||||
Set SimpleTaxInvoiceExs = xmlDoc.selectNodes("//SimpleTaxInvoiceEx")
|
||||
|
||||
Dim newPagedTaxInvoiceEx
|
||||
|
||||
Set newPagedTaxInvoiceEx = New PagedTaxInvoiceEx
|
||||
|
||||
Set NodeList = xmlDoc.selectsinglenode("//GetMonthlyTaxInvoicePurchaseListResult")
|
||||
|
||||
newPagedTaxInvoiceEx.CurrentPage = NodeList.selectsinglenode("./CurrentPage").Text
|
||||
newPagedTaxInvoiceEx.MaxIndex = NodeList.selectsinglenode("./MaxIndex").Text
|
||||
newPagedTaxInvoiceEx.CountPerPage = NodeList.selectsinglenode("./CountPerPage").Text
|
||||
newPagedTaxInvoiceEx.MaxPageNum = NodeList.selectsinglenode("./MaxPageNum").Text
|
||||
|
||||
|
||||
Dim SimpleTaxInvoiceExList()
|
||||
|
||||
If SimpleTaxInvoiceExs.Length > 0 Then
|
||||
ReDim SimpleTaxInvoiceExList(SimpleTaxInvoiceExs.Length - 1)
|
||||
|
||||
Dim newSimpleTaxInvoiceEx
|
||||
|
||||
For i = 0 To SimpleTaxInvoiceExs.Length - 1
|
||||
|
||||
Set newSimpleTaxInvoiceEx = New SimpleTaxInvoiceEx
|
||||
|
||||
newSimpleTaxInvoiceEx.NTSSendKey = SimpleTaxInvoiceExs(i).selectsinglenode("./NTSSendKey").Text
|
||||
newSimpleTaxInvoiceEx.NTSSendDT = SimpleTaxInvoiceExs(i).selectsinglenode("./NTSSendDT").Text
|
||||
newSimpleTaxInvoiceEx.IssueDT = SimpleTaxInvoiceExs(i).selectsinglenode("./IssueDT").Text
|
||||
newSimpleTaxInvoiceEx.WriteDate = SimpleTaxInvoiceExs(i).selectsinglenode("./WriteDate").Text
|
||||
newSimpleTaxInvoiceEx.ModifyCode = SimpleTaxInvoiceExs(i).selectsinglenode("./ModifyCode").Text
|
||||
newSimpleTaxInvoiceEx.TaxType = SimpleTaxInvoiceExs(i).selectsinglenode("./TaxType").Text
|
||||
newSimpleTaxInvoiceEx.PurposeType = SimpleTaxInvoiceExs(i).selectsinglenode("./PurposeType").Text
|
||||
|
||||
newSimpleTaxInvoiceEx.InvoicerCorpNum = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoicerCorpNum").Text
|
||||
newSimpleTaxInvoiceEx.InvoicerTaxRegID = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoicerTaxRegID").Text
|
||||
newSimpleTaxInvoiceEx.InvoicerCorpName = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoicerCorpName").Text
|
||||
newSimpleTaxInvoiceEx.InvoicerCEOName = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoicerCEOName").Text
|
||||
newSimpleTaxInvoiceEx.InvoicerAddr = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoicerAddr").Text
|
||||
newSimpleTaxInvoiceEx.InvoicerBizType = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoicerBizType").Text
|
||||
newSimpleTaxInvoiceEx.InvoicerBizClass = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoicerBizClass").Text
|
||||
newSimpleTaxInvoiceEx.InvoicerContactName = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoicerContactName").Text
|
||||
newSimpleTaxInvoiceEx.InvoicerEmail = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoicerEmail").Text
|
||||
|
||||
newSimpleTaxInvoiceEx.InvoiceeCorpNum = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoiceeCorpNum").Text
|
||||
newSimpleTaxInvoiceEx.InvoiceeTaxRegID = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoiceeTaxRegID").Text
|
||||
newSimpleTaxInvoiceEx.InvoiceeCorpName = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoiceeCorpName").Text
|
||||
newSimpleTaxInvoiceEx.InvoiceeCEOName = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoiceeCEOName").Text
|
||||
newSimpleTaxInvoiceEx.InvoiceeAddr = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoiceeAddr").Text
|
||||
newSimpleTaxInvoiceEx.InvoiceeBizType = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoiceeBizType").Text
|
||||
newSimpleTaxInvoiceEx.InvoiceeBizClass = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoiceeBizClass").Text
|
||||
newSimpleTaxInvoiceEx.InvoiceeContactName = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoiceeContactName").Text
|
||||
newSimpleTaxInvoiceEx.InvoiceeEmail = SimpleTaxInvoiceExs(i).selectsinglenode("./InvoiceeEmail").Text
|
||||
|
||||
newSimpleTaxInvoiceEx.BrokerCorpNum = SimpleTaxInvoiceExs(i).selectsinglenode("./BrokerCorpNum").Text
|
||||
newSimpleTaxInvoiceEx.BrokerTaxRegID = SimpleTaxInvoiceExs(i).selectsinglenode("./BrokerTaxRegID").Text
|
||||
newSimpleTaxInvoiceEx.BrokerCorpName = SimpleTaxInvoiceExs(i).selectsinglenode("./BrokerCorpName").Text
|
||||
newSimpleTaxInvoiceEx.BrokerCEOName = SimpleTaxInvoiceExs(i).selectsinglenode("./BrokerCEOName").Text
|
||||
newSimpleTaxInvoiceEx.BrokerAddr = SimpleTaxInvoiceExs(i).selectsinglenode("./BrokerAddr").Text
|
||||
newSimpleTaxInvoiceEx.BrokerBizType = SimpleTaxInvoiceExs(i).selectsinglenode("./BrokerBizType").Text
|
||||
newSimpleTaxInvoiceEx.BrokerBizClass = SimpleTaxInvoiceExs(i).selectsinglenode("./BrokerBizClass").Text
|
||||
newSimpleTaxInvoiceEx.BrokerContactName = SimpleTaxInvoiceExs(i).selectsinglenode("./BrokerContactName").Text
|
||||
newSimpleTaxInvoiceEx.BrokerEmail = SimpleTaxInvoiceExs(i).selectsinglenode("./BrokerEmail").Text
|
||||
|
||||
newSimpleTaxInvoiceEx.AmountTotal = SimpleTaxInvoiceExs(i).selectsinglenode("./AmountTotal").Text
|
||||
newSimpleTaxInvoiceEx.TaxTotal = SimpleTaxInvoiceExs(i).selectsinglenode("./TaxTotal").Text
|
||||
newSimpleTaxInvoiceEx.TotalAmount = SimpleTaxInvoiceExs(i).selectsinglenode("./TotalAmount").Text
|
||||
newSimpleTaxInvoiceEx.Cash = SimpleTaxInvoiceExs(i).selectsinglenode("./Cash").Text
|
||||
newSimpleTaxInvoiceEx.ChkBill = SimpleTaxInvoiceExs(i).selectsinglenode("./ChkBill").Text
|
||||
newSimpleTaxInvoiceEx.Note = SimpleTaxInvoiceExs(i).selectsinglenode("./Note").Text
|
||||
newSimpleTaxInvoiceEx.Credit = SimpleTaxInvoiceExs(i).selectsinglenode("./Credit").Text
|
||||
newSimpleTaxInvoiceEx.Remark1 = SimpleTaxInvoiceExs(i).selectsinglenode("./Remark1").Text
|
||||
newSimpleTaxInvoiceEx.Remark2 = SimpleTaxInvoiceExs(i).selectsinglenode("./Remark2").Text
|
||||
newSimpleTaxInvoiceEx.Remark3 = SimpleTaxInvoiceExs(i).selectsinglenode("./Remark3").Text
|
||||
newSimpleTaxInvoiceEx.ItemName = SimpleTaxInvoiceExs(i).selectsinglenode("./ItemName").Text
|
||||
|
||||
newSimpleTaxInvoiceEx.CorpNum = SimpleTaxInvoiceExs(i).selectsinglenode("./CorpNum").Text
|
||||
newSimpleTaxInvoiceEx.TaxRegID = SimpleTaxInvoiceExs(i).selectsinglenode("./TaxRegID").Text
|
||||
newSimpleTaxInvoiceEx.CorpName = SimpleTaxInvoiceExs(i).selectsinglenode("./CorpName").Text
|
||||
newSimpleTaxInvoiceEx.CEOName = SimpleTaxInvoiceExs(i).selectsinglenode("./CEOName").Text
|
||||
|
||||
Set SimpleTaxInvoiceExList(i) = newSimpleTaxInvoiceEx
|
||||
|
||||
Next
|
||||
|
||||
newPagedTaxInvoiceEx.SimpleTaxInvoiceExList = SimpleTaxInvoiceExList
|
||||
Else
|
||||
newPagedTaxInvoiceEx.SimpleTaxInvoiceExList = Null
|
||||
End If
|
||||
|
||||
Set GetMonthlyTaxInvoicePurchaseList = newPagedTaxInvoiceEx
|
||||
Else
|
||||
Set GetMonthlyTaxInvoicePurchaseList = newPagedTaxInvoiceEx
|
||||
End If
|
||||
|
||||
End Function
|
||||
|
||||
End Class
|
||||
|
||||
'<27>ٷκ<D9B7> <20><><EFBFBD>ڼ<EFBFBD><DABC>ݰ<EFBFBD><DDB0>꼭 Ŭ<><C5AC><EFBFBD><EFBFBD>
|
||||
Class TaxInvoice
|
||||
|
||||
Public InvoiceKey
|
||||
Public InvoicerParty
|
||||
Public InvoiceeParty
|
||||
Public BrokerParty
|
||||
Public InvoiceeASPEmail
|
||||
Public IssueDirection
|
||||
Public TaxInvoiceType
|
||||
Public TaxType
|
||||
Public TaxCalcType
|
||||
Public PurposeType
|
||||
Public ModifyCode
|
||||
Public Kwon
|
||||
Public Ho
|
||||
Public SerialNum
|
||||
Public Cash
|
||||
Public ChkBill
|
||||
Public Note
|
||||
Public Credit
|
||||
Public WriteDate
|
||||
Public AmountTotal
|
||||
Public TaxTotal
|
||||
Public TotalAmount
|
||||
Public Remark1
|
||||
Public Remark2
|
||||
Public Remark3
|
||||
Public TaxInvoiceTradeLineItems
|
||||
|
||||
Public Function toJson()
|
||||
tmpStr = "{"
|
||||
tmpStr = tmpStr & """InvoiceKey"":"""& InvoiceKey &""","
|
||||
tmpStr = tmpStr & """InvoicerParty"":"& InvoicerParty.toJson() &","
|
||||
tmpStr = tmpStr & """InvoiceeParty"":"& InvoiceeParty.toJson() &","
|
||||
tmpStr = tmpStr & """BrokerParty"":"& BrokerParty.toJson() &","
|
||||
tmpStr = tmpStr & """InvoiceeASPEmail"":"""& InvoiceeASPEmail &""","
|
||||
tmpStr = tmpStr & """IssueDirection"":"""& IssueDirection &""","
|
||||
tmpStr = tmpStr & """TaxInvoiceType"":"""& TaxInvoiceType &""","
|
||||
tmpStr = tmpStr & """TaxType"":"""& TaxType &""","
|
||||
tmpStr = tmpStr & """TaxCalcType"":"""& TaxCalcType &""","
|
||||
tmpStr = tmpStr & """PurposeType"":"""& PurposeType &""","
|
||||
tmpStr = tmpStr & """ModifyCode"":"""& ModifyCode &""","
|
||||
tmpStr = tmpStr & """Kwon"":"""& Kwon &""","
|
||||
tmpStr = tmpStr & """Ho"":"""& Ho &""","
|
||||
tmpStr = tmpStr & """SerialNum"":"""& SerialNum &""","
|
||||
tmpStr = tmpStr & """Cash"":"""& Cash &""","
|
||||
tmpStr = tmpStr & """ChkBill"":"""& ChkBill &""","
|
||||
tmpStr = tmpStr & """Note"":"""& Note &""","
|
||||
tmpStr = tmpStr & """Credit"":"""& Credit &""","
|
||||
tmpStr = tmpStr & """WriteDate"":"""& WriteDate &""","
|
||||
tmpStr = tmpStr & """AmountTotal"":"""& AmountTotal &""","
|
||||
tmpStr = tmpStr & """TaxTotal"":"""& TaxTotal &""","
|
||||
tmpStr = tmpStr & """TotalAmount"":"""& TotalAmount &""","
|
||||
tmpStr = tmpStr & """Remark1"":"""& Remark1 &""","
|
||||
tmpStr = tmpStr & """Remark2"":"""& Remark2 &""","
|
||||
tmpStr = tmpStr & """Remark3"":"""& Remark3 &""","
|
||||
tmpStr = tmpStr & """TaxInvoiceTradeLineItems"":"& arrJson(TaxInvoiceTradeLineItems) &","
|
||||
tmpStr = mid(tmpStr, 1, len(tmpStr)-1)
|
||||
tmpStr = tmpStr & "}"
|
||||
toJson = tmpStr
|
||||
End Function
|
||||
|
||||
End Class
|
||||
|
||||
'<27>ٷκ<D9B7> <20><><EFBFBD>ڼ<EFBFBD><DABC>ݰ<EFBFBD><DDB0>꼭 Party Ŭ<><C5AC><EFBFBD><EFBFBD>
|
||||
Class InvoiceParty
|
||||
|
||||
Public ContactID
|
||||
Public CorpNum
|
||||
Public MgtNum
|
||||
Public CorpName
|
||||
Public TaxRegID
|
||||
Public CEOName
|
||||
Public Addr
|
||||
Public BizClass
|
||||
Public BizType
|
||||
Public ContactName
|
||||
Public TEL
|
||||
Public HP
|
||||
Public Email
|
||||
|
||||
Public Function toJson()
|
||||
tmpStr = "{"
|
||||
tmpStr = tmpStr & """ContactID"":"""& ContactID &""","
|
||||
tmpStr = tmpStr & """CorpNum"":"""& CorpNum &""","
|
||||
tmpStr = tmpStr & """MgtNum"":"""& MgtNum &""","
|
||||
tmpStr = tmpStr & """CorpName"":"""& CorpName &""","
|
||||
tmpStr = tmpStr & """TaxRegID"":"""& TaxRegID &""","
|
||||
tmpStr = tmpStr & """CEOName"":"""& CEOName &""","
|
||||
tmpStr = tmpStr & """Addr"":"""& Addr &""","
|
||||
tmpStr = tmpStr & """BizClass"":"""& BizClass &""","
|
||||
tmpStr = tmpStr & """BizType"":"""& BizType &""","
|
||||
tmpStr = tmpStr & """ContactName"":"""& ContactName &""","
|
||||
tmpStr = tmpStr & """TEL"":"""& TEL &""","
|
||||
tmpStr = tmpStr & """HP"":"""& HP &""","
|
||||
tmpStr = tmpStr & """Email"":"""& Email &""","
|
||||
tmpStr = mid(tmpStr, 1, len(tmpStr)-1)
|
||||
tmpStr = tmpStr & "}"
|
||||
toJson = tmpStr
|
||||
End Function
|
||||
|
||||
End Class
|
||||
|
||||
'<27>ٷκ<D9B7> <20><><EFBFBD>ڼ<EFBFBD><DABC>ݰ<EFBFBD><DDB0>꼭 ǰ<><C7B0> Ŭ<><C5AC><EFBFBD><EFBFBD>
|
||||
Class TaxInvoiceTradeLineItem
|
||||
|
||||
Public PurchaseExpiry
|
||||
Public Name
|
||||
Public Information
|
||||
Public ChargeableUnit
|
||||
Public UnitPrice
|
||||
Public Amount
|
||||
Public Tax
|
||||
Public Description
|
||||
|
||||
Public Function toJson()
|
||||
tmpStr = "{"
|
||||
tmpStr = tmpStr & """PurchaseExpiry"":"""& PurchaseExpiry &""","
|
||||
tmpStr = tmpStr & """Name"":"""& Name &""","
|
||||
tmpStr = tmpStr & """Information"":"""& Information &""","
|
||||
tmpStr = tmpStr & """ChargeableUnit"":"""& ChargeableUnit &""","
|
||||
tmpStr = tmpStr & """UnitPrice"":"""& UnitPrice &""","
|
||||
tmpStr = tmpStr & """Amount"":"""& Amount &""","
|
||||
tmpStr = tmpStr & """Tax"":"""& Tax &""","
|
||||
tmpStr = tmpStr & """Description"":"""& Description &""","
|
||||
tmpStr = mid(tmpStr, 1, len(tmpStr)-1)
|
||||
tmpStr = tmpStr & "}"
|
||||
toJson = tmpStr
|
||||
End Function
|
||||
|
||||
End Class
|
||||
|
||||
'<27>ٷκ<D9B7> <20><><EFBFBD><EFBFBD>û <20><><EFBFBD><EFBFBD>,<2C><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> (<28><>ǥǰ<C7A5><C7B0> <20>߰<EFBFBD>)
|
||||
Class PagedTaxInvoiceEx
|
||||
|
||||
Public CurrentPage
|
||||
Public MaxIndex
|
||||
Public CountPerPage
|
||||
Public MaxPageNum
|
||||
Public SimpleTaxInvoiceExList
|
||||
|
||||
Public Function toJson()
|
||||
tmpStr = "{"
|
||||
tmpStr = tmpStr & """CurrentPage"":"""& CurrentPage &""","
|
||||
tmpStr = tmpStr & """MaxIndex"":"""& MaxIndex &""","
|
||||
tmpStr = tmpStr & """CountPerPage"":"""& CountPerPage &""","
|
||||
tmpStr = tmpStr & """MaxPageNum"":"""& MaxPageNum &""","
|
||||
tmpStr = tmpStr & """SimpleTaxInvoiceExList"":"& arrJson(SimpleTaxInvoiceExList) &","
|
||||
tmpStr = mid(tmpStr, 1, len(tmpStr)-1)
|
||||
tmpStr = tmpStr & "}"
|
||||
toJson = tmpStr
|
||||
End Function
|
||||
|
||||
End Class
|
||||
|
||||
'<27>ٷκ<D9B7> <20><><EFBFBD><EFBFBD>û <20><><EFBFBD><EFBFBD>,<2C><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> - <20><><EFBFBD><EFBFBD> (<28><>ǥǰ<C7A5><C7B0> <20>߰<EFBFBD>)
|
||||
Class SimpleTaxInvoiceEx
|
||||
|
||||
Public NTSSendKey
|
||||
Public NTSSendDT
|
||||
Public IssueDT
|
||||
Public WriteDate
|
||||
Public ModifyCode
|
||||
Public TaxType
|
||||
Public PurposeType
|
||||
Public InvoicerCorpNum
|
||||
Public InvoicerTaxRegID
|
||||
Public InvoicerCorpName
|
||||
Public InvoicerCEOName
|
||||
Public InvoicerAddr
|
||||
Public InvoicerBizType
|
||||
Public InvoicerBizClass
|
||||
Public InvoicerContactName
|
||||
Public InvoicerEmail
|
||||
Public InvoiceeCorpNum
|
||||
Public InvoiceeTaxRegID
|
||||
Public InvoiceeCorpName
|
||||
Public InvoiceeCEOName
|
||||
Public InvoiceeAddr
|
||||
Public InvoiceeBizType
|
||||
Public InvoiceeBizClass
|
||||
Public InvoiceeContactName
|
||||
Public InvoiceeEmail
|
||||
Public BrokerCorpNum
|
||||
Public BrokerTaxRegID
|
||||
Public BrokerCorpName
|
||||
Public BrokerCEOName
|
||||
Public BrokerAddr
|
||||
Public BrokerBizType
|
||||
Public BrokerBizClass
|
||||
Public BrokerContactName
|
||||
Public BrokerEmail
|
||||
Public AmountTotal
|
||||
Public TaxTotal
|
||||
Public TotalAmount
|
||||
Public Cash
|
||||
Public ChkBill
|
||||
Public Note
|
||||
Public Credit
|
||||
Public Remark1
|
||||
Public Remark2
|
||||
Public Remark3
|
||||
Public ItemName
|
||||
Public CorpNum
|
||||
Public TaxRegID
|
||||
Public CorpName
|
||||
Public CEOName
|
||||
|
||||
Public Function toJson()
|
||||
tmpStr = "{"
|
||||
tmpStr = tmpStr & """NTSSendKey"":"""& NTSSendKey &""","
|
||||
tmpStr = tmpStr & """NTSSendDT"":"""& NTSSendDT &""","
|
||||
tmpStr = tmpStr & """IssueDT"":"""& IssueDT &""","
|
||||
tmpStr = tmpStr & """WriteDate"":"""& WriteDate &""","
|
||||
tmpStr = tmpStr & """ModifyCode"":"""& ModifyCode &""","
|
||||
tmpStr = tmpStr & """TaxType"":"""& TaxType &""","
|
||||
tmpStr = tmpStr & """PurposeType"":"""& PurposeType &""","
|
||||
tmpStr = tmpStr & """InvoicerCorpNum"":"""& InvoicerCorpNum &""","
|
||||
tmpStr = tmpStr & """InvoicerTaxRegID"":"""& InvoicerTaxRegID &""","
|
||||
tmpStr = tmpStr & """InvoicerCorpName"":"""& InvoicerCorpName &""","
|
||||
tmpStr = tmpStr & """InvoicerCEOName"":"""& InvoicerCEOName &""","
|
||||
tmpStr = tmpStr & """InvoicerAddr"":"""& InvoicerAddr &""","
|
||||
tmpStr = tmpStr & """InvoicerBizType"":"""& InvoicerBizType &""","
|
||||
tmpStr = tmpStr & """InvoicerBizClass"":"""& InvoicerBizClass &""","
|
||||
tmpStr = tmpStr & """InvoicerContactName"":"""& InvoicerContactName &""","
|
||||
tmpStr = tmpStr & """InvoicerEmail"":"""& InvoicerEmail &""","
|
||||
tmpStr = tmpStr & """InvoiceeCorpNum"":"""& InvoiceeCorpNum &""","
|
||||
tmpStr = tmpStr & """InvoiceeTaxRegID"":"""& InvoiceeTaxRegID &""","
|
||||
tmpStr = tmpStr & """InvoiceeCorpName"":"""& InvoiceeCorpName &""","
|
||||
tmpStr = tmpStr & """InvoiceeCEOName"":"""& InvoiceeCEOName &""","
|
||||
tmpStr = tmpStr & """InvoiceeAddr"":"""& InvoiceeAddr &""","
|
||||
tmpStr = tmpStr & """InvoiceeBizType"":"""& InvoiceeBizType &""","
|
||||
tmpStr = tmpStr & """InvoiceeBizClass"":"""& InvoiceeBizClass &""","
|
||||
tmpStr = tmpStr & """InvoiceeContactName"":"""& InvoiceeContactName &""","
|
||||
tmpStr = tmpStr & """InvoiceeEmail"":"""& InvoiceeEmail &""","
|
||||
tmpStr = tmpStr & """BrokerCorpNum"":"""& BrokerCorpNum &""","
|
||||
tmpStr = tmpStr & """BrokerTaxRegID"":"""& BrokerTaxRegID &""","
|
||||
tmpStr = tmpStr & """BrokerCorpName"":"""& BrokerCorpName &""","
|
||||
tmpStr = tmpStr & """BrokerCEOName"":"""& BrokerCEOName &""","
|
||||
tmpStr = tmpStr & """BrokerAddr"":"""& BrokerAddr &""","
|
||||
tmpStr = tmpStr & """BrokerBizType"":"""& BrokerBizType &""","
|
||||
tmpStr = tmpStr & """BrokerBizClass"":"""& BrokerBizClass &""","
|
||||
tmpStr = tmpStr & """BrokerContactName"":"""& BrokerContactName &""","
|
||||
tmpStr = tmpStr & """BrokerEmail"":"""& BrokerEmail &""","
|
||||
tmpStr = tmpStr & """AmountTotal"":"""& AmountTotal &""","
|
||||
tmpStr = tmpStr & """TaxTotal"":"""& TaxTotal &""","
|
||||
tmpStr = tmpStr & """TotalAmount"":"""& TotalAmount &""","
|
||||
tmpStr = tmpStr & """Cash"":"""& Cash &""","
|
||||
tmpStr = tmpStr & """ChkBill"":"""& ChkBill &""","
|
||||
tmpStr = tmpStr & """Note"":"""& Note &""","
|
||||
tmpStr = tmpStr & """Credit"":"""& Credit &""","
|
||||
tmpStr = tmpStr & """Remark1"":"""& Remark1 &""","
|
||||
tmpStr = tmpStr & """Remark2"":"""& Remark2 &""","
|
||||
tmpStr = tmpStr & """Remark3"":"""& Remark3 &""","
|
||||
tmpStr = tmpStr & """ItemName"":"""& ItemName &""","
|
||||
tmpStr = tmpStr & """CorpNum"":"""& CorpNum &""","
|
||||
tmpStr = tmpStr & """TaxRegID"":"""& TaxRegID &""","
|
||||
tmpStr = tmpStr & """CorpName"":"""& CorpName &""","
|
||||
tmpStr = tmpStr & """CEOName"":"""& CEOName &""","
|
||||
tmpStr = mid(tmpStr, 1, len(tmpStr)-1)
|
||||
tmpStr = tmpStr & "}"
|
||||
toJson = tmpStr
|
||||
End Function
|
||||
|
||||
End Class
|
||||
|
||||
Function arrJson(ByVal arr)
|
||||
If isArray(arr) = True Then
|
||||
tmpStr = "["
|
||||
For i=0 To UBound(arr)
|
||||
If VarType(arr(i)) = 9 Then
|
||||
tmpStr = tmpStr & arr(i).toJson() & ","
|
||||
Else
|
||||
tmpStr = tmpStr & arr(i) & ","
|
||||
End If
|
||||
Next
|
||||
tmpStr = mid(tmpStr, 1, len(tmpStr)-1)
|
||||
tmpStr = tmpStr & "]"
|
||||
arrJson = tmpStr
|
||||
Else
|
||||
arrJson = "[]"
|
||||
End If
|
||||
End Function
|
||||
|
||||
%>
|
||||
174
barobill/baro_api.asp
Normal file
174
barobill/baro_api.asp
Normal file
@@ -0,0 +1,174 @@
|
||||
<!-- #include virtual = "lib/config.asp" -->
|
||||
<!-- #include virtual = "barobill/BaroService_TI.asp" -->
|
||||
<%
|
||||
Response.CharSet = "EUC-KR" '<27>ѱ<EFBFBD>
|
||||
Response.AddHeader "Pragma","no-cache"
|
||||
Response.AddHeader "cache-control", "no-staff"
|
||||
Response.Expires = -1
|
||||
|
||||
Set BST = New BaroService_TI
|
||||
|
||||
Select Case Request("Company")
|
||||
Case "kri"
|
||||
CERTKEY = "2485FCBA-A2A2-4803-84DF-C39B7E1C7F74" '<27><><EFBFBD><EFBFBD>Ű
|
||||
CorpNum = "2148156664" '<27>ٷκ<D9B7> ȸ<><C8B8> <20><><EFBFBD><EFBFBD><EFBFBD>ڹ<EFBFBD>ȣ ('-' <20><><EFBFBD><EFBFBD>, 10<31>ڸ<EFBFBD>)
|
||||
UserID = "kriit_1" '<27>ٷκ<D9B7> ȸ<><C8B8> <20><><EFBFBD>̵<EFBFBD>
|
||||
|
||||
Case "krc"
|
||||
CERTKEY = "5E5BFD5F-DE1B-4582-8FB5-B8052EF2F183" '<27><><EFBFBD><EFBFBD>Ű
|
||||
CorpNum = "4068104391" '<27>ٷκ<D9B7> ȸ<><C8B8> <20><><EFBFBD><EFBFBD><EFBFBD>ڹ<EFBFBD>ȣ ('-' <20><><EFBFBD><EFBFBD>, 10<31>ڸ<EFBFBD>)
|
||||
UserID = "kriit_2" '<27>ٷκ<D9B7> ȸ<><C8B8> <20><><EFBFBD>̵<EFBFBD>
|
||||
|
||||
Case "krt"
|
||||
CERTKEY = "B0EBFC53-5CC8-4DD9-8486-A660DC930B61" '<27><><EFBFBD><EFBFBD>Ű
|
||||
CorpNum = "5238101665" '<27>ٷκ<D9B7> ȸ<><C8B8> <20><><EFBFBD><EFBFBD><EFBFBD>ڹ<EFBFBD>ȣ ('-' <20><><EFBFBD><EFBFBD>, 10<31>ڸ<EFBFBD>)
|
||||
UserID = "kriit_3" '<27>ٷκ<D9B7> ȸ<><C8B8> <20><><EFBFBD>̵<EFBFBD>
|
||||
|
||||
Case "krd"
|
||||
CERTKEY = "B0EBFC53-5CC8-4DD9-8486-A660DC930B61" '<27><><EFBFBD><EFBFBD>Ű
|
||||
CorpNum = "5238101665" '<27>ٷκ<D9B7> ȸ<><C8B8> <20><><EFBFBD><EFBFBD><EFBFBD>ڹ<EFBFBD>ȣ ('-' <20><><EFBFBD><EFBFBD>, 10<31>ڸ<EFBFBD>)
|
||||
UserID = "kriit_3" '<27>ٷκ<D9B7> ȸ<><C8B8> <20><><EFBFBD>̵<EFBFBD>
|
||||
|
||||
End Select
|
||||
NTSConfirmNum = Request("NTSConfirmNum") '<27><><EFBFBD><EFBFBD>û <20><><EFBFBD>ι<EFBFBD>ȣ
|
||||
PWD = "" '<27>ٷκ<D9B7> ȸ<><C8B8> <20><><EFBFBD>й<EFBFBD>ȣ
|
||||
TaxType = 1 '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, 1:<3A><><EFBFBD><EFBFBD>+<2B><><EFBFBD><EFBFBD> 3:<3A>鼼
|
||||
DateType = 1 '<27><>ȸ<EFBFBD><C8B8><EFBFBD><EFBFBD>, 1:<3A>ۼ<EFBFBD><DBBC><EFBFBD><EFBFBD><EFBFBD> 2:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
BaseMonth = Request("sMonth") '<27><><EFBFBD>ؿ<EFBFBD>
|
||||
If BaseMonth <> "" Then
|
||||
BaseMonth = Replace(BaseMonth, "-", "")
|
||||
End If
|
||||
CountPerPage = 100 '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
CurrentPage = Request("sPage") '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
If CurrentPage = "" Then CurrentPage = 1
|
||||
OrderDirection = 2 '1:ASC 2:DESC
|
||||
|
||||
Select Case Request("command")
|
||||
Case "GetTaxInvoiceNK" '<27><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
Set Result = BST.GetTaxInvoiceNK(CERTKEY, CorpNum, NTSConfirmNum)
|
||||
|
||||
Response.write Result.toJson()
|
||||
|
||||
Case "GetMonthlyTaxInvoicePurchaseList" '<27><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD>ݰ<EFBFBD><DDB0>꼭 <20><>ȸ [<5B><><EFBFBD><EFBFBD>û <20><><EFBFBD>ۿϷ<DBBF> <20>Ǹ<EFBFBD>] (<28><>ǥǰ<C7A5><C7B0> <20><><EFBFBD><EFBFBD>)
|
||||
Set Result = BST.GetMonthlyTaxInvoicePurchaseList(CERTKEY, CorpNum, UserID, TaxType, DateType, BaseMonth, CountPerPage, CurrentPage, OrderDirection)
|
||||
|
||||
Response.write Result.toJson()
|
||||
|
||||
Case "GetTaxInvoicePopUpURLNK" '<27><><EFBFBD><EFBFBD> <20><><EFBFBD>뺸<EFBFBD><EBBAB8> <20>˾<EFBFBD> URL
|
||||
Result = BST.GetTaxInvoicePopUpURLNK(CERTKEY, CorpNum, NTSConfirmNum, UserID, PWD)
|
||||
|
||||
Response.write Result
|
||||
|
||||
Case "GetTaxInvoiceHistory" '<27><>Ʈ<EFBFBD><C6AE><EFBFBD>ݿ<EFBFBD> <20><><EFBFBD>ϵ<EFBFBD> <20><><EFBFBD>ݰ<EFBFBD><DDB0>꼭<EFBFBD><EABCAD> <20><><EFBFBD><EFBFBD> <20>ݾ<EFBFBD> <20><>ȸ
|
||||
SQL = ""
|
||||
SQL = SQL & " SELECT CONVERT(varchar(10), target3) AS writeDate, CONVERT(varchar(100), target18) AS taxNum, "
|
||||
SQL = SQL & " SUM(CONVERT(money, CONVERT(varchar(100), target5))) AS AmountTotal, "
|
||||
SQL = SQL & " SUM(CONVERT(money, REPLACE(CONVERT(varchar(100), target6), ',', ''))) AS TaxTotal, "
|
||||
SQL = SQL & " SUM(CONVERT(money, REPLACE(CONVERT(varchar(100), target7), ',', ''))) AS TotalAmount "
|
||||
SQL = SQL & " FROM <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> WITH(NOLOCK) "
|
||||
SQL = SQL & " WHERE <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>='<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǽ<EFBFBD>' AND del_yes_no = 'no' "
|
||||
SQL = SQL & " AND target4 LIKE '<27><><EFBFBD>ݰ<EFBFBD><DDB0>꼭' "
|
||||
If BaseMonth <> "" Then
|
||||
SQL = SQL & " AND Replace(CONVERT(varchar(7), target3), '-', '') LIKE '" & BaseMonth & "%' "
|
||||
SQL = SQL & " AND target18 NOT LIKE '' "
|
||||
End If
|
||||
If NTSConfirmNum <> "" Then
|
||||
SQL = SQL & " AND target18 LIKE '" & NTSConfirmNum & "' "
|
||||
End If
|
||||
SQL = SQL & " GROUP BY CONVERT(varchar(10), target3), CONVERT(varchar(100), target18) "
|
||||
|
||||
Adors.Open SQL, adoConn, 1
|
||||
If Adors.recordCount > 0 Then
|
||||
Response.Write "["
|
||||
Do While Not Adors.Eof
|
||||
Response.Write "{"
|
||||
Response.Write """writeDate"":""" & Adors("writeDate") & ""","
|
||||
Response.Write """taxNum"":""" & Adors("taxNum") & ""","
|
||||
Response.Write """AmountTotal"":""" & Adors("AmountTotal") & ""","
|
||||
Response.Write """TaxTotal"":""" & Adors("TaxTotal") & ""","
|
||||
Response.Write """TotalAmount"":""" & Adors("TotalAmount") & """"
|
||||
Response.Write "}"
|
||||
Adors.MoveNext
|
||||
If Not Adors.Eof Then
|
||||
Response.Write ","
|
||||
End If
|
||||
Loop
|
||||
Response.Write "]"
|
||||
Else
|
||||
Response.Write "[]"
|
||||
End IF
|
||||
Adors.Close
|
||||
|
||||
Case "SetPaperTax"
|
||||
SQL = ""
|
||||
SQL = SQL & " INSERT INTO T_PAPER_TAX ( "
|
||||
SQL = SQL & " paperTaxNum, Company, WriteDate, "
|
||||
SQL = SQL & " CorpNum, CorpName, CEOName, "
|
||||
SQL = SQL & " Items, AmountTotal, TaxTotal, TotalAmount, "
|
||||
SQL = SQL & " WriteUser, insert_user, insert_ip "
|
||||
SQL = SQL & " ) VALUES ( "
|
||||
SQL = SQL & " '"& Request("paperTaxNum") &"', '"& Request("Company") &"', '"& Request("WriteDate") &"', "
|
||||
SQL = SQL & " '"& Request("CorpNum") &"', '"& URLDecode(Request("CorpName")) &"', '"& URLDecode(Request("CEOName")) &"', "
|
||||
SQL = SQL & " '"& URLDecode(Request("Items")) &"', '"& Request("AmountTotal") &"', '"& Request("TaxTotal") &"', '"& Request("TotalAmount") &"', "
|
||||
SQL = SQL & " '"& Request("WriteUser") &"', '"& Session("User_Number") &"', '"& clientIp &"' "
|
||||
SQL = SQL & " ) "
|
||||
adoConn.Execute SQL
|
||||
|
||||
Response.Write "1"
|
||||
|
||||
Case "GetPaperTax"
|
||||
SQL = ""
|
||||
SQL = SQL & " SELECT id, paperTaxNum, WriteDate, Company, CorpNum, CorpName, CEOName, "
|
||||
SQL = SQL & " Items, AmountTotal, TaxTotal, TotalAmount, WriteUser "
|
||||
SQL = SQL & " FROM T_PAPER_TAX "
|
||||
SQL = SQL & " WHERE flag = '1' "
|
||||
SQL = SQL & " ORDER BY id DESC "
|
||||
|
||||
Adors.Open SQL, adoConn, 1
|
||||
If Adors.recordCount > 0 Then
|
||||
Response.Write "["
|
||||
Do While Not Adors.Eof
|
||||
Response.Write "{"
|
||||
Response.Write """id"":"""& Adors("id") &""","
|
||||
Response.Write """paperTaxNum"":"""& Adors("paperTaxNum") &""","
|
||||
Response.Write """WriteDate"":"""& Adors("WriteDate") &""","
|
||||
Response.Write """Company"":"""& Adors("Company") &""","
|
||||
Response.Write """CorpNum"":"""& Adors("CorpNum") &""","
|
||||
Response.Write """CorpName"":"""& Adors("CorpName") &""","
|
||||
Response.Write """CEOName"":"""& Adors("CEOName") &""","
|
||||
Response.Write """Items"":"""& Adors("Items") &""","
|
||||
Response.Write """AmountTotal"":"""& Adors("AmountTotal") &""","
|
||||
Response.Write """TaxTotal"":"""& Adors("TaxTotal") &""","
|
||||
Response.Write """TotalAmount"":"""& Adors("TotalAmount") &""","
|
||||
Response.Write """WriteUser"":"""& Adors("WriteUser") &""""
|
||||
Response.Write "}"
|
||||
Adors.MoveNext
|
||||
If Not Adors.Eof Then
|
||||
Response.Write ","
|
||||
End If
|
||||
Loop
|
||||
Response.Write "]"
|
||||
Else
|
||||
Response.Write "[]"
|
||||
End IF
|
||||
Adors.Close
|
||||
|
||||
Case "DeletePaperTax"
|
||||
SQL = ""
|
||||
SQL = SQL & " UPDATE T_PAPER_TAX SET flag = '0' WHERE id = '"& Request("id") &"' "
|
||||
adoConn.Execute SQL
|
||||
|
||||
Response.Write "1"
|
||||
|
||||
Case Else
|
||||
Response.Write "0"
|
||||
End Select
|
||||
|
||||
Function URLDecode(str)
|
||||
Dim objScript
|
||||
Set objScript = Server.CreateObject("ScriptControl")
|
||||
objScript.Language = "JavaScript"
|
||||
URLDecode = objScript.Eval("decodeURIComponent(""" & str & """.replace(/\+/g,"" ""))")
|
||||
Set objScript = Nothing
|
||||
End Function
|
||||
%>
|
||||
521
barobill/convImg/barobill.css
Normal file
521
barobill/convImg/barobill.css
Normal file
@@ -0,0 +1,521 @@
|
||||
@charset "utf-8";
|
||||
|
||||
/********/
|
||||
/* base */
|
||||
/********/
|
||||
* { box-sizing:border-box; }
|
||||
html { margin:0 auto; height:100%; overflow-y:scroll; }
|
||||
body { height:100%; padding:0; margin:0; font-family:'malgun gothic','맑은 고딕',"Apple SD Gothic Neo"; font-size:12px; line-height:1; text-align:left; background-color:#FFF; color:#272727; }
|
||||
h1, h2, h3, h4, h5 { margin:0; padding:0; }
|
||||
h1 { font-size:22px; }
|
||||
h2 { font-size:18px; }
|
||||
h3 { font-size:16px; }
|
||||
h4 { font-size:14px; }
|
||||
h5 { font-size:12px; }
|
||||
p { margin:0; padding:0; }
|
||||
a { color:inherit; text-decoration:none; }
|
||||
a:link, a:visited, a:hover, a:active { text-decoration:none; }
|
||||
div, ul, li, dl, dd, dt, p, table, th, td { padding:0; margin:0; word-break: break-all; }
|
||||
ul, ol, dl { list-style:none; padding:0; margin:0; }
|
||||
li, dt, dd { margin:0; padding:0; list-style:inherit; }
|
||||
table { width:100%; table-layout:fixed; border-collapse:separate; word-break:break-all; border-spacing:0; }
|
||||
form { margin:0; }
|
||||
input { margin:0; padding:0; outline:none; }
|
||||
img { border:none; }
|
||||
hr { height:0px; border-top:1px solid #DEDEDE; border-left:0px; border-bottom:0px; border-right:0px; }
|
||||
label { cursor: pointer; vertical-align:baseline; }
|
||||
|
||||
/********/
|
||||
/* util */
|
||||
/********/
|
||||
.n { font-weight: normal !important; }
|
||||
.b { font-weight: bold !important; }
|
||||
.u { text-decoration: underline !important; }
|
||||
.s { text-decoration: line-through !important; }
|
||||
.i { font-style: italic !important; }
|
||||
|
||||
.ls { letter-spacing: -1px !important; }
|
||||
.ls0 { letter-spacing: 0px !important; }
|
||||
.ls1 { letter-spacing: 1px !important; }
|
||||
|
||||
.a_l { text-align:left !important; }
|
||||
.a_c { text-align:center !important; }
|
||||
.a_r { text-align:right !important; }
|
||||
|
||||
.floatl { float:left; }
|
||||
.floatr { float:right; }
|
||||
.clearl { clear:left; }
|
||||
.clearr { clear:right; }
|
||||
.clearb { clear:both; }
|
||||
.pos_rel { position:relative; z-index:998; }
|
||||
.pos_abs { position:absolute; z-index:999; }
|
||||
.valignt { vertical-align:top !important; }
|
||||
.valignm { vertical-align:middle !important; }
|
||||
.valignb { vertical-align:bottom !important; }
|
||||
|
||||
div.gap { font-size:0px; line-height:0px; height:10px; }
|
||||
::-ms-clear { display: none; }
|
||||
|
||||
.cursor-pointer { cursor: pointer !important;}
|
||||
.text { cursor: text !important;}
|
||||
.none { display: none !important;}
|
||||
.block { display: block !important;}
|
||||
.hide { visibility: hidden !important;}
|
||||
.show { visibility: visible !important;}
|
||||
.scroll { scrollbar-face-color:#FFFFFF; scrollbar-base-color:#FFFFFF; scrollbar-arrow-color:#7f7f7f; scrollbar-track-color:#F9F9F9; scrollbar-shadow-color:#FAFAFA; scrollbar-highlight-color:#FFFFFF; scrollbar-3dlight-color:#BEBEBE; scrollbar-darkshadow-color:#D1D1D1; }
|
||||
|
||||
.black { color:#000 !important;}
|
||||
.black1 { color:#555 !important;}
|
||||
.red1 { color:#FF7A59 !important;}
|
||||
.red2 { color:#f9423c !important;}
|
||||
.red3 { color:#f11c2b !important;}
|
||||
.blue1 { color:#4095FF !important;}
|
||||
.blue2 { color:#166cec !important;}
|
||||
.blue3 { color:#1443b1 !important;/*color:#05528A !important;*/}
|
||||
.green1 { color:#218D44 !important;}
|
||||
.green2 { color:#4D7A16 !important;}
|
||||
.gray1 { color:#CACACA !important;}
|
||||
.gray2 { color:#999 !important;}
|
||||
.gray3 { color:#777 !important;}
|
||||
.white1 { color:#FFF !important;}
|
||||
.white2 { color:#F9F9F9 !important;}
|
||||
.orange1 { color:#E76100 !important;}
|
||||
.yellow1 { color:#FFFF4A !important;}
|
||||
|
||||
.bggray { background-color:#F0F0F0; }
|
||||
.bgcyan { background-color:#EDFBEC; }
|
||||
.bglemon { background-color:#FEFBE4; }
|
||||
|
||||
.dotum { font-family: Dotum, dotum, tahoma, sans-serif !important; }
|
||||
.batang { font-family: Batang, batang, tahoma, sans-serif !important; }
|
||||
.malgun { font-family:'malgun gothic','맑은 고딕',"Apple SD Gothic Neo" !important; }
|
||||
.noto { font-family: 'Noto Sans KR','malgun gothic','맑은 고딕',"Apple SD Gothic Neo" !important; }
|
||||
.eng_only { ime-mode:disabled; }
|
||||
.kor { ime-mode:active; }
|
||||
.ucase { text-transform:uppercase; }
|
||||
.lcase { text-transform:lowercase; }
|
||||
|
||||
.f10 { font-size:10px !important;}
|
||||
.f11 { font-size:11px !important;}
|
||||
.f12 { font-size:12px !important;}
|
||||
.f13 { font-size:13px !important;}
|
||||
.f14 { font-size:14px !important;}
|
||||
.f15 { font-size:15px !important;}
|
||||
.f16 { font-size:16px !important;}
|
||||
.f17 { font-size:17px !important;}
|
||||
.f18 { font-size:18px !important;}
|
||||
.f19 { font-size:19px !important;}
|
||||
.f20 { font-size:20px !important;}
|
||||
.f21 { font-size:21px !important;}
|
||||
.f22 { font-size:22px !important;}
|
||||
.f23 { font-size:23px !important;}
|
||||
.f24 { font-size:24px !important;}
|
||||
.f25 { font-size:25px !important;}
|
||||
.f26 { font-size:26px !important;}
|
||||
.f27 { font-size:27px !important;}
|
||||
.f28 { font-size:28px !important;}
|
||||
.f29 { font-size:29px !important;}
|
||||
.f30 { font-size:30px !important;}
|
||||
.f31 { font-size:31px !important;}
|
||||
.f32 { font-size:32px !important;}
|
||||
.f33 { font-size:33px !important;}
|
||||
.f34 { font-size:34px !important;}
|
||||
.f35 { font-size:35px !important;}
|
||||
.f36 { font-size:36px !important;}
|
||||
.f37 { font-size:37px !important;}
|
||||
.f38 { font-size:38px !important;}
|
||||
.f39 { font-size:39px !important;}
|
||||
.f40 { font-size:40px !important;}
|
||||
|
||||
.lh14 { line-height:14px !important; }
|
||||
.lh15 { line-height:15px !important; }
|
||||
.lh16 { line-height:16px !important; }
|
||||
.lh17 { line-height:17px !important; }
|
||||
.lh18 { line-height:18px !important; }
|
||||
.lh19 { line-height:19px !important; }
|
||||
.lh20 { line-height:20px !important; }
|
||||
.lh21 { line-height:21px !important; }
|
||||
.lh22 { line-height:22px !important; }
|
||||
.lh23 { line-height:23px !important; }
|
||||
.lh24 { line-height:24px !important; }
|
||||
.lh25 { line-height:25px !important; }
|
||||
.lh26 { line-height:26px !important; }
|
||||
.lh27 { line-height:27px !important; }
|
||||
.lh28 { line-height:28px !important; }
|
||||
.lh29 { line-height:29px !important; }
|
||||
.lh30 { line-height:30px !important; }
|
||||
.lh31 { line-height:31px !important; }
|
||||
.lh32 { line-height:32px !important; }
|
||||
.lh33 { line-height:33px !important; }
|
||||
.lh34 { line-height:34px !important; }
|
||||
.lh35 { line-height:35px !important; }
|
||||
.lh36 { line-height:36px !important; }
|
||||
.lh37 { line-height:37px !important; }
|
||||
.lh38 { line-height:38px !important; }
|
||||
.lh39 { line-height:39px !important; }
|
||||
.lh40 { line-height:40px !important; }
|
||||
|
||||
.p0 { padding:0px !important; }
|
||||
.p1 { padding:1px !important; }
|
||||
.p2 { padding:2px !important; }
|
||||
.p3 { padding:3px !important; }
|
||||
.p4 { padding:4px !important; }
|
||||
.p5 { padding:5px !important; }
|
||||
.p6 { padding:6px !important; }
|
||||
.p7 { padding:7px !important; }
|
||||
.p8 { padding:8px !important; }
|
||||
.p9 { padding:9px !important; }
|
||||
.p10 { padding:10px !important; }
|
||||
.p11 { padding:11px !important; }
|
||||
.p12 { padding:12px !important; }
|
||||
.p13 { padding:13px !important; }
|
||||
.p14 { padding:14px !important; }
|
||||
.p15 { padding:15px !important; }
|
||||
.p16 { padding:16px !important; }
|
||||
.p17 { padding:17px !important; }
|
||||
.p18 { padding:18px !important; }
|
||||
.p19 { padding:19px !important; }
|
||||
.p20 { padding:20px !important; }
|
||||
.p25 { padding:25px !important; }
|
||||
.p30 { padding:30px !important; }
|
||||
.p35 { padding:35px !important; }
|
||||
.p40 { padding:40px !important; }
|
||||
.p45 { padding:45px !important; }
|
||||
.p50 { padding:50px !important; }
|
||||
.p60 { padding:60px !important; }
|
||||
.p70 { padding:70px !important; }
|
||||
.p80 { padding:80px !important; }
|
||||
.p90 { padding:90px !important; }
|
||||
.p100 { padding:100px !important; }
|
||||
|
||||
.pt0 { padding-top:0px !important; }
|
||||
.pt1 { padding-top:1px !important; }
|
||||
.pt2 { padding-top:2px !important; }
|
||||
.pt3 { padding-top:3px !important; }
|
||||
.pt4 { padding-top:4px !important; }
|
||||
.pt5 { padding-top:5px !important; }
|
||||
.pt6 { padding-top:6px !important; }
|
||||
.pt7 { padding-top:7px !important; }
|
||||
.pt8 { padding-top:8px !important; }
|
||||
.pt9 { padding-top:9px !important; }
|
||||
.pt10 { padding-top:10px !important; }
|
||||
.pt11 { padding-top:11px !important; }
|
||||
.pt12 { padding-top:12px !important; }
|
||||
.pt13 { padding-top:13px !important; }
|
||||
.pt14 { padding-top:14px !important; }
|
||||
.pt15 { padding-top:15px !important; }
|
||||
.pt16 { padding-top:16px !important; }
|
||||
.pt17 { padding-top:17px !important; }
|
||||
.pt18 { padding-top:18px !important; }
|
||||
.pt19 { padding-top:19px !important; }
|
||||
.pt20 { padding-top:20px !important; }
|
||||
.pt25 { padding-top:25px !important; }
|
||||
.pt30 { padding-top:30px !important; }
|
||||
.pt35 { padding-top:35px !important; }
|
||||
.pt40 { padding-top:40px !important; }
|
||||
.pt45 { padding-top:45px !important; }
|
||||
.pt50 { padding-top:50px !important; }
|
||||
.pt60 { padding-top:60px !important; }
|
||||
.pt70 { padding-top:70px !important; }
|
||||
.pt80 { padding-top:80px !important; }
|
||||
.pt90 { padding-top:90px !important; }
|
||||
.pt100 { padding-top:100px !important; }
|
||||
|
||||
.pr0 { padding-right:0px !important; }
|
||||
.pr1 { padding-right:1px !important; }
|
||||
.pr2 { padding-right:2px !important; }
|
||||
.pr3 { padding-right:3px !important; }
|
||||
.pr4 { padding-right:4px !important; }
|
||||
.pr5 { padding-right:5px !important; }
|
||||
.pr6 { padding-right:6px !important; }
|
||||
.pr7 { padding-right:7px !important; }
|
||||
.pr8 { padding-right:8px !important; }
|
||||
.pr9 { padding-right:9px !important; }
|
||||
.pr10 { padding-right:10px !important; }
|
||||
.pr11 { padding-right:11px !important; }
|
||||
.pr12 { padding-right:12px !important; }
|
||||
.pr13 { padding-right:13px !important; }
|
||||
.pr14 { padding-right:14px !important; }
|
||||
.pr15 { padding-right:15px !important; }
|
||||
.pr16 { padding-right:16px !important; }
|
||||
.pr17 { padding-right:17px !important; }
|
||||
.pr18 { padding-right:18px !important; }
|
||||
.pr19 { padding-right:19px !important; }
|
||||
.pr20 { padding-right:20px !important; }
|
||||
.pr25 { padding-right:25px !important; }
|
||||
.pr30 { padding-right:30px !important; }
|
||||
.pr35 { padding-right:35px !important; }
|
||||
.pr40 { padding-right:40px !important; }
|
||||
.pr45 { padding-right:45px !important; }
|
||||
.pr50 { padding-right:50px !important; }
|
||||
.pr60 { padding-right:60px !important; }
|
||||
.pr70 { padding-right:70px !important; }
|
||||
.pr80 { padding-right:80px !important; }
|
||||
.pr90 { padding-right:90px !important; }
|
||||
.pr100 { padding-right:100px !important; }
|
||||
.pr110 { padding-right:110px !important; }
|
||||
.pr120 { padding-right:120px !important; }
|
||||
.pr130 { padding-right:130px !important; }
|
||||
.pr140 { padding-right:140px !important; }
|
||||
|
||||
.pb0 { padding-bottom:0px !important; }
|
||||
.pb1 { padding-bottom:1px !important; }
|
||||
.pb2 { padding-bottom:2px !important; }
|
||||
.pb3 { padding-bottom:3px !important; }
|
||||
.pb4 { padding-bottom:4px !important; }
|
||||
.pb5 { padding-bottom:5px !important; }
|
||||
.pb6 { padding-bottom:6px !important; }
|
||||
.pb7 { padding-bottom:7px !important; }
|
||||
.pb8 { padding-bottom:8px !important; }
|
||||
.pb9 { padding-bottom:9px !important; }
|
||||
.pb10 { padding-bottom:10px !important; }
|
||||
.pb11 { padding-bottom:11px !important; }
|
||||
.pb12 { padding-bottom:12px !important; }
|
||||
.pb13 { padding-bottom:13px !important; }
|
||||
.pb14 { padding-bottom:14px !important; }
|
||||
.pb15 { padding-bottom:15px !important; }
|
||||
.pb16 { padding-bottom:16px !important; }
|
||||
.pb17 { padding-bottom:17px !important; }
|
||||
.pb18 { padding-bottom:18px !important; }
|
||||
.pb19 { padding-bottom:19px !important; }
|
||||
.pb20 { padding-bottom:20px !important; }
|
||||
.pb25 { padding-bottom:25px !important; }
|
||||
.pb30 { padding-bottom:30px !important; }
|
||||
.pb35 { padding-bottom:35px !important; }
|
||||
.pb40 { padding-bottom:40px !important; }
|
||||
.pb45 { padding-bottom:45px !important; }
|
||||
.pb50 { padding-bottom:50px !important; }
|
||||
.pb60 { padding-bottom:60px !important; }
|
||||
.pb70 { padding-bottom:70px !important; }
|
||||
.pb80 { padding-bottom:80px !important; }
|
||||
.pb90 { padding-bottom:90px !important; }
|
||||
.pb100 { padding-bottom:100px !important; }
|
||||
|
||||
.pl0 { padding-left:0px !important; }
|
||||
.pl1 { padding-left:1px !important; }
|
||||
.pl2 { padding-left:2px !important; }
|
||||
.pl3 { padding-left:3px !important; }
|
||||
.pl4 { padding-left:4px !important; }
|
||||
.pl5 { padding-left:5px !important; }
|
||||
.pl6 { padding-left:6px !important; }
|
||||
.pl7 { padding-left:7px !important; }
|
||||
.pl8 { padding-left:8px !important; }
|
||||
.pl9 { padding-left:9px !important; }
|
||||
.pl10 { padding-left:10px !important; }
|
||||
.pl11 { padding-left:11px !important; }
|
||||
.pl12 { padding-left:12px !important; }
|
||||
.pl13 { padding-left:13px !important; }
|
||||
.pl14 { padding-left:14px !important; }
|
||||
.pl15 { padding-left:15px !important; }
|
||||
.pl16 { padding-left:16px !important; }
|
||||
.pl17 { padding-left:17px !important; }
|
||||
.pl18 { padding-left:18px !important; }
|
||||
.pl19 { padding-left:19px !important; }
|
||||
.pl20 { padding-left:20px !important; }
|
||||
.pl25 { padding-left:25px !important; }
|
||||
.pl30 { padding-left:30px !important; }
|
||||
.pl35 { padding-left:35px !important; }
|
||||
.pl40 { padding-left:40px !important; }
|
||||
.pl45 { padding-left:45px !important; }
|
||||
.pl50 { padding-left:50px !important; }
|
||||
.pl60 { padding-left:60px !important; }
|
||||
.pl70 { padding-left:70px !important; }
|
||||
.pl80 { padding-left:80px !important; }
|
||||
.pl90 { padding-left:90px !important; }
|
||||
.pl100 { padding-left:100px !important; }
|
||||
.pl110 { padding-left:110px !important; }
|
||||
.pl120 { padding-left:120px !important; }
|
||||
.pl130 { padding-left:130px !important; }
|
||||
.pl140 { padding-left:140px !important; }
|
||||
|
||||
.m0 { margin:0px !important; }
|
||||
.m1 { margin:1px !important; }
|
||||
.m2 { margin:2px !important; }
|
||||
.m3 { margin:3px !important; }
|
||||
.m4 { margin:4px !important; }
|
||||
.m5 { margin:5px !important; }
|
||||
.m6 { margin:6px !important; }
|
||||
.m7 { margin:7px !important; }
|
||||
.m8 { margin:8px !important; }
|
||||
.m9 { margin:9px !important; }
|
||||
.m10 { margin:10px !important; }
|
||||
.m11 { margin:11px !important; }
|
||||
.m12 { margin:12px !important; }
|
||||
.m13 { margin:13px !important; }
|
||||
.m14 { margin:14px !important; }
|
||||
.m15 { margin:15px !important; }
|
||||
.m16 { margin:16px !important; }
|
||||
.m17 { margin:17px !important; }
|
||||
.m18 { margin:18px !important; }
|
||||
.m19 { margin:19px !important; }
|
||||
.m20 { margin:20px !important; }
|
||||
.m25 { margin:25px !important; }
|
||||
.m30 { margin:30px !important; }
|
||||
.m35 { margin:35px !important; }
|
||||
.m40 { margin:40px !important; }
|
||||
.m45 { margin:45px !important; }
|
||||
.m50 { margin:50px !important; }
|
||||
.m60 { margin:60px !important; }
|
||||
.m70 { margin:70px !important; }
|
||||
.m80 { margin:80px !important; }
|
||||
.m90 { margin:90px !important; }
|
||||
.m100 { margin:100px !important; }
|
||||
|
||||
.mt0 { margin-top:0px !important; }
|
||||
.mt1 { margin-top:1px !important; }
|
||||
.mt2 { margin-top:2px !important; }
|
||||
.mt3 { margin-top:3px !important; }
|
||||
.mt4 { margin-top:4px !important; }
|
||||
.mt5 { margin-top:5px !important; }
|
||||
.mt6 { margin-top:6px !important; }
|
||||
.mt7 { margin-top:7px !important; }
|
||||
.mt8 { margin-top:8px !important; }
|
||||
.mt9 { margin-top:9px !important; }
|
||||
.mt10 { margin-top:10px !important; }
|
||||
.mt11 { margin-top:11px !important; }
|
||||
.mt12 { margin-top:12px !important; }
|
||||
.mt13 { margin-top:13px !important; }
|
||||
.mt14 { margin-top:14px !important; }
|
||||
.mt15 { margin-top:15px !important; }
|
||||
.mt16 { margin-top:16px !important; }
|
||||
.mt17 { margin-top:17px !important; }
|
||||
.mt18 { margin-top:18px !important; }
|
||||
.mt19 { margin-top:19px !important; }
|
||||
.mt20 { margin-top:20px !important; }
|
||||
.mt25 { margin-top:25px !important; }
|
||||
.mt30 { margin-top:30px !important; }
|
||||
.mt35 { margin-top:35px !important; }
|
||||
.mt40 { margin-top:40px !important; }
|
||||
.mt45 { margin-top:45px !important; }
|
||||
.mt50 { margin-top:50px !important; }
|
||||
.mt60 { margin-top:60px !important; }
|
||||
.mt70 { margin-top:70px !important; }
|
||||
.mt80 { margin-top:80px !important; }
|
||||
.mt90 { margin-top:90px !important; }
|
||||
.mt100 { margin-top:100px !important; }
|
||||
|
||||
.mr0 { margin-right:0px !important; }
|
||||
.mr1 { margin-right:1px !important; }
|
||||
.mr2 { margin-right:2px !important; }
|
||||
.mr3 { margin-right:3px !important; }
|
||||
.mr4 { margin-right:4px !important; }
|
||||
.mr5 { margin-right:5px !important; }
|
||||
.mr6 { margin-right:6px !important; }
|
||||
.mr7 { margin-right:7px !important; }
|
||||
.mr8 { margin-right:8px !important; }
|
||||
.mr9 { margin-right:9px !important; }
|
||||
.mr10 { margin-right:10px !important; }
|
||||
.mr11 { margin-right:11px !important; }
|
||||
.mr12 { margin-right:12px !important; }
|
||||
.mr13 { margin-right:13px !important; }
|
||||
.mr14 { margin-right:14px !important; }
|
||||
.mr15 { margin-right:15px !important; }
|
||||
.mr16 { margin-right:16px !important; }
|
||||
.mr17 { margin-right:17px !important; }
|
||||
.mr18 { margin-right:18px !important; }
|
||||
.mr19 { margin-right:19px !important; }
|
||||
.mr20 { margin-right:20px !important; }
|
||||
.mr25 { margin-right:25px !important; }
|
||||
.mr30 { margin-right:30px !important; }
|
||||
.mr35 { margin-right:35px !important; }
|
||||
.mr40 { margin-right:40px !important; }
|
||||
.mr45 { margin-right:45px !important; }
|
||||
.mr50 { margin-right:50px !important; }
|
||||
.mr60 { margin-right:60px !important; }
|
||||
.mr70 { margin-right:70px !important; }
|
||||
.mr80 { margin-right:80px !important; }
|
||||
.mr90 { margin-right:90px !important; }
|
||||
.mr100 { margin-right:100px !important; }
|
||||
|
||||
.mb0 { margin-bottom:0px !important; }
|
||||
.mb1 { margin-bottom:1px !important; }
|
||||
.mb2 { margin-bottom:2px !important; }
|
||||
.mb3 { margin-bottom:3px !important; }
|
||||
.mb4 { margin-bottom:4px !important; }
|
||||
.mb5 { margin-bottom:5px !important; }
|
||||
.mb6 { margin-bottom:6px !important; }
|
||||
.mb7 { margin-bottom:7px !important; }
|
||||
.mb8 { margin-bottom:8px !important; }
|
||||
.mb9 { margin-bottom:9px !important; }
|
||||
.mb10 { margin-bottom:10px !important; }
|
||||
.mb11 { margin-bottom:11px !important; }
|
||||
.mb12 { margin-bottom:12px !important; }
|
||||
.mb13 { margin-bottom:13px !important; }
|
||||
.mb14 { margin-bottom:14px !important; }
|
||||
.mb15 { margin-bottom:15px !important; }
|
||||
.mb16 { margin-bottom:16px !important; }
|
||||
.mb17 { margin-bottom:17px !important; }
|
||||
.mb18 { margin-bottom:18px !important; }
|
||||
.mb19 { margin-bottom:19px !important; }
|
||||
.mb20 { margin-bottom:20px !important; }
|
||||
.mb25 { margin-bottom:25px !important; }
|
||||
.mb30 { margin-bottom:30px !important; }
|
||||
.mb35 { margin-bottom:35px !important; }
|
||||
.mb40 { margin-bottom:40px !important; }
|
||||
.mb45 { margin-bottom:45px !important; }
|
||||
.mb50 { margin-bottom:50px !important; }
|
||||
.mb60 { margin-bottom:60px !important; }
|
||||
.mb70 { margin-bottom:70px !important; }
|
||||
.mb80 { margin-bottom:80px !important; }
|
||||
.mb90 { margin-bottom:90px !important; }
|
||||
.mb100 { margin-bottom:100px !important; }
|
||||
|
||||
.ml0 { margin-left:0px !important; }
|
||||
.ml1 { margin-left:1px !important; }
|
||||
.ml2 { margin-left:2px !important; }
|
||||
.ml3 { margin-left:3px !important; }
|
||||
.ml4 { margin-left:4px !important; }
|
||||
.ml5 { margin-left:5px !important; }
|
||||
.ml6 { margin-left:6px !important; }
|
||||
.ml7 { margin-left:7px !important; }
|
||||
.ml8 { margin-left:8px !important; }
|
||||
.ml9 { margin-left:9px !important; }
|
||||
.ml10 { margin-left:10px !important; }
|
||||
.ml11 { margin-left:11px !important; }
|
||||
.ml12 { margin-left:12px !important; }
|
||||
.ml13 { margin-left:13px !important; }
|
||||
.ml14 { margin-left:14px !important; }
|
||||
.ml15 { margin-left:15px !important; }
|
||||
.ml16 { margin-left:16px !important; }
|
||||
.ml17 { margin-left:17px !important; }
|
||||
.ml18 { margin-left:18px !important; }
|
||||
.ml19 { margin-left:19px !important; }
|
||||
.ml20 { margin-left:20px !important; }
|
||||
.ml25 { margin-left:25px !important; }
|
||||
.ml30 { margin-left:30px !important; }
|
||||
.ml35 { margin-left:35px !important; }
|
||||
.ml40 { margin-left:40px !important; }
|
||||
.ml45 { margin-left:45px !important; }
|
||||
.ml50 { margin-left:50px !important; }
|
||||
.ml60 { margin-left:60px !important; }
|
||||
.ml70 { margin-left:70px !important; }
|
||||
.ml80 { margin-left:80px !important; }
|
||||
.ml90 { margin-left:90px !important; }
|
||||
.ml100 { margin-left:100px !important; }
|
||||
|
||||
.b0 { border-width:0 !important; }
|
||||
.b1 { border-width:1px !important; }
|
||||
.b2 { border-width:2px !important; }
|
||||
|
||||
.bt0 { border-top-width:0 !important; }
|
||||
.bt1 { border-top-width:1px !important; }
|
||||
.bt2 { border-top-width:2px !important; }
|
||||
|
||||
.br0 { border-right-width:0 !important; }
|
||||
.br1 { border-right-width:1px !important; }
|
||||
.br2 { border-right-width:2px !important; }
|
||||
|
||||
.bb0 { border-bottom-width:0 !important; }
|
||||
.bb1 { border-bottom-width:1px !important; }
|
||||
.bb2 { border-bottom-width:2px !important; }
|
||||
|
||||
.bl0 { border-left-width:0 !important; }
|
||||
.bl1 { border-left-width:1px !important; }
|
||||
.bl2 { border-left-width:2px !important; }
|
||||
|
||||
/*************/
|
||||
/* recaptcha */
|
||||
/*************/
|
||||
.grecaptcha-badge {
|
||||
visibility: hidden;
|
||||
}
|
||||
23
barobill/convImg/createTaxFile.asp
Normal file
23
barobill/convImg/createTaxFile.asp
Normal file
@@ -0,0 +1,23 @@
|
||||
<% @Language="VBScript" CODEPAGE="65001" %>
|
||||
<%
|
||||
imgData = Request("imgdata")
|
||||
ntsNum = Request("ntsnum")
|
||||
|
||||
filepath = "/UpLoad/DOC_ATTACH/tax/" & ntsNum & "_img.jpg"
|
||||
|
||||
Set CAPIUtil = Server.CreateObject("CAPICOM.Utilities")
|
||||
|
||||
strEncoded = imgdata
|
||||
|
||||
Set Stream = Server.CreateObject("ADODB.Stream")
|
||||
strDecoded = CAPIUtil.Base64Decode(strEncoded) '디코딩.
|
||||
strFile2 = CAPIUtil.BinaryStringToByteArray(strDecoded) 'ByteArry로 변환
|
||||
Stream.Type = 1
|
||||
Stream.Open
|
||||
Stream.Write strFile2
|
||||
Stream.SaveToFile Server.MapPath(filepath), 2
|
||||
Stream.Close
|
||||
Set Stream = nothing
|
||||
|
||||
Response.Write filepath
|
||||
%>
|
||||
43
barobill/convImg/createTaxImg.asp
Normal file
43
barobill/convImg/createTaxImg.asp
Normal file
@@ -0,0 +1,43 @@
|
||||
<% @Language="VBScript" CODEPAGE="65001" %>
|
||||
<%
|
||||
ntsUrl = Request("ntsurl")
|
||||
ntsNum = Request("ntsnum")
|
||||
%>
|
||||
<link rel="stylesheet" href="/barobill/convImg/barobill.css">
|
||||
<link rel="stylesheet" href="/barobill/convImg/dti.css">
|
||||
<link rel="stylesheet" href="/barobill/convImg/layout.css">
|
||||
<script src="/js/jquery.min.js"></script>
|
||||
<script src="/js/html2canvas.js"></script>
|
||||
<script>
|
||||
$.ajax({
|
||||
url : "/barobill/proxy.asp?ntsurl=" + encodeURIComponent("<%=ntsUrl%>"),
|
||||
success:function(response) {
|
||||
$("#resultDiv").html(response);
|
||||
html2canvas($("#toImgDiv")[0]).then(function(canvas){
|
||||
var imgData = canvas.toDataURL("image/png");
|
||||
imgData = imgData.replace('data:image/png;base64,','');
|
||||
|
||||
$.ajax({
|
||||
url: "./createTaxFile.asp",
|
||||
type: "POST",
|
||||
data: {"imgdata" : imgData, "ntsnum" : "<%= ntsNum%>" },
|
||||
success: function(filePath){
|
||||
//console.log(filePath);
|
||||
var tmpHtml = "";
|
||||
tmpHtml += "<input type='hidden' name='doc_attach_file' value='" + filePath + "' />";
|
||||
tmpHtml += "<div class='attach_preview'>";
|
||||
tmpHtml += " <img src='" + filePath + "' />";
|
||||
tmpHtml += "</div>";
|
||||
$(top.document).find(".attach_div").append(tmpHtml);
|
||||
|
||||
//self.close();
|
||||
}
|
||||
})
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<div style="display:inline-block; width:auto; padding:20px;" id="toImgDiv">
|
||||
<div class="invoice-view invoice-view-blue" id="resultDiv" style="width:830px;">
|
||||
</div>
|
||||
</div>
|
||||
616
barobill/convImg/dti.css
Normal file
616
barobill/convImg/dti.css
Normal file
@@ -0,0 +1,616 @@
|
||||
@charset "utf-8";
|
||||
|
||||
/*****************/
|
||||
/* invoice-write */
|
||||
/*****************/
|
||||
.invoice-write {
|
||||
position:relative;
|
||||
font-size:12px;
|
||||
}
|
||||
|
||||
.invoice-write .form-container {
|
||||
border-top:2px solid #dedede;
|
||||
border-bottom:2px solid #dedede;
|
||||
}
|
||||
.invoice-write.invoice-write-red .form-container {
|
||||
border-color:#a1a1ab;
|
||||
}
|
||||
.invoice-write.invoice-write-blue .form-container {
|
||||
border-color:#a1a1ab;
|
||||
}
|
||||
|
||||
.invoice-write .table-invoice th,
|
||||
.invoice-write .table-invoice td {
|
||||
border:1px solid #dedede;
|
||||
border-top-width:0;
|
||||
border-left-width:0;
|
||||
padding:3px;
|
||||
height:31px;
|
||||
}
|
||||
.invoice-write .table-invoice th {
|
||||
color:#474747;
|
||||
}
|
||||
.invoice-write .table-invoice th.bt,
|
||||
.invoice-write .table-invoice td.bt {
|
||||
border-top-width:2px;
|
||||
border-top-color:#a1a1ab;
|
||||
}
|
||||
|
||||
.invoice-write .table-invoice th {
|
||||
background-color:#f3f5f4;
|
||||
font-weight:normal;
|
||||
}
|
||||
.invoice-write .table-invoice th.bg-n,
|
||||
.invoice-write .table-invoice td.bg-n {
|
||||
background-color:transparent !important;
|
||||
}
|
||||
|
||||
.invoice-write .table-invoice th.invoicer,
|
||||
.invoice-write .table-invoice td.invoicer {
|
||||
border-bottom-color:#f9b2c4;
|
||||
border-right-color:#f9b2c4;
|
||||
}
|
||||
.invoice-write .table-invoice th.invoicer {
|
||||
background-color:#fef4f5;
|
||||
color:#f03347;
|
||||
}
|
||||
.invoice-write .table-invoice th.invoicer.title {
|
||||
background-color:#ffc4ca;
|
||||
color:#ff2c4c;
|
||||
font-weight:bold;
|
||||
}
|
||||
.invoice-write .table-invoice th.invoicer.bt,
|
||||
.invoice-write .table-invoice td.invoicer.bt {
|
||||
border-top-color:#f9b1b4;
|
||||
}
|
||||
|
||||
.invoice-write .table-invoice th.invoicee,
|
||||
.invoice-write .table-invoice td.invoicee {
|
||||
border-bottom-color:#b1c8f2;
|
||||
border-right-color:#b1c8f2;
|
||||
}
|
||||
.invoice-write .table-invoice th.invoicee {
|
||||
background-color:#e9f3ff;
|
||||
color:#526b93;
|
||||
}
|
||||
.invoice-write .table-invoice th.invoicee.title {
|
||||
background-color:#c4dcff;
|
||||
color:#3465b2;
|
||||
font-weight:bold;
|
||||
}
|
||||
.invoice-write .table-invoice th.invoicee.bt,
|
||||
.invoice-write .table-invoice td.invoicee.bt {
|
||||
border-top-color:#b0ccfe;
|
||||
}
|
||||
|
||||
.invoice-write .table-invoice .invoice-items td {
|
||||
height:30px;
|
||||
}
|
||||
|
||||
.invoice-write .table-invoice input[type=text] {
|
||||
height:100%;
|
||||
min-height:20px;
|
||||
}
|
||||
.invoice-write .table-invoice input[type=text].truster-tax-reg-id {
|
||||
height:20px;
|
||||
}
|
||||
|
||||
.invoice-write .table-invoice textarea {
|
||||
overflow:hidden;
|
||||
min-height:35px;
|
||||
}
|
||||
|
||||
/****************/
|
||||
/* invoice-view */
|
||||
/****************/
|
||||
.invoice-view {
|
||||
position:relative;
|
||||
font-size:12px;
|
||||
}
|
||||
.invoice-view.invoice-view-red .form-header,
|
||||
.invoice-view.invoice-view-red .form-header *,
|
||||
.invoice-view.invoice-view-red .form-body,
|
||||
.invoice-view.invoice-view-red .form-body *,
|
||||
.invoice-view.invoice-view-red .form-footer,
|
||||
.invoice-view.invoice-view-red .form-footer *,
|
||||
.invoice-view.invoice-view-red .form-description,
|
||||
.invoice-view.invoice-view-red .form-description *,
|
||||
.invoice-view.invoice-view-red .form-description2,
|
||||
.invoice-view.invoice-view-red .form-description2 * {
|
||||
color:#d13827;
|
||||
}
|
||||
.invoice-view.invoice-view-blue .form-header,
|
||||
.invoice-view.invoice-view-blue .form-header *,
|
||||
.invoice-view.invoice-view-blue .form-body,
|
||||
.invoice-view.invoice-view-blue .form-body *,
|
||||
.invoice-view.invoice-view-blue .form-footer,
|
||||
.invoice-view.invoice-view-blue .form-footer *,
|
||||
.invoice-view.invoice-view-blue .form-description,
|
||||
.invoice-view.invoice-view-blue .form-description *,
|
||||
.invoice-view.invoice-view-blue .form-description2,
|
||||
.invoice-view.invoice-view-blue .form-description2 * {
|
||||
color:#0068a5;
|
||||
}
|
||||
|
||||
/* watermark */
|
||||
.invoice-view .watermark-container {
|
||||
position:relative;
|
||||
width:100%;
|
||||
height:0px;
|
||||
line-height:0px;
|
||||
font-size:0px;
|
||||
z-index:997;
|
||||
}
|
||||
.invoice-view .watermark-container .watermark {
|
||||
position:absolute;
|
||||
top:105px;
|
||||
}
|
||||
.invoice-view .watermark-container .watermark img {
|
||||
width:340px;
|
||||
}
|
||||
.invoice-view .watermark-container .watermark.watermark1{
|
||||
left:35px;
|
||||
}
|
||||
.invoice-view .watermark-container .watermark.watermark2{
|
||||
right:15px;
|
||||
}
|
||||
|
||||
/* seal */
|
||||
.invoice-view .seal-container{
|
||||
position:relative;
|
||||
z-index:998;
|
||||
width:100%;
|
||||
height:0px;
|
||||
font-size:0px;
|
||||
line-height:0px;
|
||||
}
|
||||
.invoice-view .seal-container .seal {
|
||||
position: absolute;
|
||||
}
|
||||
.invoice-view .seal-container .seal.truster {
|
||||
top: 243px;
|
||||
right: 0px;
|
||||
}
|
||||
.invoice-view .seal-container .seal.ti {
|
||||
top: 87px;
|
||||
left: 370px;
|
||||
}
|
||||
|
||||
/* form-header */
|
||||
.invoice-view .form-header {
|
||||
position:relative;
|
||||
z-index:999;
|
||||
height:17px;
|
||||
text-align:right;
|
||||
}
|
||||
.invoice-view .form-header .ntsconfirmnum {
|
||||
position:absolute;
|
||||
top:0;
|
||||
right:0;
|
||||
line-height:1;
|
||||
}
|
||||
|
||||
/* form-body */
|
||||
.invoice-view .form-body {
|
||||
position:relative;
|
||||
z-index:998;
|
||||
box-sizing:content-box;
|
||||
}
|
||||
.invoice-view .form-body * { box-sizing:content-box; letter-spacing:0; }
|
||||
|
||||
.invoice-view .form-body {
|
||||
border:2px solid #dedede;
|
||||
}
|
||||
.invoice-view.invoice-view-red .form-body {
|
||||
border-color:#d13827;
|
||||
}
|
||||
.invoice-view.invoice-view-blue .form-body {
|
||||
border-color:#0068a5;
|
||||
}
|
||||
|
||||
.invoice-view .form-container .table-invoice {
|
||||
width:100%;
|
||||
border-spacing:0px 0px;
|
||||
}
|
||||
.invoice-view .form-container .table-invoice th,
|
||||
.invoice-view .form-container .table-invoice td {
|
||||
font-weight:normal;
|
||||
padding:2px 0;
|
||||
height:20px;
|
||||
}
|
||||
.invoice-view .form-container .table-invoice td {
|
||||
color:#000;
|
||||
}
|
||||
.invoice-view .form-container .table-invoice th.a_l,
|
||||
.invoice-view .form-container .table-invoice td.a_l {
|
||||
padding-left:3px !important;
|
||||
}
|
||||
.invoice-view .form-container .table-invoice th.a_r,
|
||||
.invoice-view .form-container .table-invoice td.a_r {
|
||||
padding-right:3px !important;
|
||||
}
|
||||
.invoice-view .form-container .table-invoice th.bg-n,
|
||||
.invoice-view .form-container .table-invoice td.bg-n {
|
||||
background-color:transparent !important;
|
||||
}
|
||||
|
||||
.invoice-view .form-container .table-invoice th,
|
||||
.invoice-view .form-container .table-invoice td {
|
||||
border-right:1px solid #a0a0a0;
|
||||
border-bottom:1px solid #a0a0a0;
|
||||
}
|
||||
.invoice-view .form-container .table-invoice th,
|
||||
.invoice-view .form-container .table-invoice td.th {
|
||||
background-color:#f5f5f5;
|
||||
}
|
||||
.invoice-view .form-container .table-invoice th.br,
|
||||
.invoice-view .form-container .table-invoice td.br {
|
||||
border-right-color:#333;
|
||||
}
|
||||
.invoice-view .form-container .table-invoice th.bb,
|
||||
.invoice-view .form-container .table-invoice td.bb {
|
||||
border-bottom-color:#333;
|
||||
}
|
||||
|
||||
.invoice-view .form-container .table-invoice .invoice-items tr td .detailtext {
|
||||
color:#000;
|
||||
}
|
||||
|
||||
.invoice-view.invoice-view-red .form-container .table-invoice th,
|
||||
.invoice-view.invoice-view-red .form-container .table-invoice td {
|
||||
border-right-color:#e6a9a6;
|
||||
border-bottom-color:#e6a9a6;
|
||||
}
|
||||
.invoice-view.invoice-view-red .form-container .table-invoice th,
|
||||
.invoice-view.invoice-view-red .form-container .table-invoice td.th {
|
||||
background-color:#faf4f4;
|
||||
}
|
||||
.invoice-view.invoice-view-red .form-container .table-invoice th {
|
||||
color:#d13827;
|
||||
}
|
||||
.invoice-view.invoice-view-red .form-container .table-invoice th.br,
|
||||
.invoice-view.invoice-view-red .form-container .table-invoice td.br {
|
||||
border-right-color:#d13827;
|
||||
}
|
||||
.invoice-view.invoice-view-red .form-container .table-invoice th.bb,
|
||||
.invoice-view.invoice-view-red .form-container .table-invoice td.bb {
|
||||
border-bottom-color:#d13827;
|
||||
}
|
||||
|
||||
.invoice-view.invoice-view-blue .form-container .table-invoice th,
|
||||
.invoice-view.invoice-view-blue .form-container .table-invoice td {
|
||||
border-right-color:#80b4cc;
|
||||
border-bottom-color:#80b4cc;
|
||||
}
|
||||
.invoice-view.invoice-view-blue .form-container .table-invoice th,
|
||||
.invoice-view.invoice-view-blue .form-container .table-invoice td.th {
|
||||
background-color:#edf2f8;
|
||||
}
|
||||
.invoice-view.invoice-view-blue .form-container .table-invoice th {
|
||||
color:#0068a5;
|
||||
}
|
||||
.invoice-view.invoice-view-blue .form-container .table-invoice th.br,
|
||||
.invoice-view.invoice-view-blue .form-container .table-invoice td.br {
|
||||
border-right-color:#0068a5;
|
||||
}
|
||||
.invoice-view.invoice-view-blue .form-container .table-invoice th.bb,
|
||||
.invoice-view.invoice-view-blue .form-container .table-invoice td.bb {
|
||||
border-bottom-color:#0068a5;
|
||||
}
|
||||
|
||||
/* form-footer */
|
||||
.invoice-view .form-footer {
|
||||
position:relative;
|
||||
height:17px;
|
||||
font-size:12px;
|
||||
}
|
||||
.invoice-view .form-footer .mgtnum {
|
||||
position:absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
width:100%;
|
||||
text-align:center;
|
||||
letter-spacing:0;
|
||||
}
|
||||
|
||||
/* stamp */
|
||||
.invoice-view .stamp-container {
|
||||
position:relative;
|
||||
z-index:998;
|
||||
height:0px;
|
||||
font-size:0px;
|
||||
line-height:0px;
|
||||
}
|
||||
.invoice-view .stamp-container .stamp {
|
||||
position:absolute;
|
||||
top:-77px;
|
||||
right:120px;
|
||||
width:134px;
|
||||
height:134px;
|
||||
}
|
||||
.invoice-view .stamp-container .stamp img {
|
||||
width:100%;
|
||||
height:100%;
|
||||
}
|
||||
.invoice-view .stamp-container .stamp .stamp-datetime{
|
||||
position:absolute;
|
||||
top:90px;
|
||||
left:0px;
|
||||
width:100%;
|
||||
font-weight:bold;
|
||||
font-size:12px;
|
||||
line-height:12px;
|
||||
letter-spacing: 0;
|
||||
text-align:center;
|
||||
}
|
||||
.invoice-view .stamp-container .stamp.stamp-red .stamp-datetime {
|
||||
color:#F14A55;
|
||||
}
|
||||
.invoice-view .stamp-container .stamp.stamp-blue .stamp-datetime {
|
||||
color:#566CC0;
|
||||
}
|
||||
|
||||
/* form-description */
|
||||
.form-description {
|
||||
color:#000 !important;
|
||||
}
|
||||
|
||||
/* form-description2 */
|
||||
.form-description2 {
|
||||
margin-top:10px;
|
||||
padding:3px 5px 3px 5px;
|
||||
border:2px solid #555;
|
||||
}
|
||||
|
||||
/* attached-highlight */
|
||||
.attached-highlight.on {
|
||||
background: #b7e8ff;
|
||||
}
|
||||
|
||||
/**************************/
|
||||
/* invoice-view-for-print */
|
||||
/**************************/
|
||||
.invoice-view.invoice-view-for-print * {
|
||||
font-family:dotum, sans-serif;
|
||||
letter-spacing:-1px;
|
||||
}
|
||||
.invoice-view.invoice-view-for-print.invoice-view-red .form-header,
|
||||
.invoice-view.invoice-view-for-print.invoice-view-red .form-header *,
|
||||
.invoice-view.invoice-view-for-print.invoice-view-red .form-body,
|
||||
.invoice-view.invoice-view-for-print.invoice-view-red .form-body *,
|
||||
.invoice-view.invoice-view-for-print.invoice-view-red .form-footer,
|
||||
.invoice-view.invoice-view-for-print.invoice-view-red .form-footer *,
|
||||
.invoice-view.invoice-view-for-print.invoice-view-red .form-description,
|
||||
.invoice-view.invoice-view-for-print.invoice-view-red .form-description *,
|
||||
.invoice-view.invoice-view-for-print.invoice-view-red .form-description2,
|
||||
.invoice-view.invoice-view-for-print.invoice-view-red .form-description2 * {
|
||||
color:red;
|
||||
}
|
||||
.invoice-view.invoice-view-for-print.invoice-view-blue .form-header,
|
||||
.invoice-view.invoice-view-for-print.invoice-view-blue .form-header *,
|
||||
.invoice-view.invoice-view-for-print.invoice-view-blue .form-body,
|
||||
.invoice-view.invoice-view-for-print.invoice-view-blue .form-body *,
|
||||
.invoice-view.invoice-view-for-print.invoice-view-blue .form-footer,
|
||||
.invoice-view.invoice-view-for-print.invoice-view-blue .form-footer *,
|
||||
.invoice-view.invoice-view-for-print.invoice-view-blue .form-description,
|
||||
.invoice-view.invoice-view-for-print.invoice-view-blue .form-description *,
|
||||
.invoice-view.invoice-view-for-print.invoice-view-blue .form-description2,
|
||||
.invoice-view.invoice-view-for-print.invoice-view-blue .form-description2 * {
|
||||
color:blue;
|
||||
}
|
||||
|
||||
/* watermark */
|
||||
.invoice-view.invoice-view-for-print .watermark-container .watermark {
|
||||
top:65px;
|
||||
}
|
||||
.invoice-view.invoice-view-for-print .watermark-container .watermark img {
|
||||
width:270px;
|
||||
}
|
||||
.invoice-view.invoice-view-for-print .watermark-container .watermark.watermark1 {
|
||||
left:35px;
|
||||
}
|
||||
.invoice-view.invoice-view-for-print .watermark-container .watermark.watermark2 {
|
||||
right:15px;
|
||||
}
|
||||
|
||||
/* seal */
|
||||
.invoice-view.invoice-view-for-print .seal-container .seal.truster {
|
||||
top: 142px;
|
||||
right: 0px;
|
||||
}
|
||||
.invoice-view.invoice-view-for-print .seal-container .seal.ti {
|
||||
top: 60px;
|
||||
left: 310px;
|
||||
}
|
||||
|
||||
/* form-header */
|
||||
.invoice-view.invoice-view-for-print .form-header {
|
||||
height:12px;
|
||||
font-size:11px;
|
||||
}
|
||||
|
||||
/* form-body */
|
||||
.invoice-view .form-body {
|
||||
border-color:#000;
|
||||
}
|
||||
.invoice-view.invoice-view-for-print.invoice-view-red .form-body {
|
||||
border-color:red;
|
||||
}
|
||||
.invoice-view.invoice-view-for-print.invoice-view-blue .form-body {
|
||||
border-color:blue;
|
||||
}
|
||||
|
||||
.invoice-view.invoice-view-for-print .form-container .table-invoice th,
|
||||
.invoice-view.invoice-view-for-print .form-container .table-invoice td {
|
||||
padding:0;
|
||||
line-height:14px;
|
||||
height:18px;
|
||||
}
|
||||
.invoice-view.invoice-view-for-print .form-container .table-invoice td,
|
||||
.invoice-view.invoice-view-for-print .form-container .table-invoice td * {
|
||||
color:#000;
|
||||
}
|
||||
.invoice-view.invoice-view-for-print .form-container .table-invoice .invoice-items tr td {
|
||||
font-size:10px;
|
||||
height:20px;
|
||||
}
|
||||
.invoice-view.invoice-view-for-print .form-container .table-invoice .invoice-items tr td .detailtext {
|
||||
overflow: hidden;
|
||||
max-height: 21px;
|
||||
margin-top: -1px;
|
||||
line-height: 10px;
|
||||
}
|
||||
|
||||
.invoice-view.invoice-view-for-print.invoice-view-red .form-container .table-invoice th,
|
||||
.invoice-view.invoice-view-for-print.invoice-view-red .form-container .table-invoice td {
|
||||
border-color:red !important;
|
||||
background:none;
|
||||
}
|
||||
.invoice-view.invoice-view-for-print.invoice-view-red .form-container .table-invoice th {
|
||||
color:red !important;
|
||||
}
|
||||
|
||||
.invoice-view.invoice-view-for-print.invoice-view-blue .form-container .table-invoice th,
|
||||
.invoice-view.invoice-view-for-print.invoice-view-blue .form-container .table-invoice td {
|
||||
border-color:blue !important;
|
||||
background:none;
|
||||
}
|
||||
.invoice-view.invoice-view-for-print.invoice-view-blue .form-container .table-invoice th {
|
||||
color:blue !important;
|
||||
}
|
||||
|
||||
/* stamp */
|
||||
.invoice-view.invoice-view-for-print .stamp-container .stamp {
|
||||
width:110px;
|
||||
height:110px;
|
||||
}
|
||||
.invoice-view.invoice-view-for-print .stamp-container .stamp .stamp-datetime{
|
||||
top:72px;
|
||||
}
|
||||
|
||||
/* form-description */
|
||||
.invoice-view.invoice-view-for-print .form-description {
|
||||
padding-top:3px;
|
||||
font-size:11px;
|
||||
line-height:13px;
|
||||
}
|
||||
|
||||
/******************/
|
||||
/* summation-view */
|
||||
/******************/
|
||||
.summation-view {
|
||||
font-size:12px;
|
||||
box-sizing:content-box;
|
||||
}
|
||||
.summation-view * { box-sizing:content-box; letter-spacing:0; }
|
||||
|
||||
/* watermark */
|
||||
.summation-view .watermark-container {
|
||||
position:relative;
|
||||
z-index:998;
|
||||
width:100%;
|
||||
height:0px;
|
||||
font-size:0px;
|
||||
line-height:0px;
|
||||
}
|
||||
.summation-view .watermark-container .watermark{
|
||||
position:absolute;
|
||||
top:350px;
|
||||
left:0px;
|
||||
width:100%;
|
||||
text-align:center;
|
||||
}
|
||||
|
||||
/* form-body */
|
||||
.summation-view .form-body {
|
||||
position:relative;
|
||||
z-index:998;
|
||||
box-sizing:content-box;
|
||||
}
|
||||
.summation-view .form-body * { box-sizing:content-box; letter-spacing:0; }
|
||||
|
||||
.summation-view .form-body {
|
||||
position:relative;
|
||||
z-index:999;
|
||||
padding:20px;
|
||||
border:1px solid #999;
|
||||
}
|
||||
.summation-view .form-body .table-summation {
|
||||
width:100%;
|
||||
}
|
||||
.summation-view .form-body .table-summation th,
|
||||
.summation-view .form-body .table-summation td {
|
||||
height:21px;
|
||||
padding:3px 0;
|
||||
border-right:1px solid #aaa;
|
||||
border-bottom:1px solid #aaa;
|
||||
}
|
||||
.summation-view .form-body .table-summation th.bb,
|
||||
.summation-view .form-body .table-summation td.bb {
|
||||
border-bottom-color:#666;
|
||||
}
|
||||
.summation-view .form-body .table-summation th.a_l,
|
||||
.summation-view .form-body .table-summation td.a_l {
|
||||
padding-left:3px;
|
||||
}
|
||||
.summation-view .form-body .table-summation th.a_r,
|
||||
.summation-view .form-body .table-summation td.a_r {
|
||||
padding-right:3px;
|
||||
}
|
||||
.summation-view .form-body .table-summation .table-summation-detail {
|
||||
height:250px;
|
||||
border-top:1px solid #666;
|
||||
border-bottom:1px solid #666;
|
||||
overflow-y:scroll;
|
||||
}
|
||||
|
||||
/****************************/
|
||||
/* summation-view-for-print */
|
||||
/****************************/
|
||||
|
||||
/* watermark */
|
||||
.summation-view.summation-view-for-print .watermark-container .watermark{
|
||||
top:340px;
|
||||
}
|
||||
|
||||
/* form-body */
|
||||
.summation-view.summation-view-for-print .form-body {
|
||||
border:none;
|
||||
padding:0;
|
||||
font-family:batang,sans-serif;
|
||||
}
|
||||
.summation-view.summation-view-for-print .form-body .table-summation th,
|
||||
.summation-view.summation-view-for-print .form-body .table-summation td {
|
||||
border-right-color:#999;
|
||||
border-bottom-color:#999;
|
||||
}
|
||||
.summation-view.summation-view-for-print .form-body .table-summation th.bt1,
|
||||
.summation-view.summation-view-for-print .form-body .table-summation td.bt1 {
|
||||
border-top:1px solid #999;
|
||||
}
|
||||
.summation-view.summation-view-for-print .form-body .table-summation th.bl1,
|
||||
.summation-view.summation-view-for-print .form-body .table-summation td.bl1 {
|
||||
border-left:1px solid #999;
|
||||
}
|
||||
.summation-view.summation-view-for-print .form-body .table-summation th.bb,
|
||||
.summation-view.summation-view-for-print .form-body .table-summation td.bb {
|
||||
border-bottom-color:#000;
|
||||
}
|
||||
|
||||
/************************/
|
||||
/* modify code selector */
|
||||
/************************/
|
||||
.modify-codes table th,
|
||||
.modify-codes table td {
|
||||
padding:12px 25px;
|
||||
border:1px solid #eaedf4;
|
||||
font-size:13px;
|
||||
line-height:1.5;
|
||||
}
|
||||
.modify-codes table th {
|
||||
padding-left:0;
|
||||
padding-right:0;
|
||||
color: #213859;
|
||||
background-color:#e8eefa;
|
||||
text-align:center;
|
||||
}
|
||||
3787
barobill/convImg/layout.css
Normal file
3787
barobill/convImg/layout.css
Normal file
File diff suppressed because it is too large
Load Diff
44
barobill/proxy.asp
Normal file
44
barobill/proxy.asp
Normal file
@@ -0,0 +1,44 @@
|
||||
<% @Language="VBScript" CODEPAGE="65001" %>
|
||||
<%
|
||||
Set objwinHttp = Server.CreateObject("WinHttp.WinHttpRequest.5.1")
|
||||
url = Request("ntsurl")
|
||||
objwinHttp.Open "GET", url, false
|
||||
objwinHttp.Send()
|
||||
Response.ContentType="text/plain"
|
||||
Response.Charset="UTF-8"
|
||||
returnMsg = fnStreamBinaryToString(objWinHttp.ResponseBody, "UTF-8")
|
||||
returnMsg = mid(returnMsg, inStr(returnMsg, "location.replace(")+18, inStr(returnMsg, "},200);") - (inStr(returnMsg, "location.replace(")) - 23)
|
||||
|
||||
url = "https://www.barobill.co.kr" & Replace(returnMsg,"""","")
|
||||
objwinHttp.Open "GET", url, false
|
||||
objwinHttp.Send()
|
||||
returnMsg = fnStreamBinaryToString(objWinHttp.ResponseBody, "UTF-8")
|
||||
returnMsg = mid(returnMsg, inStr(returnMsg, "<div class=""form-container"">"), inStr(returnMsg, "<div class=""stamp-container"">") - (inStr(returnMsg, "<div class=""form-container"">")))
|
||||
|
||||
Response.Write returnMsg
|
||||
|
||||
set objWinHttp = nothing
|
||||
|
||||
Function fnStreamBinaryToString(Binary, CharSet)
|
||||
Const adTypeText = 2
|
||||
Const adTypeBinary = 1
|
||||
|
||||
Dim BinaryStream
|
||||
Set BinaryStream = CreateObject("ADODB.Stream")
|
||||
|
||||
BinaryStream.Type = adTypeBinary
|
||||
|
||||
BinaryStream.Open
|
||||
BinaryStream.Write Binary
|
||||
|
||||
BinaryStream.Position = 0
|
||||
BinaryStream.Type = adTypeText
|
||||
|
||||
If Len(CharSet) > 0 Then
|
||||
BinaryStream.CharSet = CharSet
|
||||
Else
|
||||
BinaryStream.CharSet = "us-ascii"
|
||||
End If
|
||||
fnStreamBinaryToString = BinaryStream.ReadText
|
||||
End Function
|
||||
%>
|
||||
Reference in New Issue
Block a user