-
diff --git a/Bancos/RepSaldosDetalle.aspx.vb b/Bancos/RepSaldosDetalle.aspx.vb
index 620ae912b..3ecb33a4d 100644
--- a/Bancos/RepSaldosDetalle.aspx.vb
+++ b/Bancos/RepSaldosDetalle.aspx.vb
@@ -155,6 +155,9 @@ Partial Class Bancos_RepSaldosDetalle
Cuenta = dr("NumCuenta").ToString
CLABE = dr("CLABE").ToString
Banco = dr("Banco").ToString
+ lbBancoNombre.Text = Banco
+ LblFechaI.Text = FechaInicio
+ LblFechaF.Text = FechaFin
If CveCuenta > 0 Then
LblCuenta.Text = dr("NumCuenta").ToString
LblSaldoInicial.Text = dr("SaldoInicial").ToString.ToDouble.FormatoNumero
@@ -174,13 +177,15 @@ Partial Class Bancos_RepSaldosDetalle
End Sub
Protected Sub ImgExcel_Click(sender As Object, e As EventArgs) Handles ImgExcel.Click
- GvS.ExportToExcel("ReporteSaldos" & Now.ToShortDateString)
+ ImprimirReporte("Excel")
End Sub
-
-
#Region "P D F"
Private Sub LinkPDF_Click(sender As Object, e As EventArgs) Handles LinkPDF.Click
+ ImprimirReporte("PDF")
+ End Sub
+
+ Private Sub ImprimirReporte(formato As String)
Dim Imagen As New System.IO.FileInfo(String.Format("{0}/Logo.png", UsuarioActual.Empresa.Ruta))
Dim logouri = String.Format("{0}://{1}:{2}/Empresas/{3}/Logo.png", Request.Url.Scheme, Request.Url.Host, Request.Url.Port, UsuarioActual.CveEmpresa)
@@ -215,7 +220,7 @@ Partial Class Bancos_RepSaldosDetalle
params.Add(New ReportParameter("LogoPath", ""))
End If
- ImprimirPDF("Empresas/Grales/Formatos/RepSaldosDetalle.rdlc", dt, params, "RepSaldosDetalle")
+ ImprimirPDF("Empresas/Grales/Formatos/RepSaldosDetalle.rdlc", dt, params, "RepSaldosDetalle", Formato:=formato)
Ban.Dispose()
End Sub
diff --git a/Compras/Proveedores.aspx.vb b/Compras/Proveedores.aspx.vb
index 0d11cf687..6e1e76ea6 100644
--- a/Compras/Proveedores.aspx.vb
+++ b/Compras/Proveedores.aspx.vb
@@ -2625,7 +2625,7 @@ Partial Class Compras_Proveedores
Dim filemove As String = ""
For Each fileItem As Archivo In filesgral
- FileExtension = IO.Path.GetExtension(String.Format("{0}Temp\{1}", ModExtensiones.DirectorioBaseEmpresas, fileItem.filename)).Replace(".", "")
+ FileExtension = IO.Path.GetExtension(String.Format("{0}Temp\{1}", AppDomain.CurrentDomain.BaseDirectory, fileItem.filename)).Replace(".", "")
filemove = fileItem.filename
Next
@@ -2871,7 +2871,7 @@ Partial Class Compras_Proveedores
Try
- FileExtension = IO.Path.GetExtension(String.Format("{0}Temp\{1}", ModExtensiones.DirectorioBaseEmpresas, fileItem.filename)).Replace(".", "")
+ FileExtension = IO.Path.GetExtension(String.Format("{0}Temp\{1}", AppDomain.CurrentDomain.BaseDirectory, fileItem.filename)).Replace(".", "")
Dim tempArray() As String
tempArray = fileItem.filename.ToString().Split("-".ToCharArray())
diff --git a/Empresas/72/Formatos/ConsumoInterno.rdlc b/Empresas/72/Formatos/ConsumoInterno.rdlc
index 4f83b35f6..cf6d31666 100644
--- a/Empresas/72/Formatos/ConsumoInterno.rdlc
+++ b/Empresas/72/Formatos/ConsumoInterno.rdlc
@@ -6,19 +6,22 @@
- 1.08025cm
+ 1.10177cm
- 2.86537cm
+ 2.88689cm
- 10.83004cm
+ 7.80282cm
- 2.36735cm
+ 2.38887cm
- 2.1384cm
+ 2.86584cm
+
+
+ 2.15992cm
@@ -169,7 +172,7 @@
- Serie/Lote
+ Serie
+
+
+
+
+
+ Textbox4
+
+
+
+
+ 1pt
+
+
+
+ 1pt
+
+ White
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
@@ -356,14 +404,14 @@
-
+
true
true
- =Fields!SerieLote.Value
+ =Fields!Serie.Value
+
+ 2pt
+ 2pt
+ =IIf(RowNumber(Nothing)=1,"1pt","0pt")
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!SeccionAlmacen.Value
+
+
+
+
+
+
+ SeccionAlmacen
@@ -1645,8 +1726,12 @@
Almacen
System.String
-
- SerieLote
+
+ Serie
+ System.String
+
+
+ SeccionAlmacen
System.String
diff --git a/Empresas/72/Formatos/DevolucionCliente.rdlc b/Empresas/72/Formatos/DevolucionCliente.rdlc
index ba12d2d1f..b04d46e3c 100644
--- a/Empresas/72/Formatos/DevolucionCliente.rdlc
+++ b/Empresas/72/Formatos/DevolucionCliente.rdlc
@@ -6,19 +6,22 @@
- 1.4138cm
+ 1.08751cm
2.86537cm
- 7.90885cm
+ 5.59405cm
2.36735cm
- 2.7734cm
+ 2.92336cm
+
+
+ 2.35004cm
@@ -169,7 +172,7 @@
- Serie/Lote
+ Serie
+
+
+
+
+
+ Textbox17
+
+
+
+ Black
+
+ 1pt
+
+
+ Black
+
+ 1pt
+
+ White
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
@@ -350,14 +398,14 @@
-
+
true
true
- =Fields!SerieLote.Value
+ =Fields!Serie.Value
@@ -366,7 +414,37 @@
- SerieLote
+ Serie
+
+
+ 2pt
+ 2pt
+ =IIf(RowNumber(Nothing)=1,"1pt","0pt")
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!SeccionAlmacen.Value
+
+
+
+
+
+
+ SeccionAlmacen
@@ -419,6 +497,7 @@
+
@@ -435,7 +514,7 @@
0.17639cm
0.12931cm
0.96717cm
- 17.32877cm
+ 17.18768cm
@@ -667,7 +746,7 @@
1.28125in