Correcion empresa 13 ventas tipo documento anticipo, error al generar pdf, error seccion carta porte
This commit is contained in:
@@ -13,7 +13,7 @@ Partial Class AF_RepDepreciacion
|
|||||||
#End Region
|
#End Region
|
||||||
Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
|
Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
|
||||||
If Not Page.IsPostBack Then
|
If Not Page.IsPostBack Then
|
||||||
txtFechaI.Text = Now.ToString
|
txtFechaI.Text = New Date(Now.Year, Now.Month + 1, 1).AddDays(-1).ToString("dd/MM/yyyy")
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -35,6 +35,7 @@ Partial Class AF_RepDepreciacion
|
|||||||
Dim CvePrePoliza = ObjConta.AddPrePolizas("Depreciacion", 74, 0, 0, 1, txtFechaI.Text.ToDate, ConceptoPoliza, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa)
|
Dim CvePrePoliza = ObjConta.AddPrePolizas("Depreciacion", 74, 0, 0, 1, txtFechaI.Text.ToDate, ConceptoPoliza, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
For Each RowsDt As GridViewRow In GvDatos.Rows
|
For Each RowsDt As GridViewRow In GvDatos.Rows
|
||||||
CveActivoFijo = RowsDt.DataKey("CveActivoFijo").ToEntero
|
CveActivoFijo = RowsDt.DataKey("CveActivoFijo").ToEntero
|
||||||
If RowsDt.FCLiteral("LtlDepreciacionMensual").Text.ToDouble > 0 And CveActivoFijo <> 0 Then
|
If RowsDt.FCLiteral("LtlDepreciacionMensual").Text.ToDouble > 0 And CveActivoFijo <> 0 Then
|
||||||
|
|||||||
@@ -3094,13 +3094,13 @@ Partial Class PopUpVerFactura
|
|||||||
CartaPorte.Parametros.Add(New ReportParameter($"TieneCartaPorte", "False"))
|
CartaPorte.Parametros.Add(New ReportParameter($"TieneCartaPorte", "False"))
|
||||||
End If
|
End If
|
||||||
Else
|
Else
|
||||||
If UsuarioActual.CveEmpresa = 13 AndAlso Vta.TipoDocto = "Egs" Then
|
If UsuarioActual.CveEmpresa = 13 AndAlso Vta.TipoDocto.Contiene("Egs", "Ant") Then
|
||||||
CartaPorte = New Modelos.MSubReportData()
|
CartaPorte = New Modelos.MSubReportData()
|
||||||
CartaPorte.Parametros.Add(New ReportParameter($"TieneCartaPorte", "False"))
|
CartaPorte.Parametros.Add(New ReportParameter($"TieneCartaPorte", "False"))
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
Else
|
Else
|
||||||
If UsuarioActual.CveEmpresa = 13 AndAlso Vta.TipoDocto = "Egs" Then
|
If UsuarioActual.CveEmpresa = 13 AndAlso Vta.TipoDocto.Contiene("Egs", "Ant") Then
|
||||||
CartaPorte = New Modelos.MSubReportData()
|
CartaPorte = New Modelos.MSubReportData()
|
||||||
CartaPorte.Parametros.Add(New ReportParameter($"TieneCartaPorte", "False"))
|
CartaPorte.Parametros.Add(New ReportParameter($"TieneCartaPorte", "False"))
|
||||||
End If
|
End If
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user