option explicit
This commit is contained in:
@@ -177,16 +177,6 @@ Partial Class PopUpAuxiliar
|
|||||||
e.Row.Cells(7).Visible = False
|
e.Row.Cells(7).Visible = False
|
||||||
e.Row.Cells(8).Visible = False
|
e.Row.Cells(8).Visible = False
|
||||||
e.Row.Cells(12).Visible = False
|
e.Row.Cells(12).Visible = False
|
||||||
'ElseIf e.Row.RowIndex = 1 Then
|
|
||||||
' e.Row.Cells(0).Width = Unit.Pixel(95)
|
|
||||||
' e.Row.Cells(1).Width = Unit.Pixel(180)
|
|
||||||
' e.Row.Cells(2).Width = Unit.Pixel(80)
|
|
||||||
' e.Row.Cells(3).Width = Unit.Pixel(80)
|
|
||||||
' e.Row.Cells(4).Width = Unit.Pixel(83)
|
|
||||||
' e.Row.Cells(5).Width = Unit.Pixel(93)
|
|
||||||
' e.Row.Cells(6).Width = Unit.Pixel(85)
|
|
||||||
' e.Row.Cells(7).Width = Unit.Pixel(95)
|
|
||||||
' e.Row.Cells(8).Width = Unit.Pixel(70)
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
e.Row.Cells(1).HorizontalAlign = HorizontalAlign.Left
|
e.Row.Cells(1).HorizontalAlign = HorizontalAlign.Left
|
||||||
@@ -274,10 +264,10 @@ Partial Class PopUpAuxiliar
|
|||||||
Dim Conta As New ClsContabilidad()
|
Dim Conta As New ClsContabilidad()
|
||||||
Conta.IniciaTransacSQL()
|
Conta.IniciaTransacSQL()
|
||||||
|
|
||||||
Dim ClavePrePoliza = GVAuxiliar.Rows(e.RowIndex).DataKey("CvePrePolizaOriginal").ToEntero
|
Dim ClavePrePoliza As Integer = GVAuxiliar.Rows(e.RowIndex).DataKey("CvePrePolizaOriginal").ToEntero
|
||||||
Dim IdPoliza = GVAuxiliar.Rows(e.RowIndex).DataKey("IdPoliza").ToEntero
|
Dim IdPoliza As Integer = GVAuxiliar.Rows(e.RowIndex).DataKey("IdPoliza").ToEntero
|
||||||
|
|
||||||
Dim TieneError = False
|
Dim TieneError As Boolean = False
|
||||||
|
|
||||||
If Not Conta.UpdatePrePolizasDetalleBloquear(ClavePrePoliza, False) Then
|
If Not Conta.UpdatePrePolizasDetalleBloquear(ClavePrePoliza, False) Then
|
||||||
TieneError = True
|
TieneError = True
|
||||||
@@ -460,7 +450,7 @@ Partial Class PopUpAuxiliar
|
|||||||
If e.CommandName = "DesAplicar" Then
|
If e.CommandName = "DesAplicar" Then
|
||||||
|
|
||||||
Dim CvePrePoliza, CveVenta, CveVentaAmortizacion As Integer
|
Dim CvePrePoliza, CveVenta, CveVentaAmortizacion As Integer
|
||||||
Dim TieneError = False
|
Dim TieneError As Boolean = False
|
||||||
|
|
||||||
Dim St As String() = e.CommandArgument.ToString.Split("|"c)
|
Dim St As String() = e.CommandArgument.ToString.Split("|"c)
|
||||||
If St.Length > 0 Then
|
If St.Length > 0 Then
|
||||||
@@ -495,7 +485,7 @@ Partial Class PopUpAuxiliar
|
|||||||
If e.CommandName = "DesAplicarCompra" Then
|
If e.CommandName = "DesAplicarCompra" Then
|
||||||
|
|
||||||
Dim CvePrePoliza, CveCompra, CveCompraAmortizacion As Integer
|
Dim CvePrePoliza, CveCompra, CveCompraAmortizacion As Integer
|
||||||
Dim TieneError = False
|
Dim TieneError As Boolean = False
|
||||||
|
|
||||||
Dim St As String() = e.CommandArgument.ToString.Split("|"c)
|
Dim St As String() = e.CommandArgument.ToString.Split("|"c)
|
||||||
If St.Length > 0 Then
|
If St.Length > 0 Then
|
||||||
@@ -530,7 +520,7 @@ Partial Class PopUpAuxiliar
|
|||||||
If e.CommandName = "DesAplicarAnticipoCompra" Then
|
If e.CommandName = "DesAplicarAnticipoCompra" Then
|
||||||
|
|
||||||
Dim CvePrePoliza, CveCompra, CveIE As Integer
|
Dim CvePrePoliza, CveCompra, CveIE As Integer
|
||||||
Dim TieneError = False
|
Dim TieneError As Boolean = False
|
||||||
|
|
||||||
Dim St As String() = e.CommandArgument.ToString.Split("|"c)
|
Dim St As String() = e.CommandArgument.ToString.Split("|"c)
|
||||||
If St.Length > 0 Then
|
If St.Length > 0 Then
|
||||||
|
|||||||
Reference in New Issue
Block a user