Personalizacion Rep Ventas Rep ventas Detalles

This commit is contained in:
rakcsle
2023-08-01 18:06:54 -07:00
parent 69cad8a218
commit 738a491f1b
8 changed files with 1042 additions and 117 deletions

View File

@@ -669,7 +669,7 @@
</asp:TemplateField>
<asp:TemplateField HeaderText="Cantidad" HeaderStyle-Width="100px" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:TextBox ID="TxtCantidad" Visible="false" Width="60px" runat="server" Text="0"></asp:TextBox>
<asp:TextBox ID="TxtCantidad" Visible="false" Width="60px" runat="server" Text="0" style="text-align:right"></asp:TextBox>
<ajax:FilteredTextBoxExtender ID="SoloNumeros2" runat="server" TargetControlID="TxtCantidad" FilterType="Custom, Numbers" ValidChars="." />
</ItemTemplate>
</asp:TemplateField>

View File

@@ -1576,6 +1576,14 @@ Partial Class Inventarios_TraspasoAlmacen
End If
e.Row.FCTextBox("TxtSerie").ReadOnly = True
'If UsuarioActual.Empresa.Funcionalidad(558) = "1" Then
If UsuarioActual.CveEmpresa = 141 Then
e.Row.FCTextBox("TxtCantidad").Enabled = False
e.Row.FCTextBox("TxtCantidad").Text = e.Row.DataKey("Cantidad").ToDecimal.ToString("#,###.######")
e.Row.FCCheckBox("Chk").Enabled = False
e.Row.FCCheckBox("Chk").Checked = True
End If
End If
'FUNCIONALIDAD PISTOLA DE CODIGOS
@@ -1587,12 +1595,7 @@ Partial Class Inventarios_TraspasoAlmacen
End If
If UsuarioActual.Empresa.Funcionalidad(558) = "1" Then
e.Row.FCTextBox("TxtCantidad").Enabled = False
e.Row.FCTextBox("TxtCantidad").Text = e.Row.DataKey("Cantidad")
e.Row.FCCheckBox("Chk").Enabled = False
e.Row.FCCheckBox("Chk").Checked = True
End If