Correcciones de Reporte de Compras y su Detalle

This commit is contained in:
janeth arvizu
2019-08-28 10:51:08 -07:00
parent f01f6ed68d
commit 22a889efe3
3 changed files with 13 additions and 15 deletions

View File

@@ -285,12 +285,10 @@ Partial Class Compras_RepCompras
If e.Row.DBCampo("Orden") = "" Then
e.Row.FCLiteral("LtlGrupo").Text = e.Row.FCLiteral("LtlGrupo").Text
e.Row.FCLiteral("LtlCantidad").Text = e.Row.FCLiteral("LtlCantidad").Text
Else
e.Row.FCLiteral("LtlGrupo").Text = String.Format("<a class='{0}' target=""_blank"" href='{1}'>{2}</a>", Css, Liga, e.Row.FCLiteral("LtlGrupo").Text)
e.Row.FCLiteral("LtlCantidad").Text = String.Format("<a class='{0}' target=""_blank"" href='{1}'>{2}</a>", Css, Liga, e.Row.FCLiteral("LtlCantidad").Text)
End If
e.Row.FCLiteral("LtlCantidad").Text = String.Format("<a class='{0}' target=""_blank"" href='{1}'>{2}</a>", Css, Liga, e.Row.FCLiteral("LtlCantidad").Text)
If e.Row.DBCampo("SubTotal").ToDouble = 0 Then e.Row.FCLiteral("LtlSubTotal").Text = ""
If e.Row.DBCampo("Descuento").ToDouble = 0 Then e.Row.FCLiteral("LtlDescuento").Text = ""
@@ -399,7 +397,7 @@ Partial Class Compras_RepCompras
params.Add(New ReportParameter("NombreEmpresa", UsuarioActual.Empresa.Empresa))
params.Add(New ReportParameter("UsuarioImprimio", UsuarioActual.Nombre))
params.Add(New ReportParameter("FechaImpresion", Now.ToString))
params.Add(New ReportParameter("AgrupadoPor", $"<b>Agrupado Por:</b> {Proveedor}{Capturo}{Grupo}{Moneda}{FechaIn}{FechaFn}{Proyecto}{SubProyecto}{TipoGasto}{TipoProveedor}{FechaICaptura}{FechaFCaptura}{TipoDocto}"))
params.Add(New ReportParameter("AgrupadoPor", $"<b>Agrupado Por:</b> {Grupo}{Proveedor}{Capturo}{Moneda}{FechaIn}{FechaFn}{Proyecto}{SubProyecto}{TipoGasto}{TipoProveedor}{FechaICaptura}{FechaFCaptura}{TipoDocto}"))
If Imagen.Exists Then
params.Add(New ReportParameter("LogoPath", logouri))
Else

View File

@@ -437,7 +437,7 @@ Partial Class Compras_RepComprasDetalle
params.Add(New ReportParameter("NombreEmpresa", UsuarioActual.Empresa.Empresa))
params.Add(New ReportParameter("UsuarioImprimio", UsuarioActual.Nombre))
params.Add(New ReportParameter("FechaImpresion", Now.ToString))
params.Add(New ReportParameter("AgrupadoPor", $"<b>Agrupado Por:</b> {Proveedor}{Capturo}{Grupo}{FechaIn}{FechaFn}{FechaCIn}{FechaCFn}{Proyecto}{SubProyecto}{TipoGasto}{TipoProveedor}{TipoDocto}"))
params.Add(New ReportParameter("AgrupadoPor", $"<b>Agrupado Por:</b> {Grupo}{Proveedor}{Capturo}{FechaIn}{FechaFn}{FechaCIn}{FechaCFn}{Proyecto}{SubProyecto}{TipoGasto}{TipoProveedor}{TipoDocto}"))
If Imagen.Exists Then
params.Add(New ReportParameter("LogoPath", logouri))
Else

View File

@@ -50,7 +50,7 @@
<TablixBody>
<TablixColumns>
<TablixColumn>
<Width>1.25345cm</Width>
<Width>1.862cm</Width>
</TablixColumn>
<TablixColumn>
<Width>1.29144cm</Width>
@@ -68,7 +68,7 @@
<Width>1.69804cm</Width>
</TablixColumn>
<TablixColumn>
<Width>2.03728cm</Width>
<Width>1.42874cm</Width>
</TablixColumn>
<TablixColumn>
<Width>3.5848cm</Width>
@@ -86,14 +86,14 @@
<TablixCells>
<TablixCell>
<CellContents>
<Textbox Name="Moneda">
<Textbox Name="SerieFolio1">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!Moneda.Value</Value>
<Value>=Fields!SerieFolio.Value</Value>
<Style>
<FontSize>7pt</FontSize>
<Color>=IIF(CInt(Fields!CveCompra.Value) &lt; 1, "White","Black")</Color>
@@ -105,7 +105,7 @@
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Moneda</rd:DefaultName>
<rd:DefaultName>SerieFolio1</rd:DefaultName>
<Style>
<Border>
<Style>None</Style>
@@ -301,14 +301,14 @@
</TablixCell>
<TablixCell>
<CellContents>
<Textbox Name="SerieFolio">
<Textbox Name="Moneda">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Fields!SerieFolio.Value</Value>
<Value>=Fields!Moneda.Value</Value>
<Style>
<FontSize>7pt</FontSize>
<Color>=IIF(CInt(Fields!CveCompra.Value) &lt; 1, "White","Black")</Color>
@@ -320,7 +320,7 @@
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>SerieFolio</rd:DefaultName>
<rd:DefaultName>Moneda</rd:DefaultName>
<Style>
<Border>
<Style>None</Style>
@@ -457,7 +457,7 @@
<Paragraph>
<TextRuns>
<TextRun>
<Value>Moneda</Value>
<Value>Serie/Folio</Value>
<Style>
<FontSize>7pt</FontSize>
</Style>
@@ -685,7 +685,7 @@
<Paragraph>
<TextRuns>
<TextRun>
<Value>Serie/Folio</Value>
<Value>Moneda</Value>
<Style>
<FontSize>7pt</FontSize>
</Style>