This commit is contained in:
Antonio Gonzalez
2020-09-28 10:19:50 -07:00
13 changed files with 367 additions and 199 deletions

View File

@@ -6729,10 +6729,10 @@ Partial Class Compras_Compras
End If
If UsuarioActual.CveEmpresa.Contiene(119) Then
If UsuarioActual.CveEmpresa.Contiene(119) Then
Dim ContienePSNeteoBonif As Boolean = False
For Each Dr As DataRow In TmpDT.Rows
If Dr("CveClasificacion").ToString.ToEntero.Contiene(20319) Then 'clasificación de Bonificación, no se incluirá en el neteo
If Dr("CveClasificacion").ToString.ToEntero.Contiene(20319) Or DdlTipoCompra.SelectedValue.ToEntero = 11 Then 'clasificación de Bonificación, no se incluirá en el neteo
ContienePSNeteoBonif = True
Exit For
End If

View File

@@ -410,6 +410,7 @@
<asp:Literal ID="LtlObs" runat="server" Text='<%# Eval("Observaciones") %>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="Descripcion" ItemStyle-Width="100px" HeaderText="Descripción" />
</Columns>
</asp:GridView>
</ContentTemplate>
@@ -481,7 +482,7 @@
<asp:CheckBox ID="ChkDesc" runat="server" Text="Descuentos" /></td>
<td>
<asp:CheckBox ID="ChkTotal" runat="server" Text="Total" /></td>
<td></td>
<td><asp:CheckBox ID="ChkDescripcion" runat="server" Text="Descripción"/></td>
</tr>
<tr>
<td>

View File

@@ -606,7 +606,8 @@ Partial Class Compras_RepComprasDetalle
GvDatos.Columns(9).Visible = ChkRazon.Checked
GvDatos.Columns(10).Visible = ChkFolio.Checked
GvDatos.Columns(11).Visible = ChkFecha.Checked
GvDatos.Columns(12).Visible = ChkObs.Checked
GvDatos.Columns(12).Visible = ChkObs.Checked
GvDatos.Columns(13).Visible = ChkDescripcion.Checked
UPDatos.Update()
End Sub