Reportes Ventas
This commit is contained in:
@@ -396,14 +396,18 @@ Partial Class RepVentasPeriodo
|
||||
Dim moneda As String = DbRow("Moneda").ToString
|
||||
Dim total As String = DbRow("GPO").ToString
|
||||
If total <> "Total Peso Mexicano" Then
|
||||
If moneda = "Peso Mexicano" Then
|
||||
If moneda.ToUpper.Contains("PESO") Then
|
||||
Info = String.Format("{2}['{1}',{0}],", DbRow(ColValue), DbRow(ColTitle), Info)
|
||||
End If
|
||||
End If
|
||||
Next
|
||||
|
||||
Info = Info.Remove(Info.Length - 1, 1)
|
||||
SBJSScript.AppendFormat("graficahighcharts('{0}','{1}','{2}','{3}',[{4}],1,'{5}');", divcontainer.ClientID, Titulo, SubTitulo, YReferencia, Info, XReferencia)
|
||||
If Info.Length > 0 Then
|
||||
Info = Info.Remove(Info.Length - 1, 1)
|
||||
SBJSScript.AppendFormat("graficahighcharts('{0}','{1}','{2}','{3}',[{4}],1,'{5}');", divcontainer.ClientID, Titulo, SubTitulo, YReferencia, Info, XReferencia)
|
||||
End If
|
||||
|
||||
|
||||
Else
|
||||
SBJSScript.AppendFormat("graficahighcharts('{0}','{1}','{2}','{3}',[{4}],1,'{5}');", divcontainer.ClientID, Titulo, SubTitulo, YReferencia, " ", XReferencia)
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user