--FIX. Visualizacion de IVA
This commit is contained in:
@@ -111,15 +111,9 @@
|
|||||||
<div class="row" style="max-width: 780px;">
|
<div class="row" style="max-width: 780px;">
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<asp:Literal ID="LtPs" Text="" runat="server">  </asp:Literal>
|
<asp:Literal ID="LtPs" Text="" runat="server">  </asp:Literal>
|
||||||
|
|
||||||
<asp:Literal ID="LtlIEPS" Text="IEPS:" runat="server" Visible="false">  </asp:Literal>
|
|
||||||
|
|
||||||
<asp:Literal ID="LtlIEPSPorcentaje" Text="" runat="server" Visible="false">  </asp:Literal>
|
<asp:Literal ID="LtlIEPSPorcentaje" Text="" runat="server" Visible="false">  </asp:Literal>
|
||||||
|
|
||||||
<asp:Literal ID="LtlIVA" Text="IVA:" runat="server" Visible="false">  </asp:Literal>
|
|
||||||
|
|
||||||
<asp:Literal ID="LtlIVAPorcentaje" Text="" runat="server" Visible="false">  </asp:Literal>
|
<asp:Literal ID="LtlIVAPorcentaje" Text="" runat="server" Visible="false">  </asp:Literal>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row" style="max-width: 780px;">
|
<div class="row" style="max-width: 780px;">
|
||||||
|
|||||||
@@ -198,19 +198,15 @@ Partial Class Inventarios_Default
|
|||||||
objPS.Dispose()
|
objPS.Dispose()
|
||||||
If UsuarioActual.CveEmpresa = 119 Then
|
If UsuarioActual.CveEmpresa = 119 Then
|
||||||
If CBool(dr("AplicaIEPS")) Then
|
If CBool(dr("AplicaIEPS")) Then
|
||||||
LtlIEPS.Visible = True
|
|
||||||
LtlIEPSPorcentaje.Visible = True
|
LtlIEPSPorcentaje.Visible = True
|
||||||
LtlIEPSPorcentaje.Text = $"<b>% {(dr("IEPSPorcentaje").ToString.ToDouble * 100).FormatoNumero}</b>"
|
LtlIEPSPorcentaje.Text = $"IEPS: <b>% {(dr("IEPSPorcentaje").ToString.ToDouble * 100).FormatoNumero}</b>"
|
||||||
Else
|
Else
|
||||||
LtlIEPS.Visible = False
|
|
||||||
LtlIEPSPorcentaje.Visible = False
|
LtlIEPSPorcentaje.Visible = False
|
||||||
End If
|
End If
|
||||||
If dr("IVA").ToString = "-1" OrElse dr("IVA").ToString.ToDecimal > 0 Then
|
If dr("IVA").ToString = "-1" OrElse dr("IVA").ToString.ToDecimal > 0 Then
|
||||||
LtlIVA.Visible = True
|
|
||||||
LtlIVAPorcentaje.Visible = True
|
LtlIVAPorcentaje.Visible = True
|
||||||
LtlIVAPorcentaje.Text = $"<b>Si</b>"
|
LtlIVAPorcentaje.Text = $"IVA: <b>Si</b>"
|
||||||
Else
|
Else
|
||||||
LtlIVA.Visible = False
|
|
||||||
LtlIVAPorcentaje.Visible = False
|
LtlIVAPorcentaje.Visible = False
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
|||||||
Reference in New Issue
Block a user