Reportes
This commit is contained in:
@@ -189,7 +189,10 @@ public partial class Contabilidad_RepIVA : ClsPaginas
|
||||
if (txtFechaF.Text == "" || txtFechaF.Text == "__/__/____") { FechaF = "-1"; } else { FechaF = $" <b>Fecha Final:</b> {txtFechaF.Text}"; }
|
||||
String FechaI;
|
||||
if (txtFechaI.Text == "" || txtFechaI.Text == "__/__/____") { FechaI = "-1"; } else { FechaI = $" <b>Fecha Inicial:</b> {txtFechaI.Text}"; }
|
||||
if (DtIVATrasladado.Rows.Count > 0 || DtIVAAcreditable.Rows.Count > 0)
|
||||
String TipoMov;
|
||||
if (DdlTipoMovto.SelectedItem.Text == "Todos") { TipoMov = ""; } else { TipoMov = $" <b>Tipo Movimiento:</b> {DdlTipoMovto.SelectedItem.Text}"; }
|
||||
|
||||
if (GvT.Rows.Count > 0 || GvA.Rows.Count > 0)
|
||||
{
|
||||
System.IO.FileInfo Imagen;
|
||||
String logouri = "";
|
||||
@@ -208,7 +211,7 @@ public partial class Contabilidad_RepIVA : ClsPaginas
|
||||
List<CrystalParametro> para = new List<CrystalParametro>();
|
||||
para.Add(new CrystalParametro("Empresa", UsuarioActual.Empresa.Empresa));
|
||||
para.Add(new CrystalParametro("UsuarioImprimio", UsuarioActual.Nombre));
|
||||
para.Add(new CrystalParametro("Filtros", $"<b>Filtros:</b> {FechaI}{FechaF}"));
|
||||
para.Add(new CrystalParametro("Filtros", $"<b>Filtros:</b> {FechaI}{FechaF}{TipoMov}"));
|
||||
if (Imagen.Exists)
|
||||
{
|
||||
para.Add(new CrystalParametro("LogoPath", logouri));
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xmlns:cl="http://schemas.microsoft.com/sqlserver/reporting/2010/01/componentdefinition" xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition">
|
||||
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
|
||||
<AutoRefresh>0</AutoRefresh>
|
||||
<DataSources>
|
||||
<DataSource Name="DsOC">
|
||||
@@ -2756,6 +2756,7 @@
|
||||
<Prompt>ReportParameter1</Prompt>
|
||||
</ReportParameter>
|
||||
</ReportParameters>
|
||||
|
||||
<EmbeddedImages>
|
||||
<EmbeddedImage Name="ID2">
|
||||
<MIMEType>image/png</MIMEType>
|
||||
|
||||
@@ -120,16 +120,16 @@
|
||||
<TablixBody>
|
||||
<TablixColumns>
|
||||
<TablixColumn>
|
||||
<Width>3.06478cm</Width>
|
||||
<Width>2.82666cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>4.73895cm</Width>
|
||||
<Width>4.07455cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>2.5cm</Width>
|
||||
<Width>2.25368cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>3.18387cm</Width>
|
||||
<Width>2.21252cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>2.14434cm</Width>
|
||||
@@ -138,10 +138,10 @@
|
||||
<Width>1.01833cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>1.25645cm</Width>
|
||||
<Width>1.12832cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>1.70625cm</Width>
|
||||
<Width>1.52104cm</Width>
|
||||
</TablixColumn>
|
||||
</TablixColumns>
|
||||
<TablixRows>
|
||||
@@ -748,7 +748,7 @@
|
||||
<TablixMember>
|
||||
<Group Name="GPO" />
|
||||
<TablixHeader>
|
||||
<Size>1.42403cm</Size>
|
||||
<Size>1.0007cm</Size>
|
||||
<CellContents>
|
||||
<Textbox Name="Folio">
|
||||
<CanGrow>true</CanGrow>
|
||||
@@ -790,7 +790,7 @@
|
||||
<Top>0.10583cm</Top>
|
||||
<Left>0.03086cm</Left>
|
||||
<Height>0.93542cm</Height>
|
||||
<Width>21.037cm</Width>
|
||||
<Width>18.18014cm</Width>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
@@ -801,7 +801,7 @@
|
||||
<Height>0.45131in</Height>
|
||||
<Style />
|
||||
</Body>
|
||||
<Width>8.30832in</Width>
|
||||
<Width>7.16969in</Width>
|
||||
<Page>
|
||||
<PageHeader>
|
||||
<Height>3.01737cm</Height>
|
||||
@@ -924,7 +924,7 @@
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox3</rd:DefaultName>
|
||||
<Top>2.31154cm</Top>
|
||||
<Left>0.06614cm</Left>
|
||||
<Left>0.03086cm</Left>
|
||||
<Height>0.6cm</Height>
|
||||
<Width>18.03902cm</Width>
|
||||
<ZIndex>3</ZIndex>
|
||||
@@ -970,8 +970,8 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox31</rd:DefaultName>
|
||||
<Top>0.40041cm</Top>
|
||||
<Left>16.97887cm</Left>
|
||||
<Top>0.43569cm</Top>
|
||||
<Left>16.03929cm</Left>
|
||||
<Height>0.68085cm</Height>
|
||||
<Width>2.06587cm</Width>
|
||||
<Style>
|
||||
@@ -1103,7 +1103,7 @@
|
||||
<Top>0.40041cm</Top>
|
||||
<Left>9.84544cm</Left>
|
||||
<Height>0.68085cm</Height>
|
||||
<Width>4.32745cm</Width>
|
||||
<Width>4.59203cm</Width>
|
||||
<ZIndex>4</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
@@ -1151,7 +1151,7 @@
|
||||
<Top>0.40041cm</Top>
|
||||
<Left>0.06614cm</Left>
|
||||
<Height>0cm</Height>
|
||||
<Width>19.58715cm</Width>
|
||||
<Width>18.03902cm</Width>
|
||||
<ZIndex>6</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
@@ -1209,6 +1209,7 @@
|
||||
<Prompt>ReportParameter1</Prompt>
|
||||
</ReportParameter>
|
||||
</ReportParameters>
|
||||
|
||||
<Language>es-MX</Language>
|
||||
<rd:ReportUnitType>Cm</rd:ReportUnitType>
|
||||
<rd:ReportID>40c94aad-a12a-44fb-ab0d-ea36a9656792</rd:ReportID>
|
||||
|
||||
@@ -89,10 +89,10 @@
|
||||
<Width>2.15604cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>13.71833cm</Width>
|
||||
<Width>12.63354cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>2.02375cm</Width>
|
||||
<Width>1.57396cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>1.8105cm</Width>
|
||||
@@ -658,7 +658,11 @@
|
||||
<TablixMember />
|
||||
<TablixMember />
|
||||
<TablixMember />
|
||||
<TablixMember />
|
||||
<TablixMember>
|
||||
<Visibility>
|
||||
<Hidden>true</Hidden>
|
||||
</Visibility>
|
||||
</TablixMember>
|
||||
<TablixMember />
|
||||
</TablixMembers>
|
||||
</TablixColumnHierarchy>
|
||||
@@ -680,7 +684,7 @@
|
||||
<Top>0.17639cm</Top>
|
||||
<Left>0.24474cm</Left>
|
||||
<Height>0.90897cm</Height>
|
||||
<Width>25.65193cm</Width>
|
||||
<Width>24.11735cm</Width>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
@@ -691,7 +695,7 @@
|
||||
<Height>0.67394in</Height>
|
||||
<Style />
|
||||
</Body>
|
||||
<Width>10.22558in</Width>
|
||||
<Width>9.62262in</Width>
|
||||
<Page>
|
||||
<PageHeader>
|
||||
<Height>3.48078cm</Height>
|
||||
@@ -719,7 +723,7 @@
|
||||
<rd:DefaultName>Textbox1</rd:DefaultName>
|
||||
<Top>0.47625cm</Top>
|
||||
<Height>0.6cm</Height>
|
||||
<Width>25.89667cm</Width>
|
||||
<Width>22.55159cm</Width>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
@@ -766,7 +770,7 @@
|
||||
<rd:DefaultName>Textbox2</rd:DefaultName>
|
||||
<Top>1.07625cm</Top>
|
||||
<Height>0.52945cm</Height>
|
||||
<Width>25.89667cm</Width>
|
||||
<Width>22.55159cm</Width>
|
||||
<ZIndex>1</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
@@ -785,7 +789,7 @@
|
||||
<Top>0.11458in</Top>
|
||||
<Left>0.24474cm</Left>
|
||||
<Height>2.09585cm</Height>
|
||||
<Width>25.65193cm</Width>
|
||||
<Width>22.30685cm</Width>
|
||||
<ZIndex>2</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
@@ -814,7 +818,7 @@
|
||||
<Top>2.56328cm</Top>
|
||||
<Left>0.24474cm</Left>
|
||||
<Height>0.6cm</Height>
|
||||
<Width>25.65193cm</Width>
|
||||
<Width>22.30685cm</Width>
|
||||
<ZIndex>3</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
@@ -830,7 +834,7 @@
|
||||
<Top>3.30439cm</Top>
|
||||
<Left>0.24474cm</Left>
|
||||
<Height>0cm</Height>
|
||||
<Width>25.72823cm</Width>
|
||||
<Width>22.30685cm</Width>
|
||||
<ZIndex>4</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
@@ -870,8 +874,8 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox3</rd:DefaultName>
|
||||
<Top>0.27341cm</Top>
|
||||
<Left>22.76211cm</Left>
|
||||
<Top>0.26458cm</Top>
|
||||
<Left>19.41703cm</Left>
|
||||
<Height>0.38981cm</Height>
|
||||
<Width>3.13456cm</Width>
|
||||
<Style>
|
||||
@@ -941,7 +945,7 @@
|
||||
<Top>0.27341cm</Top>
|
||||
<Left>1.83272cm</Left>
|
||||
<Height>0.38981cm</Height>
|
||||
<Width>7.13374cm</Width>
|
||||
<Width>7.68936cm</Width>
|
||||
<ZIndex>2</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
@@ -990,7 +994,7 @@
|
||||
<Top>0.15875cm</Top>
|
||||
<Left>0.24474cm</Left>
|
||||
<Height>0cm</Height>
|
||||
<Width>25.72823cm</Width>
|
||||
<Width>22.30685cm</Width>
|
||||
<ZIndex>4</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
@@ -1005,7 +1009,7 @@
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Globals!ExecutionTime</Value>
|
||||
<Value>=Parameters!FechaImprimio.Value</Value>
|
||||
<Style>
|
||||
<FontSize>9pt</FontSize>
|
||||
<Format>g</Format>
|
||||
@@ -1021,7 +1025,7 @@
|
||||
<Top>0.27341cm</Top>
|
||||
<Left>12.77526cm</Left>
|
||||
<Height>0.38981cm</Height>
|
||||
<Width>4.99273cm</Width>
|
||||
<Width>5.41606cm</Width>
|
||||
<ZIndex>5</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
@@ -1121,7 +1125,14 @@
|
||||
<AllowBlank>true</AllowBlank>
|
||||
<Prompt>ReportParameter1</Prompt>
|
||||
</ReportParameter>
|
||||
<ReportParameter Name="FechaImprimio">
|
||||
<DataType>String</DataType>
|
||||
<Nullable>true</Nullable>
|
||||
<AllowBlank>true</AllowBlank>
|
||||
<Prompt>ReportParameter1</Prompt>
|
||||
</ReportParameter>
|
||||
</ReportParameters>
|
||||
|
||||
<rd:ReportUnitType>Cm</rd:ReportUnitType>
|
||||
<rd:ReportID>40c94aad-a12a-44fb-ab0d-ea36a9656792</rd:ReportID>
|
||||
</Report>
|
||||
@@ -71,42 +71,12 @@
|
||||
<TextAlign>Center</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value />
|
||||
<Style>
|
||||
<FontFamily>Arial Black</FontFamily>
|
||||
<FontSize>9.16pt</FontSize>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Center</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value />
|
||||
<Style>
|
||||
<FontFamily>Myriad Pro</FontFamily>
|
||||
<FontSize>9.16pt</FontSize>
|
||||
<FontWeight>SemiBold</FontWeight>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Center</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox4</rd:DefaultName>
|
||||
<Top>0.05159in</Top>
|
||||
<Left>0.29332cm</Left>
|
||||
<Height>0.96167in</Height>
|
||||
<Width>8.30729in</Width>
|
||||
<Width>7.42452in</Width>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
@@ -125,13 +95,13 @@
|
||||
<Width>3.8335cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>5.14583cm</Width>
|
||||
<Width>4.69604cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>7.47417cm</Width>
|
||||
<Width>6.62753cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>4.36267cm</Width>
|
||||
<Width>3.70121cm</Width>
|
||||
</TablixColumn>
|
||||
</TablixColumns>
|
||||
<TablixRows>
|
||||
@@ -353,7 +323,9 @@
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Fields!Direccion.Value</Value>
|
||||
<Style />
|
||||
<Style>
|
||||
<FontSize>9pt</FontSize>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
@@ -426,10 +398,10 @@
|
||||
</TablixMembers>
|
||||
</TablixRowHierarchy>
|
||||
<DataSetName>DsOC</DataSetName>
|
||||
<Top>5.11387cm</Top>
|
||||
<Top>3.97616cm</Top>
|
||||
<Left>0.29332cm</Left>
|
||||
<Height>1.2cm</Height>
|
||||
<Width>20.81617cm</Width>
|
||||
<Width>18.85828cm</Width>
|
||||
<ZIndex>1</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
@@ -462,8 +434,8 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox1</rd:DefaultName>
|
||||
<Top>3.13126cm</Top>
|
||||
<Left>2.51123cm</Left>
|
||||
<Top>2.88765cm</Top>
|
||||
<Left>1.24123cm</Left>
|
||||
<Height>0.6cm</Height>
|
||||
<Width>8.26727cm</Width>
|
||||
<ZIndex>2</ZIndex>
|
||||
@@ -502,8 +474,8 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox1</rd:DefaultName>
|
||||
<Top>3.13126cm</Top>
|
||||
<Left>10.88433cm</Left>
|
||||
<Top>2.88765cm</Top>
|
||||
<Left>9.61433cm</Left>
|
||||
<Height>0.6cm</Height>
|
||||
<Width>8.26727cm</Width>
|
||||
<ZIndex>3</ZIndex>
|
||||
@@ -524,7 +496,7 @@
|
||||
<Top>0.05159in</Top>
|
||||
<Left>0.29332cm</Left>
|
||||
<Height>2.09585cm</Height>
|
||||
<Width>21.10052cm</Width>
|
||||
<Width>18.85828cm</Width>
|
||||
<ZIndex>4</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
@@ -554,7 +526,7 @@
|
||||
<Top>1.97368cm</Top>
|
||||
<Left>0.29332cm</Left>
|
||||
<Height>0.6cm</Height>
|
||||
<Width>21.10052cm</Width>
|
||||
<Width>18.85828cm</Width>
|
||||
<ZIndex>5</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
@@ -567,17 +539,17 @@
|
||||
</Style>
|
||||
</Textbox>
|
||||
</ReportItems>
|
||||
<Height>15.1387cm</Height>
|
||||
<Height>5.95766cm</Height>
|
||||
<Style />
|
||||
</Body>
|
||||
<Width>21.47166cm</Width>
|
||||
<Width>19.8328cm</Width>
|
||||
<Page>
|
||||
<PageFooter>
|
||||
<Height>0.75104cm</Height>
|
||||
<Height>0.79313cm</Height>
|
||||
<PrintOnFirstPage>true</PrintOnFirstPage>
|
||||
<PrintOnLastPage>true</PrintOnLastPage>
|
||||
<ReportItems>
|
||||
<Textbox Name="Textbox30">
|
||||
<Textbox Name="Usuairo">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
@@ -601,11 +573,10 @@
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox29</rd:DefaultName>
|
||||
<Top>0.17639cm</Top>
|
||||
<Top>0.21167cm</Top>
|
||||
<Left>0.29332cm</Left>
|
||||
<Height>0.41981cm</Height>
|
||||
<Width>6.8491cm</Width>
|
||||
<Width>7.56214cm</Width>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
@@ -634,7 +605,6 @@
|
||||
<Style>
|
||||
<FontFamily>Myriad Pro</FontFamily>
|
||||
<FontSize>8pt</FontSize>
|
||||
<Format>g</Format>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
@@ -643,9 +613,9 @@
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox31</rd:DefaultName>
|
||||
<Top>0.17639cm</Top>
|
||||
<Left>10.14852cm</Left>
|
||||
<Left>8.03185cm</Left>
|
||||
<Height>0.41981cm</Height>
|
||||
<Width>6.02198cm</Width>
|
||||
<Width>6.86865cm</Width>
|
||||
<ZIndex>1</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
@@ -697,9 +667,9 @@
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox31</rd:DefaultName>
|
||||
<Top>0.17639cm</Top>
|
||||
<Left>18.75852cm</Left>
|
||||
<Height>0.41981cm</Height>
|
||||
<Width>2.63532cm</Width>
|
||||
<Left>15.45039cm</Left>
|
||||
<Height>0.45509cm</Height>
|
||||
<Width>3.70121cm</Width>
|
||||
<ZIndex>2</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
@@ -719,7 +689,7 @@
|
||||
</Style>
|
||||
</PageFooter>
|
||||
<PageHeight>27.94cm</PageHeight>
|
||||
<PageWidth>21.59cm</PageWidth>
|
||||
<PageWidth>20cm</PageWidth>
|
||||
<LeftMargin>0cm</LeftMargin>
|
||||
<RightMargin>0cm</RightMargin>
|
||||
<TopMargin>0.5cm</TopMargin>
|
||||
@@ -779,6 +749,7 @@
|
||||
<Prompt>ReportParameter1</Prompt>
|
||||
</ReportParameter>
|
||||
</ReportParameters>
|
||||
|
||||
<EmbeddedImages>
|
||||
<EmbeddedImage Name="compuproveedores">
|
||||
<MIMEType>image/png</MIMEType>
|
||||
|
||||
@@ -1616,6 +1616,11 @@ Partial Class GPS_Rastreo
|
||||
NombreReporte = "ReporteExcesosVelocidad"
|
||||
Dim Imagen As New System.IO.FileInfo(String.Format("{0}/Logo.png", UsuarioActual.Empresa.Ruta))
|
||||
Dim logouri = String.Format("{0}://{1}:{2}/Empresas/{3}/Logo.png", Request.Url.Scheme, Request.Url.Host, Request.Url.Port, UsuarioActual.CveEmpresa)
|
||||
Dim dtt As DataTable = GlobalDTUsuarios(UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa, UsuarioActual.CveCliente).FiltraParametros("CveRol <> 1")
|
||||
Dim nombreCliente As String = ""
|
||||
For Each dr As DataRow In dtt.Rows
|
||||
nombreCliente = dr.Item("Cliente").ToString
|
||||
Next
|
||||
|
||||
Dim RptParametro As New List(Of ReportParameter)
|
||||
Dim DtDatos As New DataTable()
|
||||
@@ -1629,10 +1634,9 @@ Partial Class GPS_Rastreo
|
||||
RptParametro.Add(New ReportParameter("FechaInicio", FechaI.ToString))
|
||||
RptParametro.Add(New ReportParameter("FechaFin", FechaF.ToString))
|
||||
RptParametro.Add(New ReportParameter("MapaURL", ""))
|
||||
RptParametro.Add(New ReportParameter("UsuarioImprimio", UsuarioActual.Usuario))
|
||||
RptParametro.Add(New ReportParameter("FechaImpresion", DateTime.Now.ToString))
|
||||
RptParametro.Add(New ReportParameter("UsuarioImprimio", UsuarioActual.Usuario))
|
||||
RptParametro.Add(New ReportParameter("NombreEmpresa", UsuarioActual.Empresa.Empresa))
|
||||
RptParametro.Add(New ReportParameter("NombreEmpresa", nombreCliente))
|
||||
If Imagen.Exists Then
|
||||
RptParametro.Add(New ReportParameter("LogoPath", logouri))
|
||||
Else
|
||||
@@ -1682,7 +1686,6 @@ Partial Class GPS_Rastreo
|
||||
RptParametro.Add(New ReportParameter("FechaInicio", FechaI.ToString))
|
||||
RptParametro.Add(New ReportParameter("FechaFin", FechaF.ToString))
|
||||
RptParametro.Add(New ReportParameter("MapaURL", ""))
|
||||
RptParametro.Add(New ReportParameter("UsuarioImprimio", UsuarioActual.Usuario))
|
||||
RptParametro.Add(New ReportParameter("FechaImpresion", DateTime.Now.ToString))
|
||||
RptParametro.Add(New ReportParameter("UsuarioImprimio", UsuarioActual.Usuario))
|
||||
|
||||
@@ -1834,13 +1837,17 @@ Partial Class GPS_Rastreo
|
||||
Dim RptParametro As New List(Of CrystalParametro)
|
||||
Dim Imagen As New System.IO.FileInfo(String.Format("{0}/Logo.png", UsuarioActual.Empresa.Ruta))
|
||||
Dim logouri = String.Format("{0}://{1}:{2}/Empresas/{3}/Logo.png", Request.Url.Scheme, Request.Url.Host, Request.Url.Port, UsuarioActual.CveEmpresa)
|
||||
|
||||
Dim dtt As DataTable = GlobalDTUsuarios(UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa, UsuarioActual.CveCliente).FiltraParametros("CveRol <> 1")
|
||||
Dim nombreCliente As String = ""
|
||||
For Each dr As DataRow In dtt.Rows
|
||||
nombreCliente = dr.Item("Cliente").ToString
|
||||
Next
|
||||
RptParametro.Add(New CrystalParametro("FechaInicio", FechaI.ToString))
|
||||
RptParametro.Add(New CrystalParametro("FechaFin", FechaF.ToString))
|
||||
RptParametro.Add(New CrystalParametro("UsuarioImprimio", UsuarioActual.Usuario))
|
||||
RptParametro.Add(New CrystalParametro("FechaImpresion", DateTime.Now.ToString))
|
||||
RptParametro.Add(New CrystalParametro("KMRecorridos", $"{DtPosiciones.SUM("KMRecorridos").ToString} KM"))
|
||||
RptParametro.Add(New CrystalParametro("NombreEmpresa", UsuarioActual.Empresa.Empresa))
|
||||
RptParametro.Add(New CrystalParametro("NombreEmpresa", nombreCliente))
|
||||
If Imagen.Exists Then
|
||||
RptParametro.Add(New CrystalParametro("LogoPath", logouri))
|
||||
Else
|
||||
|
||||
@@ -165,6 +165,8 @@ Partial Class RepTraspasoAlmacen
|
||||
params.Add(New ReportParameter("FechaFin", FechaF))
|
||||
params.Add(New ReportParameter("UsuarioImprimio", UsuarioActual.Nombre))
|
||||
params.Add(New ReportParameter("Filtros", StrFiltro.ToString))
|
||||
params.Add(New ReportParameter("FechaImprimio", DateTime.Now.ToString))
|
||||
|
||||
If Imagen.Exists Then
|
||||
params.Add(New ReportParameter("LogoPath", logouri))
|
||||
Else
|
||||
|
||||
@@ -176,7 +176,7 @@ Partial Class OI_RepTareas
|
||||
If DdlEventoEstatus.SelectedValue > "0" Then CveEventoEstatus = DdlEventoEstatus.SelectedValue.ToEntero Else CveEventoEstatus = -1
|
||||
|
||||
If ObjProspectos.GetEventosUsuarioCCP(UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa, 1, DdlRevision.SelectedValue.ToEntero, FechaI, FechaF, CveEventoEstatus) Then
|
||||
DTOIEventosTareasCCP = ObjProspectos.DtResultados.FiltraParametros(String.Format("CveUsuarioIng = {0} And CveTipoEvento In (1,3)", UsuarioActual.CveUsuario))
|
||||
DTOIEventosTareasCCP = ObjProspectos.DtResultados.FiltraParametros("CveTipoEvento In (1,3)")
|
||||
DTOIEventosTareasCCP = DTOIEventosTareasCCP.FiltraParametros(String.Format("CveEmpresa={0}", UsuarioActual.CveEmpresa))
|
||||
ltlgrafCcp.Text = DTOIEventosTareasCCP.Rows.Count.ToString()
|
||||
'BURBUJITAS - BADGE
|
||||
|
||||
Reference in New Issue
Block a user