--Cambios en reporte de cortes
This commit is contained in:
@@ -1653,23 +1653,28 @@ Partial Class PopUpVerFactura
|
||||
TipoTabla = 2
|
||||
Case "VentasCorte"
|
||||
rowData("Columna") = "Total Ventas"
|
||||
Orden = 2
|
||||
Orden = 1
|
||||
TipoTabla = 1
|
||||
Case "NotasCredito"
|
||||
rowData("Columna") = "N.C."
|
||||
Orden = 3
|
||||
Orden = 2
|
||||
TipoTabla = 1
|
||||
Case "VentasCredito"
|
||||
rowData("Columna") = "Ventas Crédito"
|
||||
Orden = 3
|
||||
TipoTabla = 1
|
||||
Case "VentasContado"
|
||||
rowData("Columna") = "Ventas Contado"
|
||||
Orden = 4
|
||||
TipoTabla = 1
|
||||
|
||||
Case "VentaTotalIngreso"
|
||||
rowData("Columna") = "Ventas Ingreso"
|
||||
Orden = 4
|
||||
Orden = 5
|
||||
TipoTabla = 1
|
||||
Case "VentaTotalRemision"
|
||||
rowData("Columna") = "Ventas Remisiones"
|
||||
Orden = 4
|
||||
Orden = 6
|
||||
TipoTabla = 1
|
||||
'Case "TotalEfectivo"
|
||||
' rowData("Columna") = "Total Efectivo"
|
||||
@@ -1726,13 +1731,13 @@ Partial Class PopUpVerFactura
|
||||
End If
|
||||
Next
|
||||
|
||||
Dim TotalCredito As Decimal = DtCortesVentasResumen.SUMD("Importe", "MetodoPago = 'Crédito'")
|
||||
'Dim TotalCredito As Decimal = DtCortesVentasResumen.SUMD("Importe", "MetodoPago = 'Crédito'")
|
||||
|
||||
Dim rowCredito = DtDatosVentas.NewRow()
|
||||
rowCredito("Columna") = "Crédito"
|
||||
rowCredito("Importe") = TotalCredito
|
||||
rowCredito("Orden") = 4
|
||||
DtDatosVentas.Rows.Add(rowCredito)
|
||||
'Dim rowCredito = DtDatosVentas.NewRow()
|
||||
'rowCredito("Columna") = "Crédito"
|
||||
'rowCredito("Importe") = TotalCredito
|
||||
'rowCredito("Orden") = 4
|
||||
'DtDatosVentas.Rows.Add(rowCredito)
|
||||
|
||||
Dim rds3 As New ReportDataSource With {.Name = "DataSet3", .Value = DtDatosVentas.FiltraParametros("Orden > 0", "Orden")}
|
||||
lrds.Add(rds3)
|
||||
|
||||
Reference in New Issue
Block a user