--Sobr/Falt en rep cortes

This commit is contained in:
2025-04-25 09:49:02 -07:00
parent 745f15ddce
commit 3b1e1a17e6
2 changed files with 9 additions and 0 deletions

View File

@@ -448,6 +448,11 @@
<asp:Literal ID="LtlFacRemisionAnterior" runat="server" Text='<%# Eval("FacturaRemisionAnteriorTexto") %>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Sobr/Falt" ItemStyle-HorizontalAlign="Right" Visible="false">
<ItemTemplate>
<asp:Label ID="LblSobrFalt" Text='<%# Eval("SobranteFaltante", "{0:N2}") %>' runat="server"></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Total" ItemStyle-HorizontalAlign="Right">
<ItemTemplate>
<asp:Label ID="LblTotal" Text='<%# Eval("ImportePagado", "{0:N2}") %>' runat="server"></asp:Label>

View File

@@ -231,6 +231,10 @@ Partial Class Bancos_RepCortes
DtCortesVentas = DsDatos.Tables(0)
GvD.DataSource = DtCortesVentas
If UsuarioActual.Empresa.Funcionalidad(382) = "1" Then
GvD.Columns(3).Visible = True
End If
divDetalle.Visible = True
'RESUMEN
DtCortesVentasResumen = DsDatos.Tables(1)