Cambios en reportes
This commit is contained in:
@@ -79,6 +79,8 @@ Partial Class Acumuladores_RepEntradasUsados
|
|||||||
params.Add(New ReportParameter("FechaFinal", txtFechaF.Text))
|
params.Add(New ReportParameter("FechaFinal", txtFechaF.Text))
|
||||||
params.Add(New ReportParameter("Sucursal", "Sucursal"))
|
params.Add(New ReportParameter("Sucursal", "Sucursal"))
|
||||||
params.Add(New ReportParameter("Almacen", DdlAlmacenes.SelectedItem.ToString))
|
params.Add(New ReportParameter("Almacen", DdlAlmacenes.SelectedItem.ToString))
|
||||||
|
params.Add(New ReportParameter("UsuarioImprimio", UsuarioActual.Nombre))
|
||||||
|
|
||||||
|
|
||||||
Dim rds As New ReportDataSource With {.Name = "DataSet1", .Value = DatosEntradasUsados}
|
Dim rds As New ReportDataSource With {.Name = "DataSet1", .Value = DatosEntradasUsados}
|
||||||
|
|
||||||
|
|||||||
@@ -1034,66 +1034,6 @@
|
|||||||
<PaddingBottom>2pt</PaddingBottom>
|
<PaddingBottom>2pt</PaddingBottom>
|
||||||
</Style>
|
</Style>
|
||||||
</Textbox>
|
</Textbox>
|
||||||
<Textbox Name="FechaConFormato">
|
|
||||||
<CanGrow>true</CanGrow>
|
|
||||||
<KeepTogether>true</KeepTogether>
|
|
||||||
<Paragraphs>
|
|
||||||
<Paragraph>
|
|
||||||
<TextRuns>
|
|
||||||
<TextRun>
|
|
||||||
<Value>=Parameters!FechaConFormato.Value</Value>
|
|
||||||
<Style />
|
|
||||||
</TextRun>
|
|
||||||
</TextRuns>
|
|
||||||
<Style />
|
|
||||||
</Paragraph>
|
|
||||||
</Paragraphs>
|
|
||||||
<rd:DefaultName>FechaConFormato</rd:DefaultName>
|
|
||||||
<Top>0.28742cm</Top>
|
|
||||||
<Left>16.26915cm</Left>
|
|
||||||
<Height>0.6cm</Height>
|
|
||||||
<Width>4.61551cm</Width>
|
|
||||||
<ZIndex>3</ZIndex>
|
|
||||||
<Style>
|
|
||||||
<Border>
|
|
||||||
<Style>None</Style>
|
|
||||||
</Border>
|
|
||||||
<PaddingLeft>2pt</PaddingLeft>
|
|
||||||
<PaddingRight>2pt</PaddingRight>
|
|
||||||
<PaddingTop>2pt</PaddingTop>
|
|
||||||
<PaddingBottom>2pt</PaddingBottom>
|
|
||||||
</Style>
|
|
||||||
</Textbox>
|
|
||||||
<Textbox Name="PageNumber">
|
|
||||||
<CanGrow>true</CanGrow>
|
|
||||||
<KeepTogether>true</KeepTogether>
|
|
||||||
<Paragraphs>
|
|
||||||
<Paragraph>
|
|
||||||
<TextRuns>
|
|
||||||
<TextRun>
|
|
||||||
<Value>=Globals!PageNumber</Value>
|
|
||||||
<Style />
|
|
||||||
</TextRun>
|
|
||||||
</TextRuns>
|
|
||||||
<Style />
|
|
||||||
</Paragraph>
|
|
||||||
</Paragraphs>
|
|
||||||
<rd:DefaultName>PageNumber</rd:DefaultName>
|
|
||||||
<Top>0.99325cm</Top>
|
|
||||||
<Left>18.22962cm</Left>
|
|
||||||
<Height>0.6cm</Height>
|
|
||||||
<Width>2.65504cm</Width>
|
|
||||||
<ZIndex>4</ZIndex>
|
|
||||||
<Style>
|
|
||||||
<Border>
|
|
||||||
<Style>None</Style>
|
|
||||||
</Border>
|
|
||||||
<PaddingLeft>2pt</PaddingLeft>
|
|
||||||
<PaddingRight>2pt</PaddingRight>
|
|
||||||
<PaddingTop>2pt</PaddingTop>
|
|
||||||
<PaddingBottom>2pt</PaddingBottom>
|
|
||||||
</Style>
|
|
||||||
</Textbox>
|
|
||||||
<Textbox Name="Textbox6">
|
<Textbox Name="Textbox6">
|
||||||
<CanGrow>true</CanGrow>
|
<CanGrow>true</CanGrow>
|
||||||
<KeepTogether>true</KeepTogether>
|
<KeepTogether>true</KeepTogether>
|
||||||
@@ -1117,7 +1057,7 @@
|
|||||||
<Left>5.75736cm</Left>
|
<Left>5.75736cm</Left>
|
||||||
<Height>0.6cm</Height>
|
<Height>0.6cm</Height>
|
||||||
<Width>10.1061cm</Width>
|
<Width>10.1061cm</Width>
|
||||||
<ZIndex>5</ZIndex>
|
<ZIndex>3</ZIndex>
|
||||||
<Style>
|
<Style>
|
||||||
<Border>
|
<Border>
|
||||||
<Style>None</Style>
|
<Style>None</Style>
|
||||||
@@ -1149,7 +1089,7 @@
|
|||||||
<Left>4.45435cm</Left>
|
<Left>4.45435cm</Left>
|
||||||
<Height>0.54708cm</Height>
|
<Height>0.54708cm</Height>
|
||||||
<Width>6.51432cm</Width>
|
<Width>6.51432cm</Width>
|
||||||
<ZIndex>6</ZIndex>
|
<ZIndex>4</ZIndex>
|
||||||
<Style>
|
<Style>
|
||||||
<Border>
|
<Border>
|
||||||
<Style>None</Style>
|
<Style>None</Style>
|
||||||
@@ -1168,12 +1108,12 @@
|
|||||||
</Style>
|
</Style>
|
||||||
</PageHeader>
|
</PageHeader>
|
||||||
<PageFooter>
|
<PageFooter>
|
||||||
<Height>0.727cm</Height>
|
<Height>1.01804cm</Height>
|
||||||
<PrintOnFirstPage>true</PrintOnFirstPage>
|
<PrintOnFirstPage>true</PrintOnFirstPage>
|
||||||
<PrintOnLastPage>true</PrintOnLastPage>
|
<PrintOnLastPage>true</PrintOnLastPage>
|
||||||
<ReportItems>
|
<ReportItems>
|
||||||
<Line Name="Line2">
|
<Line Name="Line2">
|
||||||
<Top>0.12697cm</Top>
|
<Top>0.12694cm</Top>
|
||||||
<Left>0.01325cm</Left>
|
<Left>0.01325cm</Left>
|
||||||
<Height>0cm</Height>
|
<Height>0cm</Height>
|
||||||
<Width>20.90669cm</Width>
|
<Width>20.90669cm</Width>
|
||||||
@@ -1183,6 +1123,119 @@
|
|||||||
</Border>
|
</Border>
|
||||||
</Style>
|
</Style>
|
||||||
</Line>
|
</Line>
|
||||||
|
<Textbox Name="FechaConFormato2">
|
||||||
|
<CanGrow>true</CanGrow>
|
||||||
|
<KeepTogether>true</KeepTogether>
|
||||||
|
<Paragraphs>
|
||||||
|
<Paragraph>
|
||||||
|
<TextRuns>
|
||||||
|
<TextRun>
|
||||||
|
<Value>Usuario imprimio: </Value>
|
||||||
|
<Style>
|
||||||
|
<FontWeight>Bold</FontWeight>
|
||||||
|
</Style>
|
||||||
|
</TextRun>
|
||||||
|
<TextRun>
|
||||||
|
<Value>=Parameters!UsuarioImprimio.Value</Value>
|
||||||
|
<Style>
|
||||||
|
<FontSize>9pt</FontSize>
|
||||||
|
</Style>
|
||||||
|
</TextRun>
|
||||||
|
</TextRuns>
|
||||||
|
<Style />
|
||||||
|
</Paragraph>
|
||||||
|
</Paragraphs>
|
||||||
|
<rd:DefaultName>FechaConFormato</rd:DefaultName>
|
||||||
|
<Top>0.30333cm</Top>
|
||||||
|
<Height>0.6cm</Height>
|
||||||
|
<Width>8.45793cm</Width>
|
||||||
|
<ZIndex>1</ZIndex>
|
||||||
|
<Style>
|
||||||
|
<Border>
|
||||||
|
<Style>None</Style>
|
||||||
|
</Border>
|
||||||
|
<PaddingLeft>2pt</PaddingLeft>
|
||||||
|
<PaddingRight>2pt</PaddingRight>
|
||||||
|
<PaddingTop>2pt</PaddingTop>
|
||||||
|
<PaddingBottom>2pt</PaddingBottom>
|
||||||
|
</Style>
|
||||||
|
</Textbox>
|
||||||
|
<Textbox Name="FechaConFormato">
|
||||||
|
<CanGrow>true</CanGrow>
|
||||||
|
<KeepTogether>true</KeepTogether>
|
||||||
|
<Paragraphs>
|
||||||
|
<Paragraph>
|
||||||
|
<TextRuns>
|
||||||
|
<TextRun>
|
||||||
|
<Value>Fecha impresión: </Value>
|
||||||
|
<Style>
|
||||||
|
<FontWeight>Bold</FontWeight>
|
||||||
|
</Style>
|
||||||
|
</TextRun>
|
||||||
|
<TextRun>
|
||||||
|
<Value>=Parameters!FechaConFormato.Value</Value>
|
||||||
|
<Style>
|
||||||
|
<FontSize>9pt</FontSize>
|
||||||
|
</Style>
|
||||||
|
</TextRun>
|
||||||
|
</TextRuns>
|
||||||
|
<Style />
|
||||||
|
</Paragraph>
|
||||||
|
</Paragraphs>
|
||||||
|
<rd:DefaultName>FechaConFormato</rd:DefaultName>
|
||||||
|
<Top>0.30333cm</Top>
|
||||||
|
<Left>8.69316cm</Left>
|
||||||
|
<Height>0.6cm</Height>
|
||||||
|
<Width>8.00814cm</Width>
|
||||||
|
<ZIndex>2</ZIndex>
|
||||||
|
<Style>
|
||||||
|
<Border>
|
||||||
|
<Style>None</Style>
|
||||||
|
</Border>
|
||||||
|
<PaddingLeft>2pt</PaddingLeft>
|
||||||
|
<PaddingRight>2pt</PaddingRight>
|
||||||
|
<PaddingTop>2pt</PaddingTop>
|
||||||
|
<PaddingBottom>2pt</PaddingBottom>
|
||||||
|
</Style>
|
||||||
|
</Textbox>
|
||||||
|
<Textbox Name="PageNumber">
|
||||||
|
<CanGrow>true</CanGrow>
|
||||||
|
<KeepTogether>true</KeepTogether>
|
||||||
|
<Paragraphs>
|
||||||
|
<Paragraph>
|
||||||
|
<TextRuns>
|
||||||
|
<TextRun>
|
||||||
|
<Value>Pagina:</Value>
|
||||||
|
<Style>
|
||||||
|
<FontWeight>Bold</FontWeight>
|
||||||
|
</Style>
|
||||||
|
</TextRun>
|
||||||
|
<TextRun>
|
||||||
|
<Value>=Globals!PageNumber</Value>
|
||||||
|
<Style />
|
||||||
|
</TextRun>
|
||||||
|
</TextRuns>
|
||||||
|
<Style>
|
||||||
|
<TextAlign>Right</TextAlign>
|
||||||
|
</Style>
|
||||||
|
</Paragraph>
|
||||||
|
</Paragraphs>
|
||||||
|
<rd:DefaultName>PageNumber</rd:DefaultName>
|
||||||
|
<Top>0.30333cm</Top>
|
||||||
|
<Left>16.84241cm</Left>
|
||||||
|
<Height>0.6cm</Height>
|
||||||
|
<Width>4.00442cm</Width>
|
||||||
|
<ZIndex>3</ZIndex>
|
||||||
|
<Style>
|
||||||
|
<Border>
|
||||||
|
<Style>None</Style>
|
||||||
|
</Border>
|
||||||
|
<PaddingLeft>2pt</PaddingLeft>
|
||||||
|
<PaddingRight>2pt</PaddingRight>
|
||||||
|
<PaddingTop>2pt</PaddingTop>
|
||||||
|
<PaddingBottom>2pt</PaddingBottom>
|
||||||
|
</Style>
|
||||||
|
</Textbox>
|
||||||
</ReportItems>
|
</ReportItems>
|
||||||
<Style>
|
<Style>
|
||||||
<Border>
|
<Border>
|
||||||
@@ -1234,7 +1287,14 @@
|
|||||||
<AllowBlank>true</AllowBlank>
|
<AllowBlank>true</AllowBlank>
|
||||||
<Prompt>ReportParameter1</Prompt>
|
<Prompt>ReportParameter1</Prompt>
|
||||||
</ReportParameter>
|
</ReportParameter>
|
||||||
|
<ReportParameter Name="UsuarioImprimio">
|
||||||
|
<DataType>String</DataType>
|
||||||
|
<Nullable>true</Nullable>
|
||||||
|
<AllowBlank>true</AllowBlank>
|
||||||
|
<Prompt>ReportParameter1</Prompt>
|
||||||
|
</ReportParameter>
|
||||||
</ReportParameters>
|
</ReportParameters>
|
||||||
|
|
||||||
<EmbeddedImages>
|
<EmbeddedImages>
|
||||||
<EmbeddedImage Name="Logo">
|
<EmbeddedImage Name="Logo">
|
||||||
<MIMEType>image/png</MIMEType>
|
<MIMEType>image/png</MIMEType>
|
||||||
|
|||||||
@@ -129,7 +129,7 @@
|
|||||||
<Width>2.5cm</Width>
|
<Width>2.5cm</Width>
|
||||||
</TablixColumn>
|
</TablixColumn>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>3.44027cm</Width>
|
<Width>3.18387cm</Width>
|
||||||
</TablixColumn>
|
</TablixColumn>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>2.14434cm</Width>
|
<Width>2.14434cm</Width>
|
||||||
@@ -787,60 +787,24 @@
|
|||||||
<RepeatColumnHeaders>true</RepeatColumnHeaders>
|
<RepeatColumnHeaders>true</RepeatColumnHeaders>
|
||||||
<FixedColumnHeaders>true</FixedColumnHeaders>
|
<FixedColumnHeaders>true</FixedColumnHeaders>
|
||||||
<DataSetName>DataSet1</DataSetName>
|
<DataSetName>DataSet1</DataSetName>
|
||||||
<Top>0.82931cm</Top>
|
<Top>0.10583cm</Top>
|
||||||
<Left>0.06614cm</Left>
|
<Left>0.03086cm</Left>
|
||||||
<Height>0.93542cm</Height>
|
<Height>0.93542cm</Height>
|
||||||
<Width>21.2934cm</Width>
|
<Width>21.037cm</Width>
|
||||||
<Style>
|
<Style>
|
||||||
<Border>
|
<Border>
|
||||||
<Style>None</Style>
|
<Style>None</Style>
|
||||||
</Border>
|
</Border>
|
||||||
</Style>
|
</Style>
|
||||||
</Tablix>
|
</Tablix>
|
||||||
<Textbox Name="Textbox3">
|
|
||||||
<CanGrow>true</CanGrow>
|
|
||||||
<KeepTogether>true</KeepTogether>
|
|
||||||
<Paragraphs>
|
|
||||||
<Paragraph>
|
|
||||||
<TextRuns>
|
|
||||||
<TextRun>
|
|
||||||
<Value>=Parameters!AgrupadoPor.Value</Value>
|
|
||||||
<MarkupType>HTML</MarkupType>
|
|
||||||
<Style>
|
|
||||||
<FontSize>9pt</FontSize>
|
|
||||||
<FontWeight>Normal</FontWeight>
|
|
||||||
</Style>
|
|
||||||
</TextRun>
|
|
||||||
</TextRuns>
|
|
||||||
<Style>
|
|
||||||
<TextAlign>Left</TextAlign>
|
|
||||||
</Style>
|
|
||||||
</Paragraph>
|
|
||||||
</Paragraphs>
|
|
||||||
<rd:DefaultName>Textbox1</rd:DefaultName>
|
|
||||||
<Top>0.07056cm</Top>
|
|
||||||
<Left>0.06614cm</Left>
|
|
||||||
<Height>0.58236cm</Height>
|
|
||||||
<Width>19.58715cm</Width>
|
|
||||||
<ZIndex>1</ZIndex>
|
|
||||||
<Style>
|
|
||||||
<Border>
|
|
||||||
<Style>None</Style>
|
|
||||||
</Border>
|
|
||||||
<PaddingLeft>2pt</PaddingLeft>
|
|
||||||
<PaddingRight>2pt</PaddingRight>
|
|
||||||
<PaddingTop>2pt</PaddingTop>
|
|
||||||
<PaddingBottom>2pt</PaddingBottom>
|
|
||||||
</Style>
|
|
||||||
</Textbox>
|
|
||||||
</ReportItems>
|
</ReportItems>
|
||||||
<Height>0.79506in</Height>
|
<Height>0.45131in</Height>
|
||||||
<Style />
|
<Style />
|
||||||
</Body>
|
</Body>
|
||||||
<Width>8.41991in</Width>
|
<Width>8.30832in</Width>
|
||||||
<Page>
|
<Page>
|
||||||
<PageHeader>
|
<PageHeader>
|
||||||
<Height>2.22362cm</Height>
|
<Height>3.01737cm</Height>
|
||||||
<PrintOnFirstPage>true</PrintOnFirstPage>
|
<PrintOnFirstPage>true</PrintOnFirstPage>
|
||||||
<ReportItems>
|
<ReportItems>
|
||||||
<Textbox Name="Textbox1">
|
<Textbox Name="Textbox1">
|
||||||
@@ -864,7 +828,7 @@
|
|||||||
<rd:DefaultName>Textbox1</rd:DefaultName>
|
<rd:DefaultName>Textbox1</rd:DefaultName>
|
||||||
<Left>2.43857cm</Left>
|
<Left>2.43857cm</Left>
|
||||||
<Height>0.6cm</Height>
|
<Height>0.6cm</Height>
|
||||||
<Width>14.68354cm</Width>
|
<Width>15.66659cm</Width>
|
||||||
<Style>
|
<Style>
|
||||||
<Border>
|
<Border>
|
||||||
<Style>None</Style>
|
<Style>None</Style>
|
||||||
@@ -912,7 +876,7 @@
|
|||||||
<Top>0.63528cm</Top>
|
<Top>0.63528cm</Top>
|
||||||
<Left>2.40329cm</Left>
|
<Left>2.40329cm</Left>
|
||||||
<Height>0.52945cm</Height>
|
<Height>0.52945cm</Height>
|
||||||
<Width>14.68354cm</Width>
|
<Width>15.70187cm</Width>
|
||||||
<ZIndex>1</ZIndex>
|
<ZIndex>1</ZIndex>
|
||||||
<Style>
|
<Style>
|
||||||
<Border>
|
<Border>
|
||||||
@@ -938,6 +902,42 @@
|
|||||||
</Border>
|
</Border>
|
||||||
</Style>
|
</Style>
|
||||||
</Image>
|
</Image>
|
||||||
|
<Textbox Name="Textbox3">
|
||||||
|
<CanGrow>true</CanGrow>
|
||||||
|
<KeepTogether>true</KeepTogether>
|
||||||
|
<Paragraphs>
|
||||||
|
<Paragraph>
|
||||||
|
<TextRuns>
|
||||||
|
<TextRun>
|
||||||
|
<Value>=Parameters!AgrupadoPor.Value</Value>
|
||||||
|
<MarkupType>HTML</MarkupType>
|
||||||
|
<Style>
|
||||||
|
<FontSize>9pt</FontSize>
|
||||||
|
<FontWeight>Normal</FontWeight>
|
||||||
|
</Style>
|
||||||
|
</TextRun>
|
||||||
|
</TextRuns>
|
||||||
|
<Style>
|
||||||
|
<TextAlign>Left</TextAlign>
|
||||||
|
</Style>
|
||||||
|
</Paragraph>
|
||||||
|
</Paragraphs>
|
||||||
|
<rd:DefaultName>Textbox3</rd:DefaultName>
|
||||||
|
<Top>2.31154cm</Top>
|
||||||
|
<Left>0.06614cm</Left>
|
||||||
|
<Height>0.6cm</Height>
|
||||||
|
<Width>18.03902cm</Width>
|
||||||
|
<ZIndex>3</ZIndex>
|
||||||
|
<Style>
|
||||||
|
<Border>
|
||||||
|
<Style>None</Style>
|
||||||
|
</Border>
|
||||||
|
<PaddingLeft>2pt</PaddingLeft>
|
||||||
|
<PaddingRight>2pt</PaddingRight>
|
||||||
|
<PaddingTop>2pt</PaddingTop>
|
||||||
|
<PaddingBottom>2pt</PaddingBottom>
|
||||||
|
</Style>
|
||||||
|
</Textbox>
|
||||||
</ReportItems>
|
</ReportItems>
|
||||||
<Style>
|
<Style>
|
||||||
<Border>
|
<Border>
|
||||||
@@ -969,7 +969,7 @@
|
|||||||
</Style>
|
</Style>
|
||||||
</Paragraph>
|
</Paragraph>
|
||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox3</rd:DefaultName>
|
<rd:DefaultName>Textbox31</rd:DefaultName>
|
||||||
<Top>0.40041cm</Top>
|
<Top>0.40041cm</Top>
|
||||||
<Left>16.97887cm</Left>
|
<Left>16.97887cm</Left>
|
||||||
<Height>0.68085cm</Height>
|
<Height>0.68085cm</Height>
|
||||||
@@ -1209,7 +1209,6 @@
|
|||||||
<Prompt>ReportParameter1</Prompt>
|
<Prompt>ReportParameter1</Prompt>
|
||||||
</ReportParameter>
|
</ReportParameter>
|
||||||
</ReportParameters>
|
</ReportParameters>
|
||||||
|
|
||||||
<Language>es-MX</Language>
|
<Language>es-MX</Language>
|
||||||
<rd:ReportUnitType>Cm</rd:ReportUnitType>
|
<rd:ReportUnitType>Cm</rd:ReportUnitType>
|
||||||
<rd:ReportID>40c94aad-a12a-44fb-ab0d-ea36a9656792</rd:ReportID>
|
<rd:ReportID>40c94aad-a12a-44fb-ab0d-ea36a9656792</rd:ReportID>
|
||||||
|
|||||||
@@ -161,7 +161,7 @@ public partial class OC_RepSolicitudesAnticipo : ClsPaginas
|
|||||||
String FechaF;
|
String FechaF;
|
||||||
if (txtFechaF.Text == "" || txtFechaF.Text == "__/__/____") { FechaF = ""; } else { FechaF = $" <b>Fecha Final:</b> {txtFechaF.Text}"; }
|
if (txtFechaF.Text == "" || txtFechaF.Text == "__/__/____") { FechaF = ""; } else { FechaF = $" <b>Fecha Final:</b> {txtFechaF.Text}"; }
|
||||||
String Proveedor;
|
String Proveedor;
|
||||||
if (DdlProveedores.SelectedValue != "-1") { Proveedor = $" <b>Proveedor:</b> {DdlProveedores.ddl.SelectedItem.Text}"; } else { Proveedor = ""; }
|
if (DdlProveedores.SelectedValue != "-1") { Proveedor = $" <b>Proveedor:</b> {DdlProveedores.SelectedText}"; } else { Proveedor = ""; }
|
||||||
String Estatus;
|
String Estatus;
|
||||||
if (DdlEstatus.SelectedValue != "1") { Estatus = $" <b>Estatus:</b> {DdlEstatus.SelectedItem.Text}"; } else { Estatus = ""; }
|
if (DdlEstatus.SelectedValue != "1") { Estatus = $" <b>Estatus:</b> {DdlEstatus.SelectedItem.Text}"; } else { Estatus = ""; }
|
||||||
String Usuario;
|
String Usuario;
|
||||||
@@ -178,7 +178,7 @@ public partial class OC_RepSolicitudesAnticipo : ClsPaginas
|
|||||||
para.Add(new ReportParameter("UsuarioImprimio", UsuarioActual.Nombre));
|
para.Add(new ReportParameter("UsuarioImprimio", UsuarioActual.Nombre));
|
||||||
para.Add(new ReportParameter("Estatus", DdlEstatus.SelectedValue));
|
para.Add(new ReportParameter("Estatus", DdlEstatus.SelectedValue));
|
||||||
String Agrupadores = $"{Proveedor}{FechaI}{FechaF}{Estatus}{Usuario}{SubProyectos}";
|
String Agrupadores = $"{Proveedor}{FechaI}{FechaF}{Estatus}{Usuario}{SubProyectos}";
|
||||||
para.Add(new ReportParameter("AgrupadoPor", (Agrupadores == "" ? "": $"<b></b> {Agrupadores}")));
|
para.Add(new ReportParameter("AgrupadoPor", (Agrupadores == "" ? "": $" {Agrupadores}")));
|
||||||
if (Imagen.Exists)
|
if (Imagen.Exists)
|
||||||
{
|
{
|
||||||
para.Add(new ReportParameter("LogoPath", logouri));
|
para.Add(new ReportParameter("LogoPath", logouri));
|
||||||
|
|||||||
@@ -139,7 +139,7 @@ public partial class OI_TareaDetalle : ClsPaginas
|
|||||||
}
|
}
|
||||||
private void Setpermisos()
|
private void Setpermisos()
|
||||||
{
|
{
|
||||||
bool permisedestatus = (CveEventoEstatus > 1 && CveEventoEstatus < 4);
|
bool permisedestatus = (CveEventoEstatus < 4);
|
||||||
bool esmiembro = UsuarioActual.CveUsuario.Contiene(LCveUsuarioCCP.ToArray<int>());
|
bool esmiembro = UsuarioActual.CveUsuario.Contiene(LCveUsuarioCCP.ToArray<int>());
|
||||||
bool esdeel = UsuarioActual.CveUsuario == CveUsuarioDe;
|
bool esdeel = UsuarioActual.CveUsuario == CveUsuarioDe;
|
||||||
bool esPara = UsuarioActual.CveUsuario == CveUsuarioPara;
|
bool esPara = UsuarioActual.CveUsuario == CveUsuarioPara;
|
||||||
@@ -467,7 +467,7 @@ public partial class OI_TareaDetalle : ClsPaginas
|
|||||||
int CveOS = drow["CveOS"].ToString().ToEntero();
|
int CveOS = drow["CveOS"].ToString().ToEntero();
|
||||||
int CveOC = drow["CveOC"].ToString().ToEntero();
|
int CveOC = drow["CveOC"].ToString().ToEntero();
|
||||||
int CveContrato = drow["CveContrato"].ToString().ToEntero();
|
int CveContrato = drow["CveContrato"].ToString().ToEntero();
|
||||||
//int CveSubProyecto = drow["CveSubProyecto"].ToString().ToEntero();
|
int CveSubProyecto = drow["CveSubProyecto"].ToString().ToEntero();
|
||||||
int CveMovimientoAlmacen = drow["CveMovimientoAlmacen"].ToString().ToEntero();
|
int CveMovimientoAlmacen = drow["CveMovimientoAlmacen"].ToString().ToEntero();
|
||||||
|
|
||||||
//int = drow[""].ToString().ToEntero();
|
//int = drow[""].ToString().ToEntero();
|
||||||
@@ -534,11 +534,11 @@ public partial class OI_TareaDetalle : ClsPaginas
|
|||||||
titulo = "Contrato";
|
titulo = "Contrato";
|
||||||
link = string.Format("<a href=\"/Contratos/Contrato.aspx?CveContrato={1}\" class=\"linkCorreo\">{0} </a>", drow["Contrato"], CveContrato);
|
link = string.Format("<a href=\"/Contratos/Contrato.aspx?CveContrato={1}\" class=\"linkCorreo\">{0} </a>", drow["Contrato"], CveContrato);
|
||||||
}
|
}
|
||||||
//else if (CveSubProyecto > 0)
|
else if (CveSubProyecto > 0)
|
||||||
//{
|
{
|
||||||
// titulo = "Sub Proyecto";
|
titulo = "Sub Proyecto";
|
||||||
// link = string.Format("<a href=\"/?={1}\" class=\"linkCorreo\">{0} </a>", drow["SubProyecto"], CveSubProyecto);
|
link = string.Format("<a href=\"/?={1}\" class=\"linkCorreo\">{0} </a>", drow["SubProyecto"], CveSubProyecto);
|
||||||
//}
|
}
|
||||||
else if (CveMovimientoAlmacen > 0)
|
else if (CveMovimientoAlmacen > 0)
|
||||||
{
|
{
|
||||||
titulo = "Almacen";
|
titulo = "Almacen";
|
||||||
|
|||||||
Reference in New Issue
Block a user