local
This commit is contained in:
@@ -17669,7 +17669,7 @@ Partial Class Compras_Compras
|
||||
ViewState("IVAPS") = Drr("IVA").ToString().ToDouble()
|
||||
DdlProyecto.SelectedValueExist(Drr("CveProyecto"))
|
||||
|
||||
'DdlIVA.Enabled = True
|
||||
DdlIVA.Enabled = True
|
||||
|
||||
If Not Modalidad = "U" Then
|
||||
|
||||
@@ -17989,13 +17989,13 @@ Partial Class Compras_Compras
|
||||
Row("IEPSPSPorcentaje") = PorcentajeIEPS
|
||||
Else
|
||||
'If DdlIVA.SelectedValue.ToDouble = 0 Then Row("IVA") = 0 Else Row("IVA") = Math.Round(IVA * Total, DecimalesPermitidos)
|
||||
Row("IVA") = Math.Round(IVA * Total, DecimalesPermitidos)
|
||||
Row("IVA") = Math.Round(IVA * Total, 2)
|
||||
Row("IVAPorcentaje") = IVA
|
||||
Row("RetIVA") = Math.Round(RetIVA * Total, DecimalesPermitidos)
|
||||
Row("RetIVA") = Math.Round(RetIVA * Total, 2)
|
||||
Row("RetIVAPorcentaje") = RetIVA
|
||||
Row("RetISR") = Math.Round(RetISR * Total, DecimalesPermitidos)
|
||||
Row("RetISR") = Math.Round(RetISR * Total, 2)
|
||||
Row("RetISRPorcentaje") = RetISR
|
||||
Row("IEPSPS") = Math.Round(IEPSPS * Total, DecimalesPermitidos)
|
||||
Row("IEPSPS") = Math.Round(IEPSPS * Total, 2)
|
||||
Row("IEPSPSPorcentaje") = IEPSPS
|
||||
End If
|
||||
Row("ImporteConImpuestos") = (Row("Cantidad").ToString.ToDouble * Row("PU").ToString.ToDouble) + Row("IVA").ToString.ToDouble + Row("IEPSPS").ToString.ToDouble - (Row("RetIVA").ToString.ToDouble + Row("RetISR").ToString.ToDouble)
|
||||
|
||||
@@ -214,7 +214,7 @@
|
||||
</ItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Left" />
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Importe">
|
||||
<asp:TemplateField HeaderText="Importe" ItemStyle-Width="125px">
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlTotal" runat="server" Text='<%# String.Format("{0} {1}", Eval("Total", "{0:N2}"), Eval("Abreviatura")) %>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
|
||||
Reference in New Issue
Block a user