-- formateo en precio sugerencia
This commit is contained in:
@@ -18767,7 +18767,7 @@ Partial Class Ventas
|
|||||||
|
|
||||||
If PrecioSugerido <= 0 Then PrecioSugerido = tPrecioSugerido
|
If PrecioSugerido <= 0 Then PrecioSugerido = tPrecioSugerido
|
||||||
|
|
||||||
GvRow.FCTextBox("TxtPrecio").Text = PrecioSugerido.ToString("#,###.####") ' que muestre hasta los 4 digitos si lo requiere
|
GvRow.FCTextBox("TxtPrecio").Text = PrecioSugerido.ToString("#,##0.####") ' que muestre hasta los 4 digitos si lo requiere
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
@@ -34994,7 +34994,7 @@ Partial Class Ventas
|
|||||||
|
|
||||||
If PrecioSugerido <= 0 Then PrecioSugerido = tPrecioSugerido
|
If PrecioSugerido <= 0 Then PrecioSugerido = tPrecioSugerido
|
||||||
|
|
||||||
Row("Precio") = PrecioSugerido.ToString("#,###.####") ' que muestre hasta los 4 digitos si lo requiere
|
Row("Precio") = PrecioSugerido.ToString("#,##0.####") ' que muestre hasta los 4 digitos si lo requiere
|
||||||
End If
|
End If
|
||||||
Next
|
Next
|
||||||
End If
|
End If
|
||||||
@@ -38256,7 +38256,7 @@ Partial Class Ventas
|
|||||||
|
|
||||||
If PrecioSugerido <= 0 Then PrecioSugerido = tPrecioSugerido
|
If PrecioSugerido <= 0 Then PrecioSugerido = tPrecioSugerido
|
||||||
|
|
||||||
TxtPrecioMercancia.Text = PrecioSugerido.ToString("#,###.####") ' que muestre hasta los 4 digitos si lo requiere
|
TxtPrecioMercancia.Text = PrecioSugerido.ToString("#,##0.####") ' que muestre hasta los 4 digitos si lo requiere
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
|
||||||
@@ -38609,7 +38609,7 @@ Partial Class Ventas
|
|||||||
Dim ObjPrecioSugerido As Modelos.MPrecioSugerido = CalculaPrecioSugerido(drPS("CvePS").ToString().ToEntero(), drPS("CveClasificacion").ToString().ToEntero(), CvePrecioListaSugerido:=DdlPrecioLista.SelectedValue.ToEntero())
|
Dim ObjPrecioSugerido As Modelos.MPrecioSugerido = CalculaPrecioSugerido(drPS("CvePS").ToString().ToEntero(), drPS("CveClasificacion").ToString().ToEntero(), CvePrecioListaSugerido:=DdlPrecioLista.SelectedValue.ToEntero())
|
||||||
|
|
||||||
If ObjPrecioSugerido.PrecioSugerido > 0 Then
|
If ObjPrecioSugerido.PrecioSugerido > 0 Then
|
||||||
TxtPrecio.Text = ObjPrecioSugerido.PrecioSugerido.ToString("#,###.####")
|
TxtPrecio.Text = ObjPrecioSugerido.PrecioSugerido.ToString("#,##0.####")
|
||||||
Else
|
Else
|
||||||
Alert("El Producto no tiene especificado precio en la lista de precio.")
|
Alert("El Producto no tiene especificado precio en la lista de precio.")
|
||||||
End If
|
End If
|
||||||
@@ -39266,7 +39266,7 @@ Partial Class Ventas
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
If PrecioSugerido <= 0 Then PrecioSugerido = tPrecioSugerido
|
If PrecioSugerido <= 0 Then PrecioSugerido = tPrecioSugerido
|
||||||
GvRow.FCTextBox("TxtPrecio").Text = PrecioSugerido.ToString("#,###.####")
|
GvRow.FCTextBox("TxtPrecio").Text = PrecioSugerido.ToString("#,##0.####")
|
||||||
|
|
||||||
End If
|
End If
|
||||||
Next
|
Next
|
||||||
|
|||||||
Reference in New Issue
Block a user