Merge branch 'master' of http://192.168.10.111:8383/SIG
This commit is contained in:
@@ -1518,7 +1518,7 @@ Partial Class Compras_eFacturas
|
|||||||
|
|
||||||
If dt IsNot Nothing Then
|
If dt IsNot Nothing Then
|
||||||
|
|
||||||
Dim Imagen As New System.IO.FileInfo($"{UsuarioActual.Empresa.Ruta}/Logo.png")
|
Dim Imagen As New System.IO.FileInfo($"{UsuarioActual.Empresa.Ruta}Logo.png")
|
||||||
|
|
||||||
|
|
||||||
Dim params As New List(Of ReportParameter)
|
Dim params As New List(Of ReportParameter)
|
||||||
@@ -1529,7 +1529,7 @@ Partial Class Compras_eFacturas
|
|||||||
params.Add(New ReportParameter("FechaImpresion", Fecha.ToDateTime.ToShortDateString))
|
params.Add(New ReportParameter("FechaImpresion", Fecha.ToDateTime.ToShortDateString))
|
||||||
|
|
||||||
If Imagen.Exists Then
|
If Imagen.Exists Then
|
||||||
params.Add(New ReportParameter("LogoPath", $"file//:{Imagen.FullName}"))
|
params.Add(New ReportParameter("LogoPath", $"file://{Imagen.FullName}"))
|
||||||
Else
|
Else
|
||||||
params.Add(New ReportParameter("LogoPath", ""))
|
params.Add(New ReportParameter("LogoPath", ""))
|
||||||
End If
|
End If
|
||||||
|
|||||||
@@ -1,5 +1,67 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
|
<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">
|
||||||
|
<AutoRefresh>0</AutoRefresh>
|
||||||
|
<DataSources>
|
||||||
|
<DataSource Name="DataSet">
|
||||||
|
<ConnectionProperties>
|
||||||
|
<DataProvider>System.Data.DataSet</DataProvider>
|
||||||
|
<ConnectString>/* Local Connection */</ConnectString>
|
||||||
|
</ConnectionProperties>
|
||||||
|
<rd:DataSourceID>f55ecc33-47ff-4fc5-a233-35ea9bb1f578</rd:DataSourceID>
|
||||||
|
</DataSource>
|
||||||
|
</DataSources>
|
||||||
|
<DataSets>
|
||||||
|
<DataSet Name="DataSet1">
|
||||||
|
<Query>
|
||||||
|
<DataSourceName>DataSet</DataSourceName>
|
||||||
|
<CommandText>/* Local Query */</CommandText>
|
||||||
|
</Query>
|
||||||
|
<Fields>
|
||||||
|
<Field Name="TipoComprobante">
|
||||||
|
<DataField>TipoComprobante</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="SerieFolio">
|
||||||
|
<DataField>SerieFolio</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="FechaFactura">
|
||||||
|
<DataField>FechaFactura</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Total">
|
||||||
|
<DataField>Total</DataField>
|
||||||
|
<rd:TypeName>System.Double</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="FueValidado">
|
||||||
|
<DataField>FueValidado</DataField>
|
||||||
|
<rd:TypeName>System.Double</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="NombreProveedor">
|
||||||
|
<DataField>NombreProveedor</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="UUID">
|
||||||
|
<DataField>UUID</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Abreviatura">
|
||||||
|
<DataField>Abreviatura</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
</Fields>
|
||||||
|
<rd:DataSetInfo>
|
||||||
|
<rd:DataSetName>DataSet</rd:DataSetName>
|
||||||
|
<rd:SchemaPath>C:\Users\Caudillo\Documents\Visual Studio 2013\WebSites\WebSite9\App_Code\DataSet.xsd</rd:SchemaPath>
|
||||||
|
<rd:TableName>DataTable1</rd:TableName>
|
||||||
|
<rd:TableAdapterFillMethod />
|
||||||
|
<rd:TableAdapterGetDataMethod />
|
||||||
|
<rd:TableAdapterName />
|
||||||
|
</rd:DataSetInfo>
|
||||||
|
</DataSet>
|
||||||
|
</DataSets>
|
||||||
|
<ReportSections>
|
||||||
|
<ReportSection>
|
||||||
<Body>
|
<Body>
|
||||||
<ReportItems>
|
<ReportItems>
|
||||||
<Tablix Name="Tablix2">
|
<Tablix Name="Tablix2">
|
||||||
@@ -90,7 +152,7 @@
|
|||||||
<TablixBody>
|
<TablixBody>
|
||||||
<TablixColumns>
|
<TablixColumns>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>1.70632cm</Width>
|
<Width>1.41528cm</Width>
|
||||||
</TablixColumn>
|
</TablixColumn>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>6.55172cm</Width>
|
<Width>6.55172cm</Width>
|
||||||
@@ -99,10 +161,13 @@
|
|||||||
<Width>1.87355cm</Width>
|
<Width>1.87355cm</Width>
|
||||||
</TablixColumn>
|
</TablixColumn>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>1.67935cm</Width>
|
<Width>1.2cm</Width>
|
||||||
</TablixColumn>
|
</TablixColumn>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>5.52508cm</Width>
|
<Width>1.5cm</Width>
|
||||||
|
</TablixColumn>
|
||||||
|
<TablixColumn>
|
||||||
|
<Width>5.14577cm</Width>
|
||||||
</TablixColumn>
|
</TablixColumn>
|
||||||
</TablixColumns>
|
</TablixColumns>
|
||||||
<TablixRows>
|
<TablixRows>
|
||||||
@@ -209,6 +274,40 @@
|
|||||||
</Textbox>
|
</Textbox>
|
||||||
</CellContents>
|
</CellContents>
|
||||||
</TablixCell>
|
</TablixCell>
|
||||||
|
<TablixCell>
|
||||||
|
<CellContents>
|
||||||
|
<Textbox Name="Abreviatura">
|
||||||
|
<CanGrow>true</CanGrow>
|
||||||
|
<KeepTogether>true</KeepTogether>
|
||||||
|
<Paragraphs>
|
||||||
|
<Paragraph>
|
||||||
|
<TextRuns>
|
||||||
|
<TextRun>
|
||||||
|
<Value>=Fields!Abreviatura.Value</Value>
|
||||||
|
<Style>
|
||||||
|
<FontSize>7pt</FontSize>
|
||||||
|
</Style>
|
||||||
|
</TextRun>
|
||||||
|
</TextRuns>
|
||||||
|
<Style>
|
||||||
|
<TextAlign>Center</TextAlign>
|
||||||
|
</Style>
|
||||||
|
</Paragraph>
|
||||||
|
</Paragraphs>
|
||||||
|
<rd:DefaultName>Abreviatura</rd:DefaultName>
|
||||||
|
<Style>
|
||||||
|
<Border>
|
||||||
|
<Style>None</Style>
|
||||||
|
</Border>
|
||||||
|
<PaddingLeft>2pt</PaddingLeft>
|
||||||
|
<PaddingRight>2pt</PaddingRight>
|
||||||
|
<PaddingTop>2pt</PaddingTop>
|
||||||
|
<PaddingBottom>2pt</PaddingBottom>
|
||||||
|
</Style>
|
||||||
|
</Textbox>
|
||||||
|
<rd:Selected>true</rd:Selected>
|
||||||
|
</CellContents>
|
||||||
|
</TablixCell>
|
||||||
<TablixCell>
|
<TablixCell>
|
||||||
<CellContents>
|
<CellContents>
|
||||||
<Textbox Name="Amortizacion">
|
<Textbox Name="Amortizacion">
|
||||||
@@ -255,7 +354,7 @@ Fields!FueValidado.Value = "3","Omitida",
|
|||||||
<TextRun>
|
<TextRun>
|
||||||
<Value>=Fields!UUID.Value</Value>
|
<Value>=Fields!UUID.Value</Value>
|
||||||
<Style>
|
<Style>
|
||||||
<FontSize>7pt</FontSize>
|
<FontSize>6.5pt</FontSize>
|
||||||
</Style>
|
</Style>
|
||||||
</TextRun>
|
</TextRun>
|
||||||
</TextRuns>
|
</TextRuns>
|
||||||
@@ -292,7 +391,21 @@ Fields!FueValidado.Value = "3","Omitida",
|
|||||||
<Paragraph>
|
<Paragraph>
|
||||||
<TextRuns>
|
<TextRuns>
|
||||||
<TextRun>
|
<TextRun>
|
||||||
<Value>Fecha Fact.</Value>
|
<Value>Fecha</Value>
|
||||||
|
<Style>
|
||||||
|
<FontSize>7pt</FontSize>
|
||||||
|
<FontWeight>Bold</FontWeight>
|
||||||
|
</Style>
|
||||||
|
</TextRun>
|
||||||
|
</TextRuns>
|
||||||
|
<Style>
|
||||||
|
<TextAlign>Center</TextAlign>
|
||||||
|
</Style>
|
||||||
|
</Paragraph>
|
||||||
|
<Paragraph>
|
||||||
|
<TextRuns>
|
||||||
|
<TextRun>
|
||||||
|
<Value>Fact.</Value>
|
||||||
<Style>
|
<Style>
|
||||||
<FontSize>7pt</FontSize>
|
<FontSize>7pt</FontSize>
|
||||||
<FontWeight>Bold</FontWeight>
|
<FontWeight>Bold</FontWeight>
|
||||||
@@ -398,6 +511,45 @@ Fields!FueValidado.Value = "3","Omitida",
|
|||||||
</CellContents>
|
</CellContents>
|
||||||
</TablixHeader>
|
</TablixHeader>
|
||||||
</TablixMember>
|
</TablixMember>
|
||||||
|
<TablixMember>
|
||||||
|
<TablixHeader>
|
||||||
|
<Size>0.44125cm</Size>
|
||||||
|
<CellContents>
|
||||||
|
<Textbox Name="Textbox5">
|
||||||
|
<CanGrow>true</CanGrow>
|
||||||
|
<KeepTogether>true</KeepTogether>
|
||||||
|
<Paragraphs>
|
||||||
|
<Paragraph>
|
||||||
|
<TextRuns>
|
||||||
|
<TextRun>
|
||||||
|
<Value>Moneda</Value>
|
||||||
|
<Style>
|
||||||
|
<FontSize>7pt</FontSize>
|
||||||
|
<FontWeight>Bold</FontWeight>
|
||||||
|
</Style>
|
||||||
|
</TextRun>
|
||||||
|
</TextRuns>
|
||||||
|
<Style>
|
||||||
|
<TextAlign>Center</TextAlign>
|
||||||
|
</Style>
|
||||||
|
</Paragraph>
|
||||||
|
</Paragraphs>
|
||||||
|
<rd:DefaultName>Textbox5</rd:DefaultName>
|
||||||
|
<Style>
|
||||||
|
<Border>
|
||||||
|
<Color>Silver</Color>
|
||||||
|
<Style>Solid</Style>
|
||||||
|
</Border>
|
||||||
|
<BackgroundColor>Silver</BackgroundColor>
|
||||||
|
<PaddingLeft>2pt</PaddingLeft>
|
||||||
|
<PaddingRight>2pt</PaddingRight>
|
||||||
|
<PaddingTop>2pt</PaddingTop>
|
||||||
|
<PaddingBottom>2pt</PaddingBottom>
|
||||||
|
</Style>
|
||||||
|
</Textbox>
|
||||||
|
</CellContents>
|
||||||
|
</TablixHeader>
|
||||||
|
</TablixMember>
|
||||||
<TablixMember>
|
<TablixMember>
|
||||||
<TablixHeader>
|
<TablixHeader>
|
||||||
<Size>0.44125cm</Size>
|
<Size>0.44125cm</Size>
|
||||||
@@ -409,7 +561,21 @@ Fields!FueValidado.Value = "3","Omitida",
|
|||||||
<Paragraph>
|
<Paragraph>
|
||||||
<TextRuns>
|
<TextRuns>
|
||||||
<TextRun>
|
<TextRun>
|
||||||
<Value>EstatusSAT</Value>
|
<Value>Estatus</Value>
|
||||||
|
<Style>
|
||||||
|
<FontSize>7pt</FontSize>
|
||||||
|
<FontWeight>Bold</FontWeight>
|
||||||
|
</Style>
|
||||||
|
</TextRun>
|
||||||
|
</TextRuns>
|
||||||
|
<Style>
|
||||||
|
<TextAlign>Center</TextAlign>
|
||||||
|
</Style>
|
||||||
|
</Paragraph>
|
||||||
|
<Paragraph>
|
||||||
|
<TextRuns>
|
||||||
|
<TextRun>
|
||||||
|
<Value>SAT</Value>
|
||||||
<Style>
|
<Style>
|
||||||
<FontSize>7pt</FontSize>
|
<FontSize>7pt</FontSize>
|
||||||
<FontWeight>Bold</FontWeight>
|
<FontWeight>Bold</FontWeight>
|
||||||
@@ -450,7 +616,7 @@ Fields!FueValidado.Value = "3","Omitida",
|
|||||||
<TextRun>
|
<TextRun>
|
||||||
<Value>Folio Fiscal</Value>
|
<Value>Folio Fiscal</Value>
|
||||||
<Style>
|
<Style>
|
||||||
<FontSize>7pt</FontSize>
|
<FontSize>6.5pt</FontSize>
|
||||||
<FontWeight>Bold</FontWeight>
|
<FontWeight>Bold</FontWeight>
|
||||||
</Style>
|
</Style>
|
||||||
</TextRun>
|
</TextRun>
|
||||||
@@ -495,7 +661,7 @@ Fields!FueValidado.Value = "3","Omitida",
|
|||||||
</SortExpression>
|
</SortExpression>
|
||||||
</SortExpressions>
|
</SortExpressions>
|
||||||
<TablixHeader>
|
<TablixHeader>
|
||||||
<Size>1.30938cm</Size>
|
<Size>1.25012cm</Size>
|
||||||
<CellContents>
|
<CellContents>
|
||||||
<Textbox Name="TipoComprobante">
|
<Textbox Name="TipoComprobante">
|
||||||
<CanGrow>true</CanGrow>
|
<CanGrow>true</CanGrow>
|
||||||
@@ -571,7 +737,7 @@ Fields!TipoComprobante.Value="P","Pago"
|
|||||||
<DataSetName>DataSet1</DataSetName>
|
<DataSetName>DataSet1</DataSetName>
|
||||||
<Left>0.06614cm</Left>
|
<Left>0.06614cm</Left>
|
||||||
<Height>0.77667cm</Height>
|
<Height>0.77667cm</Height>
|
||||||
<Width>20.60579cm</Width>
|
<Width>20.89683cm</Width>
|
||||||
<Style>
|
<Style>
|
||||||
<Border>
|
<Border>
|
||||||
<Style>None</Style>
|
<Style>None</Style>
|
||||||
@@ -582,7 +748,7 @@ Fields!TipoComprobante.Value="P","Pago"
|
|||||||
<Height>0.35786in</Height>
|
<Height>0.35786in</Height>
|
||||||
<Style />
|
<Style />
|
||||||
</Body>
|
</Body>
|
||||||
<Width>8.13855in</Width>
|
<Width>8.25314in</Width>
|
||||||
<Page>
|
<Page>
|
||||||
<PageHeader>
|
<PageHeader>
|
||||||
<Height>2.22362cm</Height>
|
<Height>2.22362cm</Height>
|
||||||
@@ -802,6 +968,7 @@ Fields!TipoComprobante.Value="P","Pago"
|
|||||||
</Paragraph>
|
</Paragraph>
|
||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox3</rd:DefaultName>
|
<rd:DefaultName>Textbox3</rd:DefaultName>
|
||||||
|
<Top>0cm</Top>
|
||||||
<Left>18.56637cm</Left>
|
<Left>18.56637cm</Left>
|
||||||
<Height>0.68085cm</Height>
|
<Height>0.68085cm</Height>
|
||||||
<Width>2.06587cm</Width>
|
<Width>2.06587cm</Width>
|
||||||
@@ -962,62 +1129,8 @@ Fields!TipoComprobante.Value="P","Pago"
|
|||||||
<ColumnSpacing>0.13cm</ColumnSpacing>
|
<ColumnSpacing>0.13cm</ColumnSpacing>
|
||||||
<Style />
|
<Style />
|
||||||
</Page>
|
</Page>
|
||||||
<AutoRefresh>0</AutoRefresh>
|
</ReportSection>
|
||||||
<DataSources>
|
</ReportSections>
|
||||||
<DataSource Name="DataSet">
|
|
||||||
<ConnectionProperties>
|
|
||||||
<DataProvider>System.Data.DataSet</DataProvider>
|
|
||||||
<ConnectString>/* Local Connection */</ConnectString>
|
|
||||||
</ConnectionProperties>
|
|
||||||
<rd:DataSourceID>f55ecc33-47ff-4fc5-a233-35ea9bb1f578</rd:DataSourceID>
|
|
||||||
</DataSource>
|
|
||||||
</DataSources>
|
|
||||||
<DataSets>
|
|
||||||
<DataSet Name="DataSet1">
|
|
||||||
<Query>
|
|
||||||
<DataSourceName>DataSet</DataSourceName>
|
|
||||||
<CommandText>/* Local Query */</CommandText>
|
|
||||||
</Query>
|
|
||||||
<Fields>
|
|
||||||
<Field Name="TipoComprobante">
|
|
||||||
<DataField>TipoComprobante</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="SerieFolio">
|
|
||||||
<DataField>SerieFolio</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="FechaFactura">
|
|
||||||
<DataField>FechaFactura</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Total">
|
|
||||||
<DataField>Total</DataField>
|
|
||||||
<rd:TypeName>System.Double</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="FueValidado">
|
|
||||||
<DataField>FueValidado</DataField>
|
|
||||||
<rd:TypeName>System.Double</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="NombreProveedor">
|
|
||||||
<DataField>NombreProveedor</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="UUID">
|
|
||||||
<DataField>UUID</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
</Fields>
|
|
||||||
<rd:DataSetInfo>
|
|
||||||
<rd:DataSetName>DataSet</rd:DataSetName>
|
|
||||||
<rd:SchemaPath>C:\Users\Caudillo\Documents\Visual Studio 2013\WebSites\WebSite9\App_Code\DataSet.xsd</rd:SchemaPath>
|
|
||||||
<rd:TableName>DataTable1</rd:TableName>
|
|
||||||
<rd:TableAdapterFillMethod />
|
|
||||||
<rd:TableAdapterGetDataMethod />
|
|
||||||
<rd:TableAdapterName />
|
|
||||||
</rd:DataSetInfo>
|
|
||||||
</DataSet>
|
|
||||||
</DataSets>
|
|
||||||
<ReportParameters>
|
<ReportParameters>
|
||||||
<ReportParameter Name="NombreEmpresa">
|
<ReportParameter Name="NombreEmpresa">
|
||||||
<DataType>String</DataType>
|
<DataType>String</DataType>
|
||||||
|
|||||||
@@ -70,14 +70,26 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-group form-md-line-input input-iconright" style="width: 150px;">
|
<div class="form-group form-md-line-input input-iconright" style="width: 150px;">
|
||||||
<asp:TextBox ID="TxtNumPed" CssClass="form-control" runat="server" MaxLength="50"></asp:TextBox>
|
<asp:TextBox ID="TxtNumPed" CssClass="form-control" runat="server" MaxLength="50"></asp:TextBox>
|
||||||
<ajaxToolkit:MaskedEditExtender ID="meeTxtPedimento" runat="server"
|
<ajaxToolkit:MaskedEditExtender
|
||||||
ClearMaskOnLostFocus="false"
|
ID="meeTxtPedimento"
|
||||||
|
runat="server"
|
||||||
TargetControlID="TxtNumPed"
|
TargetControlID="TxtNumPed"
|
||||||
Mask="99--99--9999--9999999"
|
Mask="99--99--9999--9999999"
|
||||||
MaskType="Number"
|
MaskType="None"
|
||||||
|
ClearMaskOnLostFocus="false"
|
||||||
InputDirection="LeftToRight"
|
InputDirection="LeftToRight"
|
||||||
AcceptNegative="None"
|
AcceptNegative="None"
|
||||||
ErrorTooltipEnabled="True" />
|
ErrorTooltipEnabled="True" />
|
||||||
|
|
||||||
|
<asp:CustomValidator
|
||||||
|
ID="cvNumPed"
|
||||||
|
runat="server"
|
||||||
|
ControlToValidate="TxtNumPed"
|
||||||
|
ErrorMessage="El número de pedimento está incompleto o tiene un formato incorrecto."
|
||||||
|
ForeColor="Red"
|
||||||
|
Display="Dynamic"
|
||||||
|
ValidationGroup="GrpGuardar"
|
||||||
|
ClientValidationFunction="validaPedimento" />
|
||||||
<label for="<%= TxtNumPed.ClientID.ToString()%>" style="margin: 0; white-space: nowrap;">Número de Pedimento:</label>
|
<label for="<%= TxtNumPed.ClientID.ToString()%>" style="margin: 0; white-space: nowrap;">Número de Pedimento:</label>
|
||||||
</div>
|
</div>
|
||||||
<table>
|
<table>
|
||||||
@@ -132,6 +144,14 @@
|
|||||||
<asp:TextBox ID="TxtTipoCambio" CssClass="form-control" runat="server" MaxLength="50"></asp:TextBox>
|
<asp:TextBox ID="TxtTipoCambio" CssClass="form-control" runat="server" MaxLength="50"></asp:TextBox>
|
||||||
<ajax:FilteredTextBoxExtender ID="FTETipoCambio" runat="server" TargetControlID="TxtTipoCambio" FilterType="Custom, Numbers" ValidChars="." />
|
<ajax:FilteredTextBoxExtender ID="FTETipoCambio" runat="server" TargetControlID="TxtTipoCambio" FilterType="Custom, Numbers" ValidChars="." />
|
||||||
<label for="<%= TxtTipoCambio.ClientID.ToString()%>">Tipo de Cambio:</label>
|
<label for="<%= TxtTipoCambio.ClientID.ToString()%>">Tipo de Cambio:</label>
|
||||||
|
<asp:RequiredFieldValidator
|
||||||
|
ID="RFVTipoCambio"
|
||||||
|
runat="server"
|
||||||
|
ControlToValidate="TxtTipoCambio"
|
||||||
|
ErrorMessage="El tipo de cambio es obligatorio."
|
||||||
|
Display="Dynamic"
|
||||||
|
ForeColor="Red"
|
||||||
|
ValidationGroup="GrpGuardar" />
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group form-md-line-input input-iconright" style="width: 150px;">
|
<div class="form-group form-md-line-input input-iconright" style="width: 150px;">
|
||||||
<asp:DropDownList ID="DdlIncoterm" CssClass="form-control select2me" AppendDataBoundItems="true" Style="width: 100%;" runat="server" DataTextField="ClaveSATIncotermDescripcion" DataValueField="CveIncoterm"></asp:DropDownList>
|
<asp:DropDownList ID="DdlIncoterm" CssClass="form-control select2me" AppendDataBoundItems="true" Style="width: 100%;" runat="server" DataTextField="ClaveSATIncotermDescripcion" DataValueField="CveIncoterm"></asp:DropDownList>
|
||||||
@@ -842,5 +862,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
<asp:Content ID="Content8" ContentPlaceHolderID="JS" Runat="Server">
|
<asp:Content ID="Content8" ContentPlaceHolderID="JS" Runat="Server">
|
||||||
|
<script type="text/javascript">
|
||||||
|
function validaPedimento(sender, args) {
|
||||||
|
// Regex: 2 dígitos, --, 2 dígitos, --, 4 dígitos, --, 7 dígitos
|
||||||
|
var regex = /^\d{2}--\d{2}--\d{4}--\d{7}$/;
|
||||||
|
args.IsValid = regex.test(args.Value);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
|
|
||||||
|
|||||||
@@ -1010,7 +1010,9 @@ public partial class Export_ExpDetalle : ClsPaginas
|
|||||||
DataRow RowExp = DTExportaciones.Rows[0];
|
DataRow RowExp = DTExportaciones.Rows[0];
|
||||||
string ClienteExportador = DTExportaciones.FiltroPrimeroValor("ClienteExportador");
|
string ClienteExportador = DTExportaciones.FiltroPrimeroValor("ClienteExportador");
|
||||||
string DirExportador = DTExportaciones.FiltroPrimeroValor("DirExportador");
|
string DirExportador = DTExportaciones.FiltroPrimeroValor("DirExportador");
|
||||||
|
string RFCExp = DTExportaciones.FiltroPrimeroValor("RFCExp");
|
||||||
string ClienteImportador = DTExportaciones.FiltroPrimeroValor("ClienteImportador");
|
string ClienteImportador = DTExportaciones.FiltroPrimeroValor("ClienteImportador");
|
||||||
|
string DirImportador = DTExportaciones.FiltroPrimeroValor("DirImportador");
|
||||||
string RFCImp = DTExportaciones.FiltroPrimeroValor("RFCImp");
|
string RFCImp = DTExportaciones.FiltroPrimeroValor("RFCImp");
|
||||||
string IMMEXimp = DTExportaciones.FiltroPrimeroValor("IMMEXimp");
|
string IMMEXimp = DTExportaciones.FiltroPrimeroValor("IMMEXimp");
|
||||||
string NumFactura = DTExportaciones.FiltroPrimeroValor("SerieFolio");
|
string NumFactura = DTExportaciones.FiltroPrimeroValor("SerieFolio");
|
||||||
@@ -1056,6 +1058,7 @@ public partial class Export_ExpDetalle : ClsPaginas
|
|||||||
decimal TotalInc = 0.00m;
|
decimal TotalInc = 0.00m;
|
||||||
decimal TotalDec = 0.00m;
|
decimal TotalDec = 0.00m;
|
||||||
|
|
||||||
|
string DescContenedor = DTExportaciones.FiltroPrimeroValor("DescripcionContenedor");
|
||||||
string ContenedorPlaca = DTExportaciones.FiltroPrimeroValor("ContenedorPlaca");
|
string ContenedorPlaca = DTExportaciones.FiltroPrimeroValor("ContenedorPlaca");
|
||||||
string Proveedor = DTExportaciones.FiltroPrimeroValor("Proveedor");
|
string Proveedor = DTExportaciones.FiltroPrimeroValor("Proveedor");
|
||||||
string SCAC = DTExportaciones.FiltroPrimeroValor("SCAC");
|
string SCAC = DTExportaciones.FiltroPrimeroValor("SCAC");
|
||||||
@@ -1073,7 +1076,9 @@ public partial class Export_ExpDetalle : ClsPaginas
|
|||||||
para.Add(new ReportParameter("CveExportacion", CveExportacion.ToString()));
|
para.Add(new ReportParameter("CveExportacion", CveExportacion.ToString()));
|
||||||
para.Add(new ReportParameter("ClienteExportador", ClienteExportador));
|
para.Add(new ReportParameter("ClienteExportador", ClienteExportador));
|
||||||
para.Add(new ReportParameter("DirExportador", DirExportador));
|
para.Add(new ReportParameter("DirExportador", DirExportador));
|
||||||
|
para.Add(new ReportParameter("RFCExp", RFCExp));
|
||||||
para.Add(new ReportParameter("ClienteImportador", ClienteImportador));
|
para.Add(new ReportParameter("ClienteImportador", ClienteImportador));
|
||||||
|
para.Add(new ReportParameter("DirImportador", DirImportador));
|
||||||
para.Add(new ReportParameter("RFCImp", RFCImp));
|
para.Add(new ReportParameter("RFCImp", RFCImp));
|
||||||
para.Add(new ReportParameter("IMMEXimp", IMMEXimp));
|
para.Add(new ReportParameter("IMMEXimp", IMMEXimp));
|
||||||
para.Add(new ReportParameter("NumFactura", NumFactura));
|
para.Add(new ReportParameter("NumFactura", NumFactura));
|
||||||
@@ -1125,6 +1130,7 @@ public partial class Export_ExpDetalle : ClsPaginas
|
|||||||
para.Add(new ReportParameter("DecOtros", DecOtros.ToString("#,###.####")));
|
para.Add(new ReportParameter("DecOtros", DecOtros.ToString("#,###.####")));
|
||||||
para.Add(new ReportParameter("TotalDec", TotalDec.ToString("#,###.####")));
|
para.Add(new ReportParameter("TotalDec", TotalDec.ToString("#,###.####")));
|
||||||
|
|
||||||
|
para.Add(new ReportParameter("DescContenedor", DescContenedor));
|
||||||
para.Add(new ReportParameter("ContenedorPlaca", ContenedorPlaca));
|
para.Add(new ReportParameter("ContenedorPlaca", ContenedorPlaca));
|
||||||
para.Add(new ReportParameter("Proveedor", Proveedor));
|
para.Add(new ReportParameter("Proveedor", Proveedor));
|
||||||
para.Add(new ReportParameter("SCAC", SCAC));
|
para.Add(new ReportParameter("SCAC", SCAC));
|
||||||
|
|||||||
@@ -53,6 +53,21 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 500px;
|
height: 500px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#<%= GVExportaciones.ClientID %> .btn,
|
||||||
|
#<%= GVExportaciones.ClientID %> .btn-circle {
|
||||||
|
display: inline-block !important;
|
||||||
|
width: auto !important;
|
||||||
|
min-width: 0 !important;
|
||||||
|
max-width: none !important;
|
||||||
|
vertical-align: middle !important;
|
||||||
|
margin-bottom: 0 !important;
|
||||||
|
margin-right: 4px;
|
||||||
|
float: none !important;
|
||||||
|
clear: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
<asp:Content ID="Content3" ContentPlaceHolderID="E" Runat="Server">
|
<asp:Content ID="Content3" ContentPlaceHolderID="E" Runat="Server">
|
||||||
@@ -148,11 +163,11 @@
|
|||||||
</asp:UpdatePanel>
|
</asp:UpdatePanel>
|
||||||
<asp:UpdatePanel ID="upDatosExp" runat="server" UpdateMode="Conditional">
|
<asp:UpdatePanel ID="upDatosExp" runat="server" UpdateMode="Conditional">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<asp:GridView ID="GVExportaciones" runat="server" data-sort="true" AutoGenerateColumns="False" DataKeyNames="CveExportacion" Width="100%" EmptyDataText="No se encontraron Exportaciones" ToolTip="Exportaciones" CssClass="table table-striped table-advance table-hover Widthall ScrollAD" GridLines="None">
|
<asp:GridView ID="GVExportaciones" runat="server" data-sort="true" AutoGenerateColumns="False" DataKeyNames="CveExportacion" Width="100%" EmptyDataText="No se encontraron Exportaciones" ToolTip="Exportaciones" CssClass="table table-striped table-advance table-hover Widthall ScrollAD" GridLines="None" OnRowDataBound="GVExportaciones_RowDataBound" OnRowCreated="GVExportaciones_RowCreated">
|
||||||
<Columns>
|
<Columns>
|
||||||
<asp:TemplateField HeaderText="Exportación" ItemStyle-HorizontalAlign="Left">
|
<asp:TemplateField ItemStyle-HorizontalAlign="Left">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:HyperLink ID="HlExpDetalle" runat="server" Text='<%# Eval("CveExportacion") %>' NavigateUrl='<%# Eval("CveExportacion", "ExpDetalle.aspx?CveExportacion={0}") %>'>></asp:HyperLink>
|
<asp:HyperLink ID="HlExpDetalle" runat="server" Text='<%# Eval("CveExportacion") %>'></asp:HyperLink>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:BoundField DataField="FechaIng" ItemStyle-HorizontalAlign="Left" ItemStyle-Width="100px" HeaderText="Fecha de Ingreso" DataFormatString="{0:d}" />
|
<asp:BoundField DataField="FechaIng" ItemStyle-HorizontalAlign="Left" ItemStyle-Width="100px" HeaderText="Fecha de Ingreso" DataFormatString="{0:d}" />
|
||||||
@@ -224,14 +239,28 @@
|
|||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
|
||||||
<asp:TemplateField HeaderText="Editar" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="100px">
|
<asp:TemplateField HeaderText="Acciones" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="120px">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:LinkButton data-toggle="tooltip" title="Editar" ID="LnkEditar" OnClick="EditarExp_Click" CssClass="btn btn-circle btn-sm green" runat="server" Text="<i class='fa fa-pencil'></i>"></asp:LinkButton>
|
<span style="white-space: nowrap;">
|
||||||
</ItemTemplate>
|
<asp:HyperLink
|
||||||
</asp:TemplateField>
|
ID="HlEditar"
|
||||||
<asp:TemplateField HeaderText="Eliminar" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="100px">
|
runat="server"
|
||||||
<ItemTemplate>
|
CssClass="btn btn-circle btn-sm green"
|
||||||
<asp:LinkButton ID="LnkEliminar" runat="server" OnClick="EliminarExp_Click" CssClass="btn btn-circle btn-sm red" Text="<i class='icon-trash'></i>" data-toggle="confirmation" data-popout="true" data-original-title="¿Está seguro que desea eliminar la Exportación?" data-btn-ok-label="Sí" />
|
Text="<i class='fa fa-pencil'></i>"
|
||||||
|
ToolTip="Editar">
|
||||||
|
</asp:HyperLink>
|
||||||
|
|
||||||
|
<asp:LinkButton
|
||||||
|
ID="LnkEliminar"
|
||||||
|
runat="server"
|
||||||
|
OnClick="EliminarExp_Click"
|
||||||
|
CssClass="btn btn-circle btn-sm red"
|
||||||
|
Text="<i class='icon-trash'></i>"
|
||||||
|
data-toggle="confirmation"
|
||||||
|
data-popout="true"
|
||||||
|
data-original-title="¿Está seguro que desea eliminar la Exportación?"
|
||||||
|
data-btn-ok-label="Sí" />
|
||||||
|
</span>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
</Columns>
|
</Columns>
|
||||||
|
|||||||
@@ -125,4 +125,76 @@ public partial class Export_RepExportaciones : ClsPaginas
|
|||||||
Alert("La Exportación se ha eliminado correctamente.");
|
Alert("La Exportación se ha eliminado correctamente.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected void GVExportaciones_RowDataBound(object sender, GridViewRowEventArgs e)
|
||||||
|
{
|
||||||
|
if (e.Row.RowType == DataControlRowType.DataRow)
|
||||||
|
{
|
||||||
|
var dataItem = (System.Data.DataRowView)e.Row.DataItem;
|
||||||
|
int cveExportacion = Convert.ToInt32(dataItem["CveExportacion"]);
|
||||||
|
HyperLink hl = (HyperLink)e.Row.FindControl("HlExpDetalle");
|
||||||
|
|
||||||
|
// Usa la bandera EsImportacion de la página
|
||||||
|
if (EsImportacion)
|
||||||
|
hl.NavigateUrl = $"ExpDetalle.aspx?CveExportacion={cveExportacion}&Opcion=I";
|
||||||
|
else
|
||||||
|
hl.NavigateUrl = $"ExpDetalle.aspx?CveExportacion={cveExportacion}";
|
||||||
|
|
||||||
|
// EDITAR
|
||||||
|
HyperLink hlEditar = (HyperLink)e.Row.FindControl("HlEditar");
|
||||||
|
if (EsImportacion)
|
||||||
|
hlEditar.NavigateUrl = $"ExpDetalle.aspx?CveExportacion={cveExportacion}&Opcion=I";
|
||||||
|
else
|
||||||
|
hlEditar.NavigateUrl = $"ExpDetalle.aspx?CveExportacion={cveExportacion}";
|
||||||
|
|
||||||
|
// Tipo Exportación
|
||||||
|
Label lblTipoExp = (Label)e.Row.FindControl("lblTipoExp");
|
||||||
|
if (lblTipoExp != null)
|
||||||
|
{
|
||||||
|
string valor = dataItem["TipoExportacion"].ToString();
|
||||||
|
switch (valor)
|
||||||
|
{
|
||||||
|
case "1":
|
||||||
|
lblTipoExp.Text = "(IMP) Importación";
|
||||||
|
break;
|
||||||
|
case "2":
|
||||||
|
lblTipoExp.Text = "(EXP) Exportación/retorno";
|
||||||
|
break;
|
||||||
|
case "3":
|
||||||
|
lblTipoExp.Text = "(TRA) Tránsitos";
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
lblTipoExp.Text = "Desconocido";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Estatus
|
||||||
|
Label lblEstatus = (Label)e.Row.FindControl("lblEstatus");
|
||||||
|
if (lblEstatus != null)
|
||||||
|
{
|
||||||
|
string valor = dataItem["CveExportacionEstatus"].ToString();
|
||||||
|
switch (valor)
|
||||||
|
{
|
||||||
|
case "1":
|
||||||
|
lblEstatus.Text = "Tránsito";
|
||||||
|
break;
|
||||||
|
case "2":
|
||||||
|
lblEstatus.Text = "Completa";
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
lblEstatus.Text = "Desconocido";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
protected void GVExportaciones_RowCreated(object sender, GridViewRowEventArgs e)
|
||||||
|
{
|
||||||
|
if (e.Row.RowType == DataControlRowType.Header)
|
||||||
|
{
|
||||||
|
// Cambia el texto del primer encabezado (ajusta el índice si no es la primera columna)
|
||||||
|
e.Row.Cells[0].Text = EsImportacion ? "Importación" : "Exportación";
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -9814,26 +9814,6 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
|||||||
script = string.Format("Savexml(\"{0} {1}.xml\", $('.ltlxml').html());", Xmlname, empleado);
|
script = string.Format("Savexml(\"{0} {1}.xml\", $('.ltlxml').html());", Xmlname, empleado);
|
||||||
|
|
||||||
|
|
||||||
//System.IO.FileInfo file = new System.IO.FileInfo(PathXML);
|
|
||||||
//string mimeType = "text/plain";
|
|
||||||
//try
|
|
||||||
//{
|
|
||||||
// mimeType = MimeMapping.GetMimeMapping(PathXML);
|
|
||||||
//}
|
|
||||||
//catch (Exception)
|
|
||||||
//{
|
|
||||||
|
|
||||||
//}
|
|
||||||
//// Response.Write(path)
|
|
||||||
//Response.Clear();
|
|
||||||
//Response.ClearHeaders();
|
|
||||||
//Response.ClearContent();
|
|
||||||
//Response.AddHeader("Content-Disposition", $"attachment; filename= {Uri.EscapeDataString(file.Name)}");
|
|
||||||
//Response.AddHeader("Content-Length", file.Length.ToString());
|
|
||||||
//Response.ContentType = mimeType;
|
|
||||||
//Response.Flush();
|
|
||||||
//Response.TransmitFile(file.FullName);
|
|
||||||
//Response.End();
|
|
||||||
}
|
}
|
||||||
if (!string.IsNullOrEmpty(PathXMLF) && System.IO.File.Exists(PathXMLF))
|
if (!string.IsNullOrEmpty(PathXMLF) && System.IO.File.Exists(PathXMLF))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,10 +4,6 @@
|
|||||||
</asp:Content>
|
</asp:Content>
|
||||||
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
|
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
|
||||||
<style>
|
<style>
|
||||||
/* .GVGetMovtoPermanenteRep .headerHide:not(Titulos) th:nth-child(2) {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
.GVGetMovtoPermanenteRep tr:not(.cvetipo0) td .btnhideshow {
|
.GVGetMovtoPermanenteRep tr:not(.cvetipo0) td .btnhideshow {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@@ -16,13 +12,6 @@
|
|||||||
background-color: #ddd;
|
background-color: #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*.GVGetMovtoPermanenteRep tr:not(.cvetipo0) td:nth-child(1) {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.GVGetMovtoPermanenteRep tr:.cvetipo0 td:nth-child(2) {
|
|
||||||
display: none;
|
|
||||||
}*/
|
|
||||||
|
|
||||||
.GVGetMovtoPermanenteRep tr:not(.cvetipo0) td .lblconcepto {
|
.GVGetMovtoPermanenteRep tr:not(.cvetipo0) td .lblconcepto {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@@ -34,16 +23,6 @@
|
|||||||
.hidden {
|
.hidden {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
/* Ocultar las columnas 3 a 9 en filas que no tienen la clase cvetipo0 */
|
|
||||||
/*.GVGetMovtoPermanenteRep tr.cvetipo0 td:nth-child(3),
|
|
||||||
.GVGetMovtoPermanenteRep tr.cvetipo0 td:nth-child(4),
|
|
||||||
.GVGetMovtoPermanenteRep tr.cvetipo0 td:nth-child(5),
|
|
||||||
.GVGetMovtoPermanenteRep tr.cvetipo0 td:nth-child(6),
|
|
||||||
.GVGetMovtoPermanenteRep tr.cvetipo0 td:nth-child(7),
|
|
||||||
.GVGetMovtoPermanenteRep tr.cvetipo0 td:nth-child(8),
|
|
||||||
.GVGetMovtoPermanenteRep tr.cvetipo0 td:nth-child(9) {
|
|
||||||
display: none;
|
|
||||||
}*/
|
|
||||||
|
|
||||||
.GVGetMovtoPermanenteRep td:nth-child(3),
|
.GVGetMovtoPermanenteRep td:nth-child(3),
|
||||||
.GVGetMovtoPermanenteRep td:nth-child(4),
|
.GVGetMovtoPermanenteRep td:nth-child(4),
|
||||||
|
|||||||
@@ -54,6 +54,17 @@ public partial class Nomina_RepMovtosPermanentes : ClsPaginas
|
|||||||
get { return TxtRpdFechaFin.Text; }
|
get { return TxtRpdFechaFin.Text; }
|
||||||
set { TxtRpdFechaFin.Text = value; }
|
set { TxtRpdFechaFin.Text = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private DataTable dtmovs
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (ViewState["dtmovs"] == null) { return null; }
|
||||||
|
else { return (DataTable)ViewState["dtmovs"]; }
|
||||||
|
}
|
||||||
|
|
||||||
|
set { ViewState["dtmovs"] = value; }
|
||||||
|
}
|
||||||
#endregion
|
#endregion
|
||||||
protected void Page_Load(object sender, EventArgs e)
|
protected void Page_Load(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
@@ -148,6 +159,7 @@ public partial class Nomina_RepMovtosPermanentes : ClsPaginas
|
|||||||
//string fechaFin = "";
|
//string fechaFin = "";
|
||||||
int CvePeriodo = DdlPeriodo.SelectedValue.ToEntero() > 0 ? DdlPeriodo.SelectedValue.ToEntero() : -1;
|
int CvePeriodo = DdlPeriodo.SelectedValue.ToEntero() > 0 ? DdlPeriodo.SelectedValue.ToEntero() : -1;
|
||||||
ObjGetM.GetMovtoPermanenteRepFechas(RcvePersonal, UsuarioActual.CveEmpresa, RcveTipo, RcveSaldo, RcveEstatus, RcveConcepto, fechaInicio.ToDateTime().ToString("yyyy-MM-dd"), fechaFin.ToDateTime().ToString("yyyy-MM-dd"), CvePeriodo);
|
ObjGetM.GetMovtoPermanenteRepFechas(RcvePersonal, UsuarioActual.CveEmpresa, RcveTipo, RcveSaldo, RcveEstatus, RcveConcepto, fechaInicio.ToDateTime().ToString("yyyy-MM-dd"), fechaFin.ToDateTime().ToString("yyyy-MM-dd"), CvePeriodo);
|
||||||
|
dtmovs = ObjGetM.DtResultados;
|
||||||
GVGetMovtoPermanenteRep.DataSource = ObjGetM.DtResultados;
|
GVGetMovtoPermanenteRep.DataSource = ObjGetM.DtResultados;
|
||||||
GVGetMovtoPermanenteRep.DataBind();
|
GVGetMovtoPermanenteRep.DataBind();
|
||||||
|
|
||||||
@@ -221,14 +233,8 @@ public partial class Nomina_RepMovtosPermanentes : ClsPaginas
|
|||||||
|
|
||||||
protected void LnkFormatoxls_Click(object sender, EventArgs e)
|
protected void LnkFormatoxls_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
using (ClsNominas ObjGetM = new ClsNominas())
|
if(dtmovs != null && dtmovs.Rows.Count >0)
|
||||||
{
|
ExportarExcel(dtmovs);
|
||||||
//string fechaInicio = "";
|
|
||||||
//string fechaFin = "";
|
|
||||||
ObjGetM.GetMovtoPermanenteRepFechas(RcvePersonal, UsuarioActual.CveEmpresa, RcveTipo, RcveSaldo, RcveEstatus, RcveConcepto, fechaInicio.ToDateTime().ToString("yyyy-MM-dd"), fechaFin.ToDateTime().ToString("yyyy-MM-dd"));
|
|
||||||
ExportarExcel(ObjGetM.DtResultados);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user