-
This commit is contained in:
@@ -1684,7 +1684,6 @@ Partial Class PopUpVerFactura
|
|||||||
DTRelacionados.Columns.Add(New DataColumn("Relacion", GetType(String)))
|
DTRelacionados.Columns.Add(New DataColumn("Relacion", GetType(String)))
|
||||||
DTRelacionados.Columns.Add(New DataColumn("UUID", GetType(String)))
|
DTRelacionados.Columns.Add(New DataColumn("UUID", GetType(String)))
|
||||||
|
|
||||||
|
|
||||||
Dim XMLDoc As New XmlDocument
|
Dim XMLDoc As New XmlDocument
|
||||||
Dim Path As String = String.Format("{0}\{1}\{2}\{3}.{4}", UsuarioActual.Empresa.Ruta, "XML", TipoDocto, String.Format("{0}", SerieFolio), "xml")
|
Dim Path As String = String.Format("{0}\{1}\{2}\{3}.{4}", UsuarioActual.Empresa.Ruta, "XML", TipoDocto, String.Format("{0}", SerieFolio), "xml")
|
||||||
Dim Archivo As New System.IO.FileInfo(Path)
|
Dim Archivo As New System.IO.FileInfo(Path)
|
||||||
@@ -1708,8 +1707,6 @@ Partial Class PopUpVerFactura
|
|||||||
Dim RutaCBB As String = String.Format("{0}\CBB\{1}.jpg", UsuarioActual.Empresa.Ruta, SerieFolio)
|
Dim RutaCBB As String = String.Format("{0}\CBB\{1}.jpg", UsuarioActual.Empresa.Ruta, SerieFolio)
|
||||||
Dim ImagenCBB As New System.IO.FileInfo(RutaCBB)
|
Dim ImagenCBB As New System.IO.FileInfo(RutaCBB)
|
||||||
|
|
||||||
Dim nodo As XmlNode = XMLDoc.DocumentElement
|
|
||||||
|
|
||||||
Dim Prefijo As String = If(XMLDoc.DocumentElement.Prefix = "", "cfd", XMLDoc.DocumentElement.Prefix)
|
Dim Prefijo As String = If(XMLDoc.DocumentElement.Prefix = "", "cfd", XMLDoc.DocumentElement.Prefix)
|
||||||
Dim cfdVer As String = "http://www.sat.gob.mx/cfd/3"
|
Dim cfdVer As String = "http://www.sat.gob.mx/cfd/3"
|
||||||
Dim namespaces As New XmlNamespaceManager(XMLDoc.NameTable)
|
Dim namespaces As New XmlNamespaceManager(XMLDoc.NameTable)
|
||||||
@@ -1755,12 +1752,9 @@ Partial Class PopUpVerFactura
|
|||||||
Row("Descripcion") = ValorXML(node, "Descripcion", "")
|
Row("Descripcion") = ValorXML(node, "Descripcion", "")
|
||||||
Row("ValorUnitario") = ValorXML(node, "ValorUnitario", "")
|
Row("ValorUnitario") = ValorXML(node, "ValorUnitario", "")
|
||||||
Row("Importe") = ValorXML(node, "Importe", "")
|
Row("Importe") = ValorXML(node, "Importe", "")
|
||||||
|
|
||||||
DtConceptos.Rows.Add(Row)
|
DtConceptos.Rows.Add(Row)
|
||||||
Next
|
Next
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
Dim nodeComp As XmlNode = XMLDoc.SelectSingleNode(String.Format("//{0}:Comprobante/{0}:Complemento", Prefijo), namespaces)
|
Dim nodeComp As XmlNode = XMLDoc.SelectSingleNode(String.Format("//{0}:Comprobante/{0}:Complemento", Prefijo), namespaces)
|
||||||
|
|
||||||
Dim nodeCartaPorte As XmlNode = nodeComp.SelectSingleNode(String.Format("//{0}:CartaPorte", "cartaporte20"), namespaces)
|
Dim nodeCartaPorte As XmlNode = nodeComp.SelectSingleNode(String.Format("//{0}:CartaPorte", "cartaporte20"), namespaces)
|
||||||
|
|||||||
Reference in New Issue
Block a user