-
This commit is contained in:
@@ -133,7 +133,7 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="form-group form-md-line-input input-iconright">
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<asp:TextBox ID="TxtPS" TextMode="MultiLine" Rows="2" CssClass="form-control Mayuscula" runat="server" MaxLength="846"></asp:TextBox>
|
<asp:TextBox ID="TxtPS" TextMode="MultiLine" Rows="2" CssClass="form-control" runat="server" MaxLength="846"></asp:TextBox>
|
||||||
<label class="truncate" for="<%= TxtPS.ClientID.ToString()%>">Descripción del Producto / Servicio:</label>
|
<label class="truncate" for="<%= TxtPS.ClientID.ToString()%>">Descripción del Producto / Servicio:</label>
|
||||||
<asp:RequiredFieldValidator ID="RFVPS" runat="server" ControlToValidate="TxtPS" CssClass="help-block errorimput" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Producto Servicio''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
<asp:RequiredFieldValidator ID="RFVPS" runat="server" ControlToValidate="TxtPS" CssClass="help-block errorimput" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Producto Servicio''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardar"></asp:RequiredFieldValidator>
|
||||||
<ajax:ValidatorCalloutExtender ID="VCEPS" runat="server" HighlightCssClass="vco" TargetControlID="RFVPS" Width="300px"></ajax:ValidatorCalloutExtender>
|
<ajax:ValidatorCalloutExtender ID="VCEPS" runat="server" HighlightCssClass="vco" TargetControlID="RFVPS" Width="300px"></ajax:ValidatorCalloutExtender>
|
||||||
|
|||||||
@@ -251,6 +251,10 @@ Partial Class ProductosyServicios
|
|||||||
'DdlTipoPSDes.Attributes.Add("onChange", "CreaDescripcionPS();")
|
'DdlTipoPSDes.Attributes.Add("onChange", "CreaDescripcionPS();")
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
If UsuarioActual.CveEmpresa.Contiene(72, 80) Then
|
||||||
|
TxtPS.CssClass = "form-control Mayuscula"
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
If UsuarioActual.CveEmpresa.Contiene(72, 80) And CvePS = -1 Then
|
If UsuarioActual.CveEmpresa.Contiene(72, 80) And CvePS = -1 Then
|
||||||
'DivDatos.Attributes("class") = "col-md-12"
|
'DivDatos.Attributes("class") = "col-md-12"
|
||||||
@@ -1327,9 +1331,9 @@ Partial Class ProductosyServicios
|
|||||||
End If
|
End If
|
||||||
Else
|
Else
|
||||||
|
|
||||||
If CodigoBarrasCargado.Length > 0 And TxtCodigoBarras.Text.Length = 0 Then
|
'If CodigoBarrasCargado.Length > 0 And TxtCodigoBarras.Text.Length = 0 Then 'RMF.2021.07.30, se comentó, por no entender la validaci´n, y nodeja limpiar codigos
|
||||||
TxtCodigoBarras.Text = CodigoBarrasCargado
|
' TxtCodigoBarras.Text = CodigoBarrasCargado
|
||||||
End If
|
'End If
|
||||||
|
|
||||||
Dim PSS As String = TxtPS.Text.Trim.Replace("|", "")
|
Dim PSS As String = TxtPS.Text.Trim.Replace("|", "")
|
||||||
If UsuarioActual.CveEmpresa.Contiene(1, 72, 80) Then PSS = PSS.ToUpper
|
If UsuarioActual.CveEmpresa.Contiene(1, 72, 80) Then PSS = PSS.ToUpper
|
||||||
|
|||||||
Reference in New Issue
Block a user