Reportes Ventas
This commit is contained in:
@@ -312,14 +312,18 @@ public partial class Ventas_RepProductosServiciosPeriodo : ClsPaginas
|
||||
StringBuilder SBJSScript = new StringBuilder();
|
||||
|
||||
if (DTDatos.Rows.Count > 0)
|
||||
{
|
||||
{
|
||||
foreach (DataRow DbRow in DTDatos.Rows)
|
||||
{
|
||||
string moneda = DbRow["Moneda"].ToString();
|
||||
string total = DbRow["GPO"].ToString();
|
||||
if (total != "Total Peso Mexicano")
|
||||
{
|
||||
if (moneda == "Peso Mexicano")
|
||||
{
|
||||
if (moneda.ToUpper().Contains("PESO"))
|
||||
{
|
||||
Info = String.Format("{2}['{1}',{0}],", DbRow[ColValue], DbRow[ColTitle], Info);
|
||||
}
|
||||
}
|
||||
}
|
||||
if(Info.Length > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user