Ventas Rep Productos servicios correcion grafica
This commit is contained in:
@@ -686,7 +686,7 @@ Partial Class Ventas_RepProductosServicios
|
||||
Row("Valor") = Dr("IVA").ToString.FormatoNumero
|
||||
Case 4
|
||||
Row("Valor") = Dr("Cantidad").ToString.FormatoNumero
|
||||
Row("Texto") = $"{Dr("GPO").ToString} Cantidad"
|
||||
Row("Texto") = $"{Dr("GPO").ToString}"
|
||||
End Select
|
||||
|
||||
Row("Color") = DtColor.Rows(RowColorIndex)("Color").ToString
|
||||
@@ -699,10 +699,10 @@ Partial Class Ventas_RepProductosServicios
|
||||
End If
|
||||
Next
|
||||
|
||||
Dim query = From s In Dt.AsEnumerable() Select New With {.Texto = s("Texto").ToString(), .Valor = s("Valor").ToString().ToDouble(), .Color = s("Color").ToString(), .Moneda = s("Moneda").ToString()}
|
||||
Dim query = From s In Dt.AsEnumerable() Select New With {.Texto = s("Texto").ToString(), .Valor = s("Valor").ToString().ToDouble(), .Color = s("Color").ToString(), .Moneda = s("Moneda").ToString(), .Categoria = s("Texto").ToString()}
|
||||
|
||||
If DdlVer.SelectedValue.ToEntero = 4 Then
|
||||
query = From s In Dt.AsEnumerable() Select New With {.Texto = s("Texto").ToString(), .Valor = s("Valor").ToString().ToDouble(), .Color = s("Color").ToString(), .Moneda = ""}
|
||||
query = From s In Dt.AsEnumerable() Select New With {.Texto = s("Texto").ToString() & " Cantidad", .Valor = s("Valor").ToString().ToDouble(), .Color = s("Color").ToString(), .Moneda = "", .Categoria = s("Texto").ToString()}
|
||||
End If
|
||||
|
||||
Dim json As String = Newtonsoft.Json.JsonConvert.SerializeObject(query)
|
||||
|
||||
Reference in New Issue
Block a user