-- option strict on
This commit is contained in:
@@ -223,7 +223,7 @@ Partial Class Ventas_CatAutorizacionLimites
|
||||
Dim LimiteCredito = gvRow.DataKey("LimiteCredito").ToDecimal()
|
||||
'SI EL LIMITE ES 0, PERMITE AUTORIZAR
|
||||
If LimiteCredito > 0 Then
|
||||
Dim PorcentajeMaximoAutorizar As Decimal = 0.1
|
||||
Dim PorcentajeMaximoAutorizar As Decimal = 0.1D
|
||||
|
||||
If UsuarioActual.PorcentajeMaximoAutorizacion > 0 Then
|
||||
PorcentajeMaximoAutorizar = (UsuarioActual.PorcentajeMaximoAutorizacion / 100)
|
||||
@@ -351,7 +351,7 @@ Partial Class Ventas_CatAutorizacionLimites
|
||||
StrFiltro.AppendFormat("Vendedor: {0}, ", DdlVendedorFiltro.SelectedItem)
|
||||
StrFiltro.AppendFormat("Fecha Inicio: {0}", txtFechaI.Text.ToDate.ToString("dd/MM/yyyy"))
|
||||
'If txtFechaF.Text <> "" Then StrFiltro.AppendFormat(", Fecha Fin: {0}", txtFechaF.Text.ToDate.ToString("dd/MM/yyyy"))
|
||||
Dim fechaFin As String = IIf(txtFechaF.Text <> "", txtFechaF.Text.ToDate.ToString("dd/MM/yyyy"), Now.ToString("dd/MM/yyyy"))
|
||||
Dim fechaFin As String = If(txtFechaF.Text <> "", txtFechaF.Text.ToDate.ToString("dd/MM/yyyy"), Now.ToString("dd/MM/yyyy"))
|
||||
StrFiltro.AppendFormat(", Fecha Fin: {0}", fechaFin)
|
||||
|
||||
'Oculta columnas en export sin afectar GridView en página
|
||||
|
||||
Reference in New Issue
Block a user