Merge branch 'master' of http://192.168.10.111:8383/SIG
This commit is contained in:
@@ -4425,14 +4425,14 @@ Partial Class Compras_Compras
|
|||||||
|
|
||||||
'------------------ INICIA VALIDACIONES ------------------
|
'------------------ INICIA VALIDACIONES ------------------
|
||||||
|
|
||||||
If UsuarioActual.CveEmpresa.Contiene(13, 83) AndAlso UsuarioActual.CveUsuario <> 1803 Then
|
'If UsuarioActual.CveEmpresa.Contiene(13, 83) AndAlso UsuarioActual.CveUsuario <> 1803 Then
|
||||||
Dim AnioFactura As Integer = TxtFecha.Text.ToDate.Year
|
' Dim AnioFactura As Integer = TxtFecha.Text.ToDate.Year
|
||||||
Dim Fecha28Dic As Date = New Date(2024, 12, 28)
|
' Dim Fecha28Dic As Date = New Date(2024, 12, 28)
|
||||||
If NowADS() >= Fecha28Dic AndAlso TxtFecha.Text.ToDate.Year < 2025 Then
|
' If NowADS() >= Fecha28Dic AndAlso TxtFecha.Text.ToDate.Year < 2025 Then
|
||||||
Alert("A partir del 28 de diciembre de 2024 no se pueden registrar facturas de 2024.", TipoMensaje.MsgAdvertencia)
|
' Alert("A partir del 28 de diciembre de 2024 no se pueden registrar facturas de 2024.", TipoMensaje.MsgAdvertencia)
|
||||||
Exit Sub
|
' Exit Sub
|
||||||
End If
|
' End If
|
||||||
End If
|
'End If
|
||||||
|
|
||||||
If Not ValidaPresupuesto(2) Then
|
If Not ValidaPresupuesto(2) Then
|
||||||
Exit Sub
|
Exit Sub
|
||||||
@@ -6530,7 +6530,7 @@ Partial Class Compras_Compras
|
|||||||
Dim AgregaMercanciaInventario As Boolean = UsuarioActual.Empresa.UsaInventarios
|
Dim AgregaMercanciaInventario As Boolean = UsuarioActual.Empresa.UsaInventarios
|
||||||
If UsuarioActual.CveEmpresa.Contiene(13, 83, 7, 11, 12, 122) Then AgregaMercanciaInventario = False
|
If UsuarioActual.CveEmpresa.Contiene(13, 83, 7, 11, 12, 122) Then AgregaMercanciaInventario = False
|
||||||
|
|
||||||
Dim RegistraConcepto225 As Boolean = AgregaMercanciaInventario AndAlso DdlTipoComprobante.SelectedValue.Contiene("NC", "DEV")
|
Dim RegistraConcepto225 As Boolean = AgregaMercanciaInventario AndAlso DdlTipoComprobante.SelectedValue.Contiene("DEV")
|
||||||
|
|
||||||
Dim Insertado205 As Boolean = False
|
Dim Insertado205 As Boolean = False
|
||||||
|
|
||||||
@@ -7556,7 +7556,6 @@ Partial Class Compras_Compras
|
|||||||
Next
|
Next
|
||||||
importeMovimiento = 0
|
importeMovimiento = 0
|
||||||
End If
|
End If
|
||||||
|
|
||||||
End Select
|
End Select
|
||||||
|
|
||||||
If ErrorPrepoliza Then
|
If ErrorPrepoliza Then
|
||||||
@@ -18263,7 +18262,7 @@ Partial Class Compras_Compras
|
|||||||
|
|
||||||
Case "U" 'UPDATE
|
Case "U" 'UPDATE
|
||||||
UpdatePS(CveContratoDetalle)
|
UpdatePS(CveContratoDetalle)
|
||||||
Alert("Concepto actualizado Correctamente.", TipoMensaje.MsgInformacion)
|
Alert("Concepto actualizado Correctamente.", TipoMensaje.ToastInformacion)
|
||||||
RegistraScript(String.Format("$('#{0}').modal('hide');", "divAddProducto"))
|
RegistraScript(String.Format("$('#{0}').modal('hide');", "divAddProducto"))
|
||||||
End Select
|
End Select
|
||||||
ActualizaTotales = False
|
ActualizaTotales = False
|
||||||
@@ -18275,13 +18274,8 @@ Partial Class Compras_Compras
|
|||||||
GuardaAC()
|
GuardaAC()
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
If CveCompra > 0 AndAlso ChkModalDesvincularAF.Checked Then
|
If CveCompra > 0 AndAlso ChkModalDesvincularAF.Checked Then
|
||||||
|
|
||||||
|
|
||||||
If Not TmpDT.Columns.Contains("DesvicularAF") Then
|
If Not TmpDT.Columns.Contains("DesvicularAF") Then
|
||||||
TmpDT.Columns.Add("DesvicularAF", GetType(Boolean))
|
TmpDT.Columns.Add("DesvicularAF", GetType(Boolean))
|
||||||
End If
|
End If
|
||||||
@@ -18535,7 +18529,6 @@ Partial Class Compras_Compras
|
|||||||
Exit Sub
|
Exit Sub
|
||||||
End Try
|
End Try
|
||||||
|
|
||||||
|
|
||||||
'BANDERA
|
'BANDERA
|
||||||
Dim AplicaCalculaTotales As Boolean = False
|
Dim AplicaCalculaTotales As Boolean = False
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ Imports System.Data
|
|||||||
Imports System.IO
|
Imports System.IO
|
||||||
Imports System.Xml
|
Imports System.Xml
|
||||||
Imports Extensiones
|
Imports Extensiones
|
||||||
|
Imports iText.Barcodes.Dmcode
|
||||||
Imports Microsoft.Reporting.WebForms
|
Imports Microsoft.Reporting.WebForms
|
||||||
Imports ZXing
|
Imports ZXing
|
||||||
|
|
||||||
@@ -6020,6 +6021,9 @@ Partial Class PopUpVerFactura
|
|||||||
End If
|
End If
|
||||||
Else
|
Else
|
||||||
If ObjIE.GetBancosIE(CveIE, UsuarioActual.CveEmpresa) Then
|
If ObjIE.GetBancosIE(CveIE, UsuarioActual.CveEmpresa) Then
|
||||||
|
|
||||||
|
ParamComprobacion = ObjIE.DtResultados
|
||||||
|
|
||||||
If ObjIE.DtResultados.Rows.Count > 0 Then
|
If ObjIE.DtResultados.Rows.Count > 0 Then
|
||||||
|
|
||||||
Dim reportDataSetsList As New List(Of ReportDataSource)
|
Dim reportDataSetsList As New List(Of ReportDataSource)
|
||||||
@@ -6096,6 +6100,14 @@ Partial Class PopUpVerFactura
|
|||||||
ImprimirPDF("Empresas\Grales\Formatos\rptChequeMovimientosPrePoliza.rdlc", reportDataSetsList, paramList, ObjIE.Folio, "PDF")
|
ImprimirPDF("Empresas\Grales\Formatos\rptChequeMovimientosPrePoliza.rdlc", reportDataSetsList, paramList, ObjIE.Folio, "PDF")
|
||||||
|
|
||||||
Else
|
Else
|
||||||
|
|
||||||
|
If UsuarioActual.CveEmpresa = 140 Then
|
||||||
|
Dim Aplicado As Decimal = 0
|
||||||
|
Dim ImporteDoc As Decimal = ParamComprobacion.Rows(0)("Importe").ToString.ToDecimal
|
||||||
|
Dim LeyendaSaldo As String = $"Folio #{ParamComprobacion.Rows(0)("Folio").ToString} con importe de ${ImporteDoc.ToString("###,###,###.00")} y saldo antes de la comprobación de ${SaldoTotal.ToString("###,###,###.00")}, Comprobaciones a la fecha {ParamComprobacion.Rows(0)("FechaDocumento").ToString().ToDate().ToString("dd/MM/yyyy")} ${ImportePagoTotal.ToString("###,###,###.00")} saldo después de la comprobación ${(SaldoTotal - ImportePagoTotal).ToString("###,###,###.00")} ."
|
||||||
|
paramList.Add(New ReportParameter("LeyendaSaldo", LeyendaSaldo))
|
||||||
|
End If
|
||||||
|
|
||||||
ImprimirPDF("Empresas\Grales\Formatos\rptChequeMovimientos.rdlc", reportDataSetsList, paramList, ObjIE.Folio, "PDF")
|
ImprimirPDF("Empresas\Grales\Formatos\rptChequeMovimientos.rdlc", reportDataSetsList, paramList, ObjIE.Folio, "PDF")
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|||||||
@@ -1156,12 +1156,12 @@ Partial Class Compras_eFacturas
|
|||||||
e.Row.FCCheckBox("chkRegistraFactura").Visible = False
|
e.Row.FCCheckBox("chkRegistraFactura").Visible = False
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If UsuarioActual.CveEmpresa.Contiene(13, 83) AndAlso UsuarioActual.CveUsuario <> 1803 Then
|
'If UsuarioActual.CveEmpresa.Contiene(13, 83) AndAlso UsuarioActual.CveUsuario <> 1803 Then
|
||||||
Dim Fecha28Dic As Date = New Date(2024, 12, 28)
|
' Dim Fecha28Dic As Date = New Date(2024, 12, 28)
|
||||||
If NowADS() >= Fecha28Dic AndAlso e.Row.DBCampo("FechaFactura").ToDate.Year < 2025 Then
|
' If NowADS() >= Fecha28Dic AndAlso e.Row.DBCampo("FechaFactura").ToDate.Year < 2025 Then
|
||||||
e.Row.FCHyperLink("HplAgregar").Visible = False
|
' e.Row.FCHyperLink("HplAgregar").Visible = False
|
||||||
End If
|
' End If
|
||||||
End If
|
'End If
|
||||||
|
|
||||||
e.Row.FCCheckBox("chkRegistraFactura").Attributes.Add("onclick", "ChkRegsitraFacturas()")
|
e.Row.FCCheckBox("chkRegistraFactura").Attributes.Add("onclick", "ChkRegsitraFacturas()")
|
||||||
|
|
||||||
|
|||||||
@@ -2847,6 +2847,7 @@ Partial Class ContabilidadC_RegPrePolizaS
|
|||||||
LnkFolioManual.Visible = True
|
LnkFolioManual.Visible = True
|
||||||
BtnDescontabilizar.Visible = False
|
BtnDescontabilizar.Visible = False
|
||||||
BtnContabilizar.Visible = True
|
BtnContabilizar.Visible = True
|
||||||
|
Folio = "0"
|
||||||
End If
|
End If
|
||||||
|
|
||||||
ObjConta.Dispose()
|
ObjConta.Dispose()
|
||||||
@@ -2857,7 +2858,7 @@ Partial Class ContabilidadC_RegPrePolizaS
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub LnkFolioManual_Click(sender As Object, e As EventArgs) Handles LnkFolioManual.Click
|
Private Sub LnkFolioManual_Click(sender As Object, e As EventArgs) Handles LnkFolioManual.Click
|
||||||
|
Folio = "0"
|
||||||
TxtFolio.Enabled = True
|
TxtFolio.Enabled = True
|
||||||
TxtFolio.Focus()
|
TxtFolio.Focus()
|
||||||
UpPoliza.Update()
|
UpPoliza.Update()
|
||||||
|
|||||||
@@ -5884,6 +5884,7 @@ Se ha recibido el número arriba indicado de bultos/contenedores/remolques/autot
|
|||||||
<Border>
|
<Border>
|
||||||
<Style>Solid</Style>
|
<Style>Solid</Style>
|
||||||
</Border>
|
</Border>
|
||||||
|
<BackgroundColor>LightGrey</BackgroundColor>
|
||||||
<PaddingLeft>2pt</PaddingLeft>
|
<PaddingLeft>2pt</PaddingLeft>
|
||||||
<PaddingRight>2pt</PaddingRight>
|
<PaddingRight>2pt</PaddingRight>
|
||||||
<PaddingTop>2pt</PaddingTop>
|
<PaddingTop>2pt</PaddingTop>
|
||||||
@@ -6015,6 +6016,7 @@ Se ha recibido el número arriba indicado de bultos/contenedores/remolques/autot
|
|||||||
<Border>
|
<Border>
|
||||||
<Style>Solid</Style>
|
<Style>Solid</Style>
|
||||||
</Border>
|
</Border>
|
||||||
|
<BackgroundColor>LightGrey</BackgroundColor>
|
||||||
<PaddingLeft>2pt</PaddingLeft>
|
<PaddingLeft>2pt</PaddingLeft>
|
||||||
<PaddingRight>2pt</PaddingRight>
|
<PaddingRight>2pt</PaddingRight>
|
||||||
<PaddingTop>2pt</PaddingTop>
|
<PaddingTop>2pt</PaddingTop>
|
||||||
@@ -6134,6 +6136,7 @@ Se ha recibido el número arriba indicado de bultos/contenedores/remolques/autot
|
|||||||
<Border>
|
<Border>
|
||||||
<Style>Solid</Style>
|
<Style>Solid</Style>
|
||||||
</Border>
|
</Border>
|
||||||
|
<BackgroundColor>LightGrey</BackgroundColor>
|
||||||
<PaddingLeft>2pt</PaddingLeft>
|
<PaddingLeft>2pt</PaddingLeft>
|
||||||
<PaddingRight>2pt</PaddingRight>
|
<PaddingRight>2pt</PaddingRight>
|
||||||
<PaddingTop>2pt</PaddingTop>
|
<PaddingTop>2pt</PaddingTop>
|
||||||
|
|||||||
@@ -1121,7 +1121,9 @@
|
|||||||
</Style>
|
</Style>
|
||||||
</TextRun>
|
</TextRun>
|
||||||
</TextRuns>
|
</TextRuns>
|
||||||
<Style />
|
<Style>
|
||||||
|
<TextAlign>Center</TextAlign>
|
||||||
|
</Style>
|
||||||
</Paragraph>
|
</Paragraph>
|
||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox1</rd:DefaultName>
|
<rd:DefaultName>Textbox1</rd:DefaultName>
|
||||||
|
|||||||
@@ -1,5 +1,103 @@
|
|||||||
<?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="DsBancos">
|
||||||
|
<ConnectionProperties>
|
||||||
|
<DataProvider>System.Data.DataSet</DataProvider>
|
||||||
|
<ConnectString>/* Local Connection */</ConnectString>
|
||||||
|
</ConnectionProperties>
|
||||||
|
<rd:DataSourceID>c18b6686-bd84-460b-985a-bb3859af70bf</rd:DataSourceID>
|
||||||
|
</DataSource>
|
||||||
|
</DataSources>
|
||||||
|
<DataSets>
|
||||||
|
<DataSet Name="DataSet1">
|
||||||
|
<Query>
|
||||||
|
<DataSourceName>DsBancos</DataSourceName>
|
||||||
|
<CommandText>/* Local Query */</CommandText>
|
||||||
|
</Query>
|
||||||
|
<Fields>
|
||||||
|
<Field Name="Folio">
|
||||||
|
<DataField>Folio</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Descripcion">
|
||||||
|
<DataField>Descripcion</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="FechaCompra">
|
||||||
|
<DataField>FechaCompra</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Total">
|
||||||
|
<DataField>Total</DataField>
|
||||||
|
<rd:TypeName>System.Double</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="ImporteNC">
|
||||||
|
<DataField>ImporteNC</DataField>
|
||||||
|
<rd:TypeName>System.Double</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Importe">
|
||||||
|
<DataField>Importe</DataField>
|
||||||
|
<rd:TypeName>System.Double</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="SerieFolio">
|
||||||
|
<DataField>SerieFolio</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Saldo">
|
||||||
|
<DataField>Saldo</DataField>
|
||||||
|
<rd:TypeName>System.Double</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
</Fields>
|
||||||
|
<rd:DataSetInfo>
|
||||||
|
<rd:DataSetName>DsBancos</rd:DataSetName>
|
||||||
|
<rd:SchemaPath>C:\inetpub\wwwVentas\App_Code\DsBancos.xsd</rd:SchemaPath>
|
||||||
|
<rd:TableName>DsCheque</rd:TableName>
|
||||||
|
<rd:TableAdapterFillMethod />
|
||||||
|
<rd:TableAdapterGetDataMethod />
|
||||||
|
<rd:TableAdapterName />
|
||||||
|
</rd:DataSetInfo>
|
||||||
|
</DataSet>
|
||||||
|
<DataSet Name="DataSet2">
|
||||||
|
<Query>
|
||||||
|
<DataSourceName>DsBancos</DataSourceName>
|
||||||
|
<CommandText>/* Local Query */</CommandText>
|
||||||
|
</Query>
|
||||||
|
<Fields>
|
||||||
|
<Field Name="SerieFolio">
|
||||||
|
<DataField>SerieFolio</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="SerieFolioNC">
|
||||||
|
<DataField>SerieFolioNC</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Fecha">
|
||||||
|
<DataField>Fecha</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Total">
|
||||||
|
<DataField>Total</DataField>
|
||||||
|
<rd:TypeName>System.Double</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
<Field Name="Importe">
|
||||||
|
<DataField>Importe</DataField>
|
||||||
|
<rd:TypeName>System.Double</rd:TypeName>
|
||||||
|
</Field>
|
||||||
|
</Fields>
|
||||||
|
<rd:DataSetInfo>
|
||||||
|
<rd:DataSetName>DsBancos</rd:DataSetName>
|
||||||
|
<rd:SchemaPath>C:\inetpub\wwwVentas\App_Code\DsBancos.xsd</rd:SchemaPath>
|
||||||
|
<rd:TableName>DsCheque</rd:TableName>
|
||||||
|
<rd:TableAdapterFillMethod />
|
||||||
|
<rd:TableAdapterGetDataMethod />
|
||||||
|
<rd:TableAdapterName />
|
||||||
|
</rd:DataSetInfo>
|
||||||
|
</DataSet>
|
||||||
|
</DataSets>
|
||||||
|
<ReportSections>
|
||||||
|
<ReportSection>
|
||||||
<Body>
|
<Body>
|
||||||
<ReportItems>
|
<ReportItems>
|
||||||
<Textbox Name="Cuenta">
|
<Textbox Name="Cuenta">
|
||||||
@@ -19,7 +117,7 @@
|
|||||||
</Paragraph>
|
</Paragraph>
|
||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Cuenta</rd:DefaultName>
|
<rd:DefaultName>Cuenta</rd:DefaultName>
|
||||||
<Left>0.74936in</Left>
|
<Left>0.74467in</Left>
|
||||||
<Height>0.23622in</Height>
|
<Height>0.23622in</Height>
|
||||||
<Width>1in</Width>
|
<Width>1in</Width>
|
||||||
<Style>
|
<Style>
|
||||||
@@ -50,7 +148,7 @@
|
|||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Paguese</rd:DefaultName>
|
<rd:DefaultName>Paguese</rd:DefaultName>
|
||||||
<Top>0.25011in</Top>
|
<Top>0.25011in</Top>
|
||||||
<Left>0.73547in</Left>
|
<Left>0.73078in</Left>
|
||||||
<Height>0.22233in</Height>
|
<Height>0.22233in</Height>
|
||||||
<Width>4.91481in</Width>
|
<Width>4.91481in</Width>
|
||||||
<ZIndex>1</ZIndex>
|
<ZIndex>1</ZIndex>
|
||||||
@@ -84,9 +182,9 @@
|
|||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Importe</rd:DefaultName>
|
<rd:DefaultName>Importe</rd:DefaultName>
|
||||||
<Top>0.264in</Top>
|
<Top>0.264in</Top>
|
||||||
<Left>5.71972in</Left>
|
<Left>5.71503in</Left>
|
||||||
<Height>0.20844in</Height>
|
<Height>0.20844in</Height>
|
||||||
<Width>1.9609in</Width>
|
<Width>1.91505in</Width>
|
||||||
<ZIndex>2</ZIndex>
|
<ZIndex>2</ZIndex>
|
||||||
<Style>
|
<Style>
|
||||||
<Border>
|
<Border>
|
||||||
@@ -116,7 +214,7 @@
|
|||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Observaciones</rd:DefaultName>
|
<rd:DefaultName>Observaciones</rd:DefaultName>
|
||||||
<Top>0.48633in</Top>
|
<Top>0.48633in</Top>
|
||||||
<Left>0.73547in</Left>
|
<Left>0.73078in</Left>
|
||||||
<Height>0.23622in</Height>
|
<Height>0.23622in</Height>
|
||||||
<Width>6.8993in</Width>
|
<Width>6.8993in</Width>
|
||||||
<ZIndex>3</ZIndex>
|
<ZIndex>3</ZIndex>
|
||||||
@@ -866,7 +964,7 @@
|
|||||||
<RepeatColumnHeaders>true</RepeatColumnHeaders>
|
<RepeatColumnHeaders>true</RepeatColumnHeaders>
|
||||||
<DataSetName>DataSet1</DataSetName>
|
<DataSetName>DataSet1</DataSetName>
|
||||||
<Top>2.18687cm</Top>
|
<Top>2.18687cm</Top>
|
||||||
<Left>0.25413cm</Left>
|
<Left>0.24221cm</Left>
|
||||||
<Height>1.6677cm</Height>
|
<Height>1.6677cm</Height>
|
||||||
<Width>19.26542cm</Width>
|
<Width>19.26542cm</Width>
|
||||||
<ZIndex>4</ZIndex>
|
<ZIndex>4</ZIndex>
|
||||||
@@ -894,7 +992,7 @@
|
|||||||
</Paragraph>
|
</Paragraph>
|
||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox36</rd:DefaultName>
|
<rd:DefaultName>Textbox36</rd:DefaultName>
|
||||||
<Left>0.22238cm</Left>
|
<Left>0.21046cm</Left>
|
||||||
<Height>0.6cm</Height>
|
<Height>0.6cm</Height>
|
||||||
<Width>1.64572cm</Width>
|
<Width>1.64572cm</Width>
|
||||||
<ZIndex>5</ZIndex>
|
<ZIndex>5</ZIndex>
|
||||||
@@ -927,7 +1025,7 @@
|
|||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox36</rd:DefaultName>
|
<rd:DefaultName>Textbox36</rd:DefaultName>
|
||||||
<Top>0.6cm</Top>
|
<Top>0.6cm</Top>
|
||||||
<Left>0.22238cm</Left>
|
<Left>0.21046cm</Left>
|
||||||
<Height>0.6cm</Height>
|
<Height>0.6cm</Height>
|
||||||
<Width>1.64572cm</Width>
|
<Width>1.64572cm</Width>
|
||||||
<ZIndex>6</ZIndex>
|
<ZIndex>6</ZIndex>
|
||||||
@@ -960,7 +1058,7 @@
|
|||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox36</rd:DefaultName>
|
<rd:DefaultName>Textbox36</rd:DefaultName>
|
||||||
<Top>1.23528cm</Top>
|
<Top>1.23528cm</Top>
|
||||||
<Left>0.22238cm</Left>
|
<Left>0.21046cm</Left>
|
||||||
<Height>0.6cm</Height>
|
<Height>0.6cm</Height>
|
||||||
<Width>1.64572cm</Width>
|
<Width>1.64572cm</Width>
|
||||||
<ZIndex>7</ZIndex>
|
<ZIndex>7</ZIndex>
|
||||||
@@ -976,7 +1074,7 @@
|
|||||||
</Textbox>
|
</Textbox>
|
||||||
<Line Name="Line1">
|
<Line Name="Line1">
|
||||||
<Top>2.03432cm</Top>
|
<Top>2.03432cm</Top>
|
||||||
<Left>19.51955cm</Left>
|
<Left>19.50763cm</Left>
|
||||||
<Height>0cm</Height>
|
<Height>0cm</Height>
|
||||||
<Width>-19.47588cm</Width>
|
<Width>-19.47588cm</Width>
|
||||||
<ZIndex>8</ZIndex>
|
<ZIndex>8</ZIndex>
|
||||||
@@ -1005,7 +1103,7 @@
|
|||||||
</Paragraph>
|
</Paragraph>
|
||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox43</rd:DefaultName>
|
<rd:DefaultName>Textbox43</rd:DefaultName>
|
||||||
<Left>7.55254cm</Left>
|
<Left>7.54062cm</Left>
|
||||||
<Height>0.6cm</Height>
|
<Height>0.6cm</Height>
|
||||||
<Width>5.23812cm</Width>
|
<Width>5.23812cm</Width>
|
||||||
<ZIndex>9</ZIndex>
|
<ZIndex>9</ZIndex>
|
||||||
@@ -1413,8 +1511,8 @@
|
|||||||
</TablixRowHierarchy>
|
</TablixRowHierarchy>
|
||||||
<RepeatColumnHeaders>true</RepeatColumnHeaders>
|
<RepeatColumnHeaders>true</RepeatColumnHeaders>
|
||||||
<DataSetName>DataSet2</DataSetName>
|
<DataSetName>DataSet2</DataSetName>
|
||||||
<Top>4.20735cm</Top>
|
<Top>4.90585cm</Top>
|
||||||
<Left>0.25413cm</Left>
|
<Left>0.24221cm</Left>
|
||||||
<Height>2.32063cm</Height>
|
<Height>2.32063cm</Height>
|
||||||
<Width>7.95074cm</Width>
|
<Width>7.95074cm</Width>
|
||||||
<ZIndex>10</ZIndex>
|
<ZIndex>10</ZIndex>
|
||||||
@@ -1428,10 +1526,10 @@
|
|||||||
</Style>
|
</Style>
|
||||||
</Tablix>
|
</Tablix>
|
||||||
<Line Name="Line2">
|
<Line Name="Line2">
|
||||||
<Top>6.70437cm</Top>
|
<Top>7.33937cm</Top>
|
||||||
<Left>19.51955cm</Left>
|
<Left>19.45252cm</Left>
|
||||||
<Height>0cm</Height>
|
<Height>0cm</Height>
|
||||||
<Width>-19.51955cm</Width>
|
<Width>-18.86119cm</Width>
|
||||||
<ZIndex>11</ZIndex>
|
<ZIndex>11</ZIndex>
|
||||||
<Style>
|
<Style>
|
||||||
<Border>
|
<Border>
|
||||||
@@ -1459,7 +1557,7 @@
|
|||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox36</rd:DefaultName>
|
<rd:DefaultName>Textbox36</rd:DefaultName>
|
||||||
<Top>0.0635cm</Top>
|
<Top>0.0635cm</Top>
|
||||||
<Left>14.52104cm</Left>
|
<Left>14.50912cm</Left>
|
||||||
<Height>0.6cm</Height>
|
<Height>0.6cm</Height>
|
||||||
<Width>1.30176cm</Width>
|
<Width>1.30176cm</Width>
|
||||||
<ZIndex>12</ZIndex>
|
<ZIndex>12</ZIndex>
|
||||||
@@ -1494,7 +1592,7 @@
|
|||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Cuenta</rd:DefaultName>
|
<rd:DefaultName>Cuenta</rd:DefaultName>
|
||||||
<Top>0.0635cm</Top>
|
<Top>0.0635cm</Top>
|
||||||
<Left>6.22945in</Left>
|
<Left>6.22476in</Left>
|
||||||
<Height>0.23622in</Height>
|
<Height>0.23622in</Height>
|
||||||
<Width>1.40532in</Width>
|
<Width>1.40532in</Width>
|
||||||
<ZIndex>13</ZIndex>
|
<ZIndex>13</ZIndex>
|
||||||
@@ -1508,11 +1606,44 @@
|
|||||||
<PaddingBottom>2pt</PaddingBottom>
|
<PaddingBottom>2pt</PaddingBottom>
|
||||||
</Style>
|
</Style>
|
||||||
</Textbox>
|
</Textbox>
|
||||||
|
<Textbox Name="LeyendaSaldo">
|
||||||
|
<CanGrow>true</CanGrow>
|
||||||
|
<CanShrink>true</CanShrink>
|
||||||
|
<KeepTogether>true</KeepTogether>
|
||||||
|
<Paragraphs>
|
||||||
|
<Paragraph>
|
||||||
|
<TextRuns>
|
||||||
|
<TextRun>
|
||||||
|
<Value>=Parameters!LeyendaSaldo.Value</Value>
|
||||||
|
<Style>
|
||||||
|
<FontSize>7pt</FontSize>
|
||||||
|
</Style>
|
||||||
|
</TextRun>
|
||||||
|
</TextRuns>
|
||||||
|
<Style />
|
||||||
|
</Paragraph>
|
||||||
|
</Paragraphs>
|
||||||
|
<rd:DefaultName>LeyendaSaldo</rd:DefaultName>
|
||||||
|
<Top>3.96997cm</Top>
|
||||||
|
<Left>0.24221cm</Left>
|
||||||
|
<Height>0.74352cm</Height>
|
||||||
|
<Width>19.26542cm</Width>
|
||||||
|
<ZIndex>14</ZIndex>
|
||||||
|
<Style>
|
||||||
|
<Border>
|
||||||
|
<Style>None</Style>
|
||||||
|
</Border>
|
||||||
|
<PaddingLeft>2pt</PaddingLeft>
|
||||||
|
<PaddingRight>2pt</PaddingRight>
|
||||||
|
<PaddingTop>2pt</PaddingTop>
|
||||||
|
<PaddingBottom>2pt</PaddingBottom>
|
||||||
|
</Style>
|
||||||
|
</Textbox>
|
||||||
</ReportItems>
|
</ReportItems>
|
||||||
<Height>7.24235cm</Height>
|
<Height>7.33937cm</Height>
|
||||||
<Style />
|
<Style />
|
||||||
</Body>
|
</Body>
|
||||||
<Width>19.51955cm</Width>
|
<Width>19.50763cm</Width>
|
||||||
<Page>
|
<Page>
|
||||||
<PageHeader>
|
<PageHeader>
|
||||||
<Height>2.46175cm</Height>
|
<Height>2.46175cm</Height>
|
||||||
@@ -1540,7 +1671,7 @@
|
|||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox1</rd:DefaultName>
|
<rd:DefaultName>Textbox1</rd:DefaultName>
|
||||||
<Top>0.3175cm</Top>
|
<Top>0.3175cm</Top>
|
||||||
<Left>2.52765cm</Left>
|
<Left>2.54748cm</Left>
|
||||||
<Height>0.6cm</Height>
|
<Height>0.6cm</Height>
|
||||||
<Width>14.40301cm</Width>
|
<Width>14.40301cm</Width>
|
||||||
<Style>
|
<Style>
|
||||||
@@ -1588,7 +1719,7 @@
|
|||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox2</rd:DefaultName>
|
<rd:DefaultName>Textbox2</rd:DefaultName>
|
||||||
<Top>0.95278cm</Top>
|
<Top>0.95278cm</Top>
|
||||||
<Left>2.52765cm</Left>
|
<Left>2.54748cm</Left>
|
||||||
<Height>0.55591cm</Height>
|
<Height>0.55591cm</Height>
|
||||||
<Width>14.40301cm</Width>
|
<Width>14.40301cm</Width>
|
||||||
<ZIndex>1</ZIndex>
|
<ZIndex>1</ZIndex>
|
||||||
@@ -1606,7 +1737,7 @@
|
|||||||
<Source>External</Source>
|
<Source>External</Source>
|
||||||
<Value>=Parameters!LogoPath.Value</Value>
|
<Value>=Parameters!LogoPath.Value</Value>
|
||||||
<Sizing>FitProportional</Sizing>
|
<Sizing>FitProportional</Sizing>
|
||||||
<Left>0.15522cm</Left>
|
<Left>0.17505cm</Left>
|
||||||
<Height>2.22362cm</Height>
|
<Height>2.22362cm</Height>
|
||||||
<Width>2.33715cm</Width>
|
<Width>2.33715cm</Width>
|
||||||
<ZIndex>2</ZIndex>
|
<ZIndex>2</ZIndex>
|
||||||
@@ -1650,7 +1781,7 @@
|
|||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox41</rd:DefaultName>
|
<rd:DefaultName>Textbox41</rd:DefaultName>
|
||||||
<Top>0.01764cm</Top>
|
<Top>0.01764cm</Top>
|
||||||
<Left>16.41607cm</Left>
|
<Left>16.46765cm</Left>
|
||||||
<Height>0.48535cm</Height>
|
<Height>0.48535cm</Height>
|
||||||
<Width>2.97625cm</Width>
|
<Width>2.97625cm</Width>
|
||||||
<Style>
|
<Style>
|
||||||
@@ -1682,7 +1813,7 @@
|
|||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox8</rd:DefaultName>
|
<rd:DefaultName>Textbox8</rd:DefaultName>
|
||||||
<Top>0.01764cm</Top>
|
<Top>0.01764cm</Top>
|
||||||
<Left>0.15522cm</Left>
|
<Left>0.2068cm</Left>
|
||||||
<Height>0.50299cm</Height>
|
<Height>0.50299cm</Height>
|
||||||
<Width>1.60042cm</Width>
|
<Width>1.60042cm</Width>
|
||||||
<ZIndex>1</ZIndex>
|
<ZIndex>1</ZIndex>
|
||||||
@@ -1714,7 +1845,7 @@
|
|||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox9</rd:DefaultName>
|
<rd:DefaultName>Textbox9</rd:DefaultName>
|
||||||
<Top>0.01764cm</Top>
|
<Top>0.01764cm</Top>
|
||||||
<Left>1.75564cm</Left>
|
<Left>1.80722cm</Left>
|
||||||
<Height>0.48535cm</Height>
|
<Height>0.48535cm</Height>
|
||||||
<Width>5.14936cm</Width>
|
<Width>5.14936cm</Width>
|
||||||
<ZIndex>2</ZIndex>
|
<ZIndex>2</ZIndex>
|
||||||
@@ -1746,8 +1877,7 @@
|
|||||||
</Paragraph>
|
</Paragraph>
|
||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox10</rd:DefaultName>
|
<rd:DefaultName>Textbox10</rd:DefaultName>
|
||||||
<Top>0cm</Top>
|
<Left>7.49572cm</Left>
|
||||||
<Left>7.44414cm</Left>
|
|
||||||
<Height>0.50299cm</Height>
|
<Height>0.50299cm</Height>
|
||||||
<Width>2.87394cm</Width>
|
<Width>2.87394cm</Width>
|
||||||
<ZIndex>3</ZIndex>
|
<ZIndex>3</ZIndex>
|
||||||
@@ -1778,8 +1908,7 @@
|
|||||||
</Paragraph>
|
</Paragraph>
|
||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox11</rd:DefaultName>
|
<rd:DefaultName>Textbox11</rd:DefaultName>
|
||||||
<Top>0cm</Top>
|
<Left>10.36966cm</Left>
|
||||||
<Left>10.31808cm</Left>
|
|
||||||
<Height>0.50299cm</Height>
|
<Height>0.50299cm</Height>
|
||||||
<Width>4.58986cm</Width>
|
<Width>4.58986cm</Width>
|
||||||
<ZIndex>4</ZIndex>
|
<ZIndex>4</ZIndex>
|
||||||
@@ -1809,102 +1938,8 @@
|
|||||||
<ColumnSpacing>0.13cm</ColumnSpacing>
|
<ColumnSpacing>0.13cm</ColumnSpacing>
|
||||||
<Style />
|
<Style />
|
||||||
</Page>
|
</Page>
|
||||||
<AutoRefresh>0</AutoRefresh>
|
</ReportSection>
|
||||||
<DataSources>
|
</ReportSections>
|
||||||
<DataSource Name="DsBancos">
|
|
||||||
<ConnectionProperties>
|
|
||||||
<DataProvider>System.Data.DataSet</DataProvider>
|
|
||||||
<ConnectString>/* Local Connection */</ConnectString>
|
|
||||||
</ConnectionProperties>
|
|
||||||
<rd:DataSourceID>c18b6686-bd84-460b-985a-bb3859af70bf</rd:DataSourceID>
|
|
||||||
</DataSource>
|
|
||||||
</DataSources>
|
|
||||||
<DataSets>
|
|
||||||
<DataSet Name="DataSet1">
|
|
||||||
<Query>
|
|
||||||
<DataSourceName>DsBancos</DataSourceName>
|
|
||||||
<CommandText>/* Local Query */</CommandText>
|
|
||||||
</Query>
|
|
||||||
<Fields>
|
|
||||||
<Field Name="Folio">
|
|
||||||
<DataField>Folio</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Descripcion">
|
|
||||||
<DataField>Descripcion</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="FechaCompra">
|
|
||||||
<DataField>FechaCompra</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Total">
|
|
||||||
<DataField>Total</DataField>
|
|
||||||
<rd:TypeName>System.Double</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="ImporteNC">
|
|
||||||
<DataField>ImporteNC</DataField>
|
|
||||||
<rd:TypeName>System.Double</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Importe">
|
|
||||||
<DataField>Importe</DataField>
|
|
||||||
<rd:TypeName>System.Double</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="SerieFolio">
|
|
||||||
<DataField>SerieFolio</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Saldo">
|
|
||||||
<DataField>Saldo</DataField>
|
|
||||||
<rd:TypeName>System.Double</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
</Fields>
|
|
||||||
<rd:DataSetInfo>
|
|
||||||
<rd:DataSetName>DsBancos</rd:DataSetName>
|
|
||||||
<rd:SchemaPath>C:\inetpub\wwwVentas\App_Code\DsBancos.xsd</rd:SchemaPath>
|
|
||||||
<rd:TableName>DsCheque</rd:TableName>
|
|
||||||
<rd:TableAdapterFillMethod />
|
|
||||||
<rd:TableAdapterGetDataMethod />
|
|
||||||
<rd:TableAdapterName />
|
|
||||||
</rd:DataSetInfo>
|
|
||||||
</DataSet>
|
|
||||||
<DataSet Name="DataSet2">
|
|
||||||
<Query>
|
|
||||||
<DataSourceName>DsBancos</DataSourceName>
|
|
||||||
<CommandText>/* Local Query */</CommandText>
|
|
||||||
</Query>
|
|
||||||
<Fields>
|
|
||||||
<Field Name="SerieFolio">
|
|
||||||
<DataField>SerieFolio</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="SerieFolioNC">
|
|
||||||
<DataField>SerieFolioNC</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Fecha">
|
|
||||||
<DataField>Fecha</DataField>
|
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Total">
|
|
||||||
<DataField>Total</DataField>
|
|
||||||
<rd:TypeName>System.Double</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
<Field Name="Importe">
|
|
||||||
<DataField>Importe</DataField>
|
|
||||||
<rd:TypeName>System.Double</rd:TypeName>
|
|
||||||
</Field>
|
|
||||||
</Fields>
|
|
||||||
<rd:DataSetInfo>
|
|
||||||
<rd:DataSetName>DsBancos</rd:DataSetName>
|
|
||||||
<rd:SchemaPath>C:\inetpub\wwwVentas\App_Code\DsBancos.xsd</rd:SchemaPath>
|
|
||||||
<rd:TableName>DsCheque</rd:TableName>
|
|
||||||
<rd:TableAdapterFillMethod />
|
|
||||||
<rd:TableAdapterGetDataMethod />
|
|
||||||
<rd:TableAdapterName />
|
|
||||||
</rd:DataSetInfo>
|
|
||||||
</DataSet>
|
|
||||||
</DataSets>
|
|
||||||
<ReportParameters>
|
<ReportParameters>
|
||||||
<ReportParameter Name="UsuarioImprimio">
|
<ReportParameter Name="UsuarioImprimio">
|
||||||
<DataType>String</DataType>
|
<DataType>String</DataType>
|
||||||
@@ -1969,6 +2004,18 @@
|
|||||||
<AllowBlank>true</AllowBlank>
|
<AllowBlank>true</AllowBlank>
|
||||||
<Prompt>ReportParameter1</Prompt>
|
<Prompt>ReportParameter1</Prompt>
|
||||||
</ReportParameter>
|
</ReportParameter>
|
||||||
|
<ReportParameter Name="LeyendaSaldo">
|
||||||
|
<DataType>String</DataType>
|
||||||
|
<Nullable>true</Nullable>
|
||||||
|
<AllowBlank>true</AllowBlank>
|
||||||
|
<Prompt>ReportParameter1</Prompt>
|
||||||
|
</ReportParameter>
|
||||||
|
<ReportParameter Name="TC">
|
||||||
|
<DataType>String</DataType>
|
||||||
|
<Nullable>true</Nullable>
|
||||||
|
<AllowBlank>true</AllowBlank>
|
||||||
|
<Prompt>ReportParameter1</Prompt>
|
||||||
|
</ReportParameter>
|
||||||
</ReportParameters>
|
</ReportParameters>
|
||||||
<Variables>
|
<Variables>
|
||||||
<Variable Name="SumNC">
|
<Variable Name="SumNC">
|
||||||
|
|||||||
@@ -425,7 +425,7 @@
|
|||||||
</asp:UpdatePanel>
|
</asp:UpdatePanel>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-8">
|
<div class="col-md-7">
|
||||||
<asp:UpdatePanel runat="server" UpdateMode="Conditional" ID="UpNumeroParte">
|
<asp:UpdatePanel runat="server" UpdateMode="Conditional" ID="UpNumeroParte">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<asp:Label runat="server" ID="LblNumeroParte" Text="" Visible ="false"></asp:Label>
|
<asp:Label runat="server" ID="LblNumeroParte" Text="" Visible ="false"></asp:Label>
|
||||||
@@ -433,9 +433,13 @@
|
|||||||
</asp:UpdatePanel>
|
</asp:UpdatePanel>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-2" style="text-align:right!important">
|
|
||||||
|
|
||||||
<asp:UpdatePanel runat="server" ID="UpOCS" UpdateMode="Conditional">
|
<asp:UpdatePanel runat="server" ID="UpOCS" UpdateMode="Conditional">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
|
|
||||||
|
<div class="col-md-1" style="text-align:right!important">
|
||||||
|
|
||||||
<div id="DivIndicadorOC2" runat="server" visible="false" >
|
<div id="DivIndicadorOC2" runat="server" visible="false" >
|
||||||
<div style=" color: gray;font-size: 12px;font-weight: bold;">
|
<div style=" color: gray;font-size: 12px;font-weight: bold;">
|
||||||
OC
|
OC
|
||||||
@@ -445,12 +449,38 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-1" style="text-align:right!important">
|
||||||
|
<div id="DivIndicadorL1" runat="server" visible="false" >
|
||||||
|
<div style="font-size: 12px">
|
||||||
|
<asp:Label runat="server" ID="LblHeaderL1"></asp:Label>
|
||||||
|
</div>
|
||||||
|
<div style="font-size: 12px">
|
||||||
|
<asp:Label runat="server" ID="LblL1"></asp:Label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-md-1" style="text-align:right!important">
|
||||||
|
<div id="DivIndicadorL2" runat="server" visible="false" >
|
||||||
|
<div style="font-size: 12px">
|
||||||
|
<asp:Label runat="server" ID="LblHeaderL2"></asp:Label>
|
||||||
|
</div>
|
||||||
|
<div style="font-size: 12px">
|
||||||
|
<asp:Label runat="server" ID="LblL2"></asp:Label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</ContentTemplate>
|
</ContentTemplate>
|
||||||
</asp:UpdatePanel>
|
</asp:UpdatePanel>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div class="col-md-2">
|
<div class="col-md-2">
|
||||||
<div class="text-right" style="margin: 5px 0px;">
|
<div class="text-right" style="margin: 5px 0px;">
|
||||||
<input type="text" id="TxtBusqueda2" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusqueda2','{0}')", GvM.ClientID) %>" style="display: inline-block; margin-right: -20px; width: 150px;" />
|
<input type="text" id="TxtBusqueda2" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusqueda2','{0}')", GvM.ClientID) %>" style="display: inline-block; margin-right: -20px; width: 150px;" />
|
||||||
@@ -467,67 +497,85 @@
|
|||||||
<asp:GridView ID="GvM" Width="100%" runat="server" ShowHeader="true" EmptyDataText="No hay registros." AutoGenerateColumns="False" AllowPaging="False"
|
<asp:GridView ID="GvM" Width="100%" runat="server" ShowHeader="true" EmptyDataText="No hay registros." AutoGenerateColumns="False" AllowPaging="False"
|
||||||
ShowFooter="True" ShowHeaderWhenEmpty="True" CssClass="table table-striped table-hover Widthall ScrollAD mysmallbtn" GridLines="None" DataKeyNames="CveMovimiento,FechaMovto">
|
ShowFooter="True" ShowHeaderWhenEmpty="True" CssClass="table table-striped table-hover Widthall ScrollAD mysmallbtn" GridLines="None" DataKeyNames="CveMovimiento,FechaMovto">
|
||||||
<Columns>
|
<Columns>
|
||||||
|
<%--0--%>
|
||||||
<asp:BoundField DataField="FechaMovto" DataFormatString="{0:d}" ItemStyle-Width="70px" HeaderText="Fecha" />
|
<asp:BoundField DataField="FechaMovto" DataFormatString="{0:d}" ItemStyle-Width="70px" HeaderText="Fecha" />
|
||||||
|
<%--1--%>
|
||||||
<asp:TemplateField ItemStyle-Width="10px" ItemStyle-HorizontalAlign="Left" Visible="false">
|
<asp:TemplateField ItemStyle-Width="10px" ItemStyle-HorizontalAlign="Left" Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:LinkButton data-toggle="tooltip" title="Editar Fecha" ID="LnkEditarFecha" OnClick="LnkEditarFecha_Click" CssClass="btn btn-circle btn-sm green" runat="server" Text="<i class='fa fa-pencil'></i>"></asp:LinkButton>
|
<asp:LinkButton data-toggle="tooltip" title="Editar Fecha" ID="LnkEditarFecha" OnClick="LnkEditarFecha_Click" CssClass="btn btn-circle btn-sm green" runat="server" Text="<i class='fa fa-pencil'></i>"></asp:LinkButton>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
<%--2--%>
|
||||||
<asp:BoundField DataField="Concepto" HeaderText="Movimiento" ItemStyle-HorizontalAlign="Left" />
|
<asp:BoundField DataField="Concepto" HeaderText="Movimiento" ItemStyle-HorizontalAlign="Left" />
|
||||||
|
<%--3--%>
|
||||||
<asp:BoundField DataField="Almacen" HeaderText="Almacén" ItemStyle-HorizontalAlign="Left" />
|
<asp:BoundField DataField="Almacen" HeaderText="Almacén" ItemStyle-HorizontalAlign="Left" />
|
||||||
|
<%--4--%>
|
||||||
<asp:TemplateField ItemStyle-Width="70px" HeaderText="Folio">
|
<asp:TemplateField ItemStyle-Width="70px" HeaderText="Folio">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:HyperLink ID="hlFolio" runat="server" Text='<%# Eval("Folio")%>' CssClass="Texto" NavigateUrl='<%# Eval("CveMovimiento", "/Inventarios/EntradasSalidas.aspx?CveMovimiento={0}")%>' Target="_blank" />
|
<asp:HyperLink ID="hlFolio" runat="server" Text='<%# Eval("Folio")%>' CssClass="Texto" NavigateUrl='<%# Eval("CveMovimiento", "/Inventarios/EntradasSalidas.aspx?CveMovimiento={0}")%>' Target="_blank" />
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
<%--5--%>
|
||||||
<asp:BoundField DataField="AlmacenDestino" HeaderText="A.Destino" ItemStyle-HorizontalAlign="Left" ItemStyle-Width="120px" />
|
<asp:BoundField DataField="AlmacenDestino" HeaderText="A.Destino" ItemStyle-HorizontalAlign="Left" ItemStyle-Width="120px" />
|
||||||
|
<%--6--%>
|
||||||
<asp:TemplateField ItemStyle-HorizontalAlign="Left" HeaderText="Folio Doc.">
|
<asp:TemplateField ItemStyle-HorizontalAlign="Left" HeaderText="Folio Doc.">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:HyperLink runat="server" Target="_blank" ID="hlFolioD" Text='<%# Eval("FolioDocto")%>' CssClass="Texto" />
|
<asp:HyperLink runat="server" Target="_blank" ID="hlFolioD" Text='<%# Eval("FolioDocto")%>' CssClass="Texto" />
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
<%--7--%>
|
||||||
|
<asp:BoundField DataField="ClienteProveedor" HeaderText="Cliente/Proveedor" ItemStyle-HorizontalAlign="Left" Visible="false" />
|
||||||
|
<%--8--%>
|
||||||
<asp:TemplateField ItemStyle-HorizontalAlign="Left" HeaderText="Folio Rel." Visible="false">
|
<asp:TemplateField ItemStyle-HorizontalAlign="Left" HeaderText="Folio Rel." Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:HyperLink runat="server" Target="_blank" ID="hlFolioDr" Text='<%# Eval("FolioRelacionEntrada")%>' NavigateUrl='<%# Eval("CveVentaRelacionada", "/Ventas/Ventas.aspx?CveVenta={0}")%>' CssClass="Texto" />
|
<asp:HyperLink runat="server" Target="_blank" ID="hlFolioDr" Text='<%# Eval("FolioRelacionEntrada")%>' NavigateUrl='<%# Eval("CveVentaRelacionada", "/Ventas/Ventas.aspx?CveVenta={0}")%>' CssClass="Texto" />
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
<%--9--%>
|
||||||
<asp:TemplateField ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Left" HeaderText="U. M.">
|
<asp:TemplateField ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Left" HeaderText="U. M.">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label ID="lbUm" runat="server" Text='<%# Eval("UnidadMedida")%>' data-toggle="tooltip" title='<%# Eval("CveUnidadMedida")%>'></asp:Label>
|
<asp:Label ID="lbUm" runat="server" Text='<%# Eval("UnidadMedida")%>' data-toggle="tooltip" title='<%# Eval("CveUnidadMedida")%>'></asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
<%--10--%>
|
||||||
<asp:TemplateField ItemStyle-Width="70px" ItemStyle-HorizontalAlign="Left" HeaderText="Sección" Visible="false">
|
<asp:TemplateField ItemStyle-Width="70px" ItemStyle-HorizontalAlign="Left" HeaderText="Sección" Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Literal ID="lbSA" runat="server" Text='<%# Eval("SeccionAlmacen")%>'></asp:Literal>
|
<asp:Literal ID="lbSA" runat="server" Text='<%# Eval("SeccionAlmacen")%>'></asp:Literal>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
<%--11--%>
|
||||||
<asp:TemplateField ItemStyle-Width="70px" ItemStyle-HorizontalAlign="Left" HeaderText="Serie" Visible="false">
|
<asp:TemplateField ItemStyle-Width="70px" ItemStyle-HorizontalAlign="Left" HeaderText="Serie" Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Literal ID="lbS" runat="server" Text='<%# Eval("Serie")%>'></asp:Literal>
|
<asp:Literal ID="lbS" runat="server" Text='<%# Eval("Serie")%>'></asp:Literal>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
<%--12--%>
|
||||||
<asp:TemplateField ItemStyle-Width="70px" ItemStyle-HorizontalAlign="Left" HeaderText="Lote" Visible="false">
|
<asp:TemplateField ItemStyle-Width="70px" ItemStyle-HorizontalAlign="Left" HeaderText="Lote" Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Literal ID="lbL" runat="server" Text='<%# Eval("Lote")%>'></asp:Literal>
|
<asp:Literal ID="lbL" runat="server" Text='<%# Eval("Lote")%>'></asp:Literal>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
<%--13--%>
|
||||||
<asp:TemplateField ItemStyle-Width="75px" ItemStyle-HorizontalAlign="Center" HeaderText="F. Caducidad" Visible="false">
|
<asp:TemplateField ItemStyle-Width="75px" ItemStyle-HorizontalAlign="Center" HeaderText="F. Caducidad" Visible="false">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label ID="lbFCad" runat="server" Text='<%# Eval("FechaCaducidad", "{0:d}")%>' data-toggle="tooltip"></asp:Label>
|
<asp:Label ID="lbFCad" runat="server" Text='<%# Eval("FechaCaducidad", "{0:d}")%>' data-toggle="tooltip"></asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
<%--14--%>
|
||||||
<asp:TemplateField ItemStyle-Width="75px" ItemStyle-HorizontalAlign="Right" HeaderText="Entrada">
|
<asp:TemplateField ItemStyle-Width="75px" ItemStyle-HorizontalAlign="Right" HeaderText="Entrada">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label ID="lbEntrada" runat="server"
|
<asp:Label ID="lbEntrada" runat="server"
|
||||||
Text='<%# Eval("Entrada", "{0:###,###.####}")%>'></asp:Label>
|
Text='<%# Eval("Entrada", "{0:###,###.####}")%>'></asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
<%--15--%>
|
||||||
<asp:TemplateField ItemStyle-Width="75px" ItemStyle-HorizontalAlign="Right" HeaderText="Salida">
|
<asp:TemplateField ItemStyle-Width="75px" ItemStyle-HorizontalAlign="Right" HeaderText="Salida">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label ID="lbSalida" runat="server"
|
<asp:Label ID="lbSalida" runat="server"
|
||||||
Text='<%# Eval("Salida", "{0:###,###.####}")%>'></asp:Label>
|
Text='<%# Eval("Salida", "{0:###,###.####}")%>'></asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
<%--16--%>
|
||||||
<asp:TemplateField ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Right" HeaderText="Costo">
|
<asp:TemplateField ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Right" HeaderText="Costo">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label ID="lbCosto" runat="server"
|
<asp:Label ID="lbCosto" runat="server"
|
||||||
@@ -535,24 +583,28 @@
|
|||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
<ItemStyle Width="100px" HorizontalAlign="Right"></ItemStyle>
|
<ItemStyle Width="100px" HorizontalAlign="Right"></ItemStyle>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
<%--17--%>
|
||||||
<asp:TemplateField ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Right" HeaderText="Importe">
|
<asp:TemplateField ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Right" HeaderText="Importe">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label ID="lbImporte" runat="server"
|
<asp:Label ID="lbImporte" runat="server"
|
||||||
Text='<%# Eval("Importe", "{0:N2}")%>'></asp:Label>
|
Text='<%# Eval("Importe", "{0:N2}")%>'></asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
<%--18--%>
|
||||||
<asp:TemplateField ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Right" HeaderText="Existencias">
|
<asp:TemplateField ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Right" HeaderText="Existencias">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label ID="lbExistencias" runat="server"
|
<asp:Label ID="lbExistencias" runat="server"
|
||||||
Text='<%# Eval("Existencias", "{0:#,###.####}")%>'></asp:Label>
|
Text='<%# Eval("Existencias", "{0:#,###.####}")%>'></asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
<%--19--%>
|
||||||
<asp:TemplateField ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Right" HeaderText="Valor">
|
<asp:TemplateField ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Right" HeaderText="Valor">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label ID="lbValor" runat="server"
|
<asp:Label ID="lbValor" runat="server"
|
||||||
Text='<%# Eval("ValorInventario", "{0:N2}")%>'></asp:Label>
|
Text='<%# Eval("ValorInventario", "{0:N2}")%>'></asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
|
<%--20--%>
|
||||||
<asp:TemplateField ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Center" HeaderText="OdeC">
|
<asp:TemplateField ItemStyle-Width="80px" ItemStyle-HorizontalAlign="Center" HeaderText="OdeC">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label ID="LbOC" runat="server" Text='<%# Eval("NoOrden")%>' data-toggle="tooltip" title='<%# Eval("CveOrdendeCorte")%>'></asp:Label>
|
<asp:Label ID="LbOC" runat="server" Text='<%# Eval("NoOrden")%>' data-toggle="tooltip" title='<%# Eval("CveOrdendeCorte")%>'></asp:Label>
|
||||||
|
|||||||
@@ -79,16 +79,20 @@ Partial Class Inventarios_Kardex
|
|||||||
Private Sub CargaPermisos()
|
Private Sub CargaPermisos()
|
||||||
If UsuarioActual.CveRol = 1 Then ChkAgruparAlmacen.Visible = True
|
If UsuarioActual.CveRol = 1 Then ChkAgruparAlmacen.Visible = True
|
||||||
Dim TienePermisoImportes As Boolean = UsuarioActual.TienePermisoProceso(201)
|
Dim TienePermisoImportes As Boolean = UsuarioActual.TienePermisoProceso(201)
|
||||||
GvM.Columns(15).Visible = TienePermisoImportes ' costo
|
GvM.Columns(16).Visible = TienePermisoImportes ' costo
|
||||||
GvM.Columns(16).Visible = TienePermisoImportes ' importe
|
GvM.Columns(17).Visible = TienePermisoImportes ' importe
|
||||||
GvM.Columns(18).Visible = TienePermisoImportes ' valor
|
GvM.Columns(19).Visible = TienePermisoImportes ' valor
|
||||||
|
|
||||||
GvM.Columns(19).Visible = UsuarioActual.CveEmpresa = 172 AndAlso UsuarioActual.CveRol = 1
|
GvM.Columns(20).Visible = UsuarioActual.CveEmpresa = 172 AndAlso UsuarioActual.CveRol = 1
|
||||||
|
|
||||||
If UsuarioActual.Empresa.Funcionalidad(574).ToEntero = 1 Then
|
If UsuarioActual.Empresa.Funcionalidad(574).ToEntero = 1 Then
|
||||||
DVFiltroCodigo.Visible = True
|
DVFiltroCodigo.Visible = True
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
If UsuarioActual.Empresa.Funcionalidad(382) = "1" Then
|
||||||
|
GvM.Columns(7).Visible = True
|
||||||
|
End If
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Function isWithFamily() As Boolean
|
Private Function isWithFamily() As Boolean
|
||||||
@@ -261,13 +265,13 @@ Partial Class Inventarios_Kardex
|
|||||||
AplicaAlmacenDestino = DtTemp.MAX("AlmacenDestino") <> "" AndAlso UsuarioActual.Empresa.Funcionalidad(382) = "1"
|
AplicaAlmacenDestino = DtTemp.MAX("AlmacenDestino") <> "" AndAlso UsuarioActual.Empresa.Funcionalidad(382) = "1"
|
||||||
|
|
||||||
GvM.Columns(5).Visible = AplicaAlmacenDestino
|
GvM.Columns(5).Visible = AplicaAlmacenDestino
|
||||||
GvM.Columns(7).Visible = DtTemp.MAX("FolioRelacionEntrada") <> ""
|
GvM.Columns(8).Visible = DtTemp.MAX("FolioRelacionEntrada") <> ""
|
||||||
|
|
||||||
If AplicaSeccion Then GvM.Columns(9).Visible = True
|
If AplicaSeccion Then GvM.Columns(10).Visible = True
|
||||||
If AplicaSerie Then GvM.Columns(10).Visible = True
|
If AplicaSerie Then GvM.Columns(11).Visible = True
|
||||||
If AplicaLote Then GvM.Columns(11).Visible = True
|
If AplicaLote Then GvM.Columns(12).Visible = True
|
||||||
If AplicaCaducidad Then GvM.Columns(12).Visible = True
|
If AplicaCaducidad Then GvM.Columns(13).Visible = True
|
||||||
If Not String.IsNullOrWhiteSpace(UsuarioActual.Empresa.Funcionalidad(147)) Then GvM.Columns(12).HeaderText = UsuarioActual.Empresa.Funcionalidad(147)
|
If Not String.IsNullOrWhiteSpace(UsuarioActual.Empresa.Funcionalidad(147)) Then GvM.Columns(13).HeaderText = UsuarioActual.Empresa.Funcionalidad(147)
|
||||||
|
|
||||||
Dim Drp As DataRow = GlobalDTPSSimplificado(UsuarioActual.CveEmpresa, CvePS:=CvePS).FiltroPrimero("")
|
Dim Drp As DataRow = GlobalDTPSSimplificado(UsuarioActual.CveEmpresa, CvePS:=CvePS).FiltroPrimero("")
|
||||||
Dim AuxAplicaSerie As Boolean
|
Dim AuxAplicaSerie As Boolean
|
||||||
@@ -341,6 +345,50 @@ Partial Class Inventarios_Kardex
|
|||||||
UpOCS.Update()
|
UpOCS.Update()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
|
||||||
|
Private Sub CargaPreciosLista(CvePS As Integer)
|
||||||
|
|
||||||
|
|
||||||
|
LblHeaderL1.Text = ""
|
||||||
|
LblL1.Text = ""
|
||||||
|
|
||||||
|
LblHeaderL2.Text = ""
|
||||||
|
LblL2.Text = ""
|
||||||
|
|
||||||
|
DivIndicadorL1.Visible = False
|
||||||
|
DivIndicadorL2.Visible = False
|
||||||
|
|
||||||
|
Dim DTPrecioLista As New DataTable
|
||||||
|
|
||||||
|
Dim objPS As New ClsProductosServicios
|
||||||
|
If objPS.GetPSPreciosLista(UsuarioActual.CveEmpresa, -1, CvePS:=CvePS) Then
|
||||||
|
DTPrecioLista = objPS.DtResultados.Copy
|
||||||
|
End If
|
||||||
|
objPS.Dispose()
|
||||||
|
|
||||||
|
|
||||||
|
If DTPrecioLista.Rows.Count = 1 Then
|
||||||
|
LblHeaderL1.Text = DTPrecioLista.Rows(0)("PrecioLista").ToString
|
||||||
|
LblL1.Text = DTPrecioLista.Rows(0)("Precio").ToString.ToDecimal.ToString("###,###,###.00")
|
||||||
|
DivIndicadorL1.Visible = True
|
||||||
|
ElseIf DTPrecioLista.Rows.Count >= 2 Then
|
||||||
|
|
||||||
|
LblHeaderL1.Text = DTPrecioLista.Rows(0)("PrecioLista").ToString
|
||||||
|
LblL1.Text = DTPrecioLista.Rows(0)("Precio").ToString.ToDecimal.ToString("###,###,###.00")
|
||||||
|
|
||||||
|
LblHeaderL2.Text = DTPrecioLista.Rows(1)("PrecioLista").ToString
|
||||||
|
LblL2.Text = DTPrecioLista.Rows(1)("Precio").ToString.ToDecimal.ToString("###,###,###.00")
|
||||||
|
|
||||||
|
DivIndicadorL1.Visible = True
|
||||||
|
DivIndicadorL2.Visible = True
|
||||||
|
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
End Sub
|
||||||
|
|
||||||
Private Function CargarKardex(CvePS As Integer) As DataTable
|
Private Function CargarKardex(CvePS As Integer) As DataTable
|
||||||
Dim dt As DataTable = Nothing
|
Dim dt As DataTable = Nothing
|
||||||
|
|
||||||
@@ -409,6 +457,7 @@ Partial Class Inventarios_Kardex
|
|||||||
|
|
||||||
If UsuarioActual.Empresa.Funcionalidad(382) = "1" Then
|
If UsuarioActual.Empresa.Funcionalidad(382) = "1" Then
|
||||||
CargarOCPendientesCompra()
|
CargarOCPendientesCompra()
|
||||||
|
CargaPreciosLista(CvePS)
|
||||||
DivIndicadorOC.Visible = True
|
DivIndicadorOC.Visible = True
|
||||||
DivIndicadorOC2.Visible = True
|
DivIndicadorOC2.Visible = True
|
||||||
UpOCS.Update()
|
UpOCS.Update()
|
||||||
|
|||||||
@@ -208,6 +208,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</ContentTemplate>
|
</ContentTemplate>
|
||||||
</asp:UpdatePanel>
|
</asp:UpdatePanel>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div align="right">
|
<div align="right">
|
||||||
<input type="text" id="TxtBusqueda" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusqueda','{0}')", GvDatos.ClientID) %>" style="display: inline-block; margin-right: -20px; width: 150px;" />
|
<input type="text" id="TxtBusqueda" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusqueda','{0}')", GvDatos.ClientID) %>" style="display: inline-block; margin-right: -20px; width: 150px;" />
|
||||||
@@ -222,7 +223,17 @@
|
|||||||
data-sort="true" GridLines="None">
|
data-sort="true" GridLines="None">
|
||||||
<Columns>
|
<Columns>
|
||||||
<asp:HyperLinkField HeaderText="Folio" ItemStyle-Width="100px" DataTextField ="Folio" DataNavigateUrlFormatString="/Ventas/RepRemisionesDetalle.aspx?CveVenta={0}" DataNavigateUrlFields="CveVenta" Target="_blank" />
|
<asp:HyperLinkField HeaderText="Folio" ItemStyle-Width="100px" DataTextField ="Folio" DataNavigateUrlFormatString="/Ventas/RepRemisionesDetalle.aspx?CveVenta={0}" DataNavigateUrlFields="CveVenta" Target="_blank" />
|
||||||
<asp:HyperLinkField HeaderText="Fecha" ItemStyle-Width="150px" DataTextField ="Fecha" DataTextFormatString="{0:d}" DataNavigateUrlFormatString="/Ventas/Ventas.aspx?CveVenta={0}" DataNavigateUrlFields="CveVenta" />
|
<%--<asp:HyperLinkField HeaderText="Fecha" ItemStyle-Width="150px" DataTextField ="Fecha" DataTextFormatString="{0:d}" DataNavigateUrlFormatString="/Ventas/Ventas.aspx?CveVenta={0}" DataNavigateUrlFields="CveVenta" />--%>
|
||||||
|
|
||||||
|
<asp:TemplateField ItemStyle-HorizontalAlign="Right" HeaderStyle-Width="10%" >
|
||||||
|
<HeaderTemplate>
|
||||||
|
Fecha
|
||||||
|
</HeaderTemplate>
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:LinkButton ID="LnkFecha" runat="server" />
|
||||||
|
</ItemTemplate>
|
||||||
|
</asp:TemplateField>
|
||||||
|
|
||||||
<asp:BoundField HeaderText="Vencimiento" DataField="FechaVencimiento" DataFormatString="{0:d}" />
|
<asp:BoundField HeaderText="Vencimiento" DataField="FechaVencimiento" DataFormatString="{0:d}" />
|
||||||
<asp:BoundField HeaderText="Cliente" DataField="Cliente" />
|
<asp:BoundField HeaderText="Cliente" DataField="Cliente" />
|
||||||
<asp:BoundField HeaderText="Contrato" DataField="TieneContrato" Visible="false" />
|
<asp:BoundField HeaderText="Contrato" DataField="TieneContrato" Visible="false" />
|
||||||
|
|||||||
@@ -130,7 +130,12 @@ Partial Class RepRemisiones
|
|||||||
e.Row.Cells(2).ForeColor = Drawing.Color.Red
|
e.Row.Cells(2).ForeColor = Drawing.Color.Red
|
||||||
End If
|
End If
|
||||||
|
|
||||||
e.Row.Cells(1).Text = $"<a href='./Ventas.aspx?CveVenta={e.Row.DataKey("CveVenta")}' targen='_blank'>{e.Row.DataKey("Fecha").ToDate().ToString("dd/MM/yyyy HH:mm:ss")}</a>"
|
'e.Row.Cells(1).Text = $"<a href='./Ventas.aspx?CveVenta={e.Row.DataKey("CveVenta")}' targen='_blank'>{e.Row.DataKey("Fecha").ToDate().ToString("dd/MM/yyyy HH:mm:ss")}</a>"
|
||||||
|
Dim LnkFecha = e.Row.FCLinkButton("LnkFecha")
|
||||||
|
LnkFecha.Text = If(UsuarioActual.Empresa.Funcionalidad(578) = "1", e.Row.DataKey("Fecha").ToDate().ToString("dd/MM/yyyy HH:mm"), e.Row.DataKey("Fecha").ToDate().ToString("dd/MM/yyyy HH:mm:ss"))
|
||||||
|
LnkFecha.Attributes("onclick") = $"window.open('./Ventas.aspx?CveVenta={e.Row.DataKey("CveVenta")}', '_blank'); return false;"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
@@ -155,8 +160,8 @@ Partial Class RepRemisiones
|
|||||||
GvDatos.Columns(7).Visible = True
|
GvDatos.Columns(7).Visible = True
|
||||||
'columna de fecha
|
'columna de fecha
|
||||||
GvDatos.Columns(1).HeaderText = "Fecha Cirugía"
|
GvDatos.Columns(1).HeaderText = "Fecha Cirugía"
|
||||||
CType(GvDatos.Columns(1), HyperLinkField).DataTextFormatString = "{0:dd/MM/yyyy HH:mm}"
|
'CType(GvDatos.Columns(1), HyperLinkField).DataTextFormatString = "{0:dd/MM/yyyy HH:mm}"
|
||||||
CType(GvDatos.Columns(1), HyperLinkField).ItemStyle.Width = Unit.Pixel(120)
|
'CType(GvDatos.Columns(1), HyperLinkField).ItemStyle.Width = Unit.Pixel(120)
|
||||||
GvDatos.Columns(16).Visible = True
|
GvDatos.Columns(16).Visible = True
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user