Promociones modal ajustes estilos
This commit is contained in:
@@ -3505,7 +3505,7 @@
|
||||
<asp:Label runat="server" ID="LbImporte" />
|
||||
</div>
|
||||
<div class="col-md-7">
|
||||
<asp:DropDownList ID="DdlConceptoIEPS" runat="server" CssClass="form-control input-sm select2me" AppendDataBoundItems="true" DataTextField="PS" DataValueField="CvePS" Width="100px" ValidationGroup="GrpAgregar" Visible="false"></asp:DropDownList>
|
||||
<asp:DropDownList ID="DdlConceptoIEPS" runat="server" CssClass="form-control input-sm select2me" AppendDataBoundItems="true" DataTextField="PS" DataValueField="CvePS" Width="100%" ValidationGroup="GrpAgregar" Visible="false"></asp:DropDownList>
|
||||
<asp:RequiredFieldValidator ID="RFVConceptoIEPS" runat="server" ControlToValidate="DdlConceptoIEPS" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />Es necesario <b>seleccionar un concepto, </b>por favor ingréselo." InitialValue="-1" ValidationGroup="GrpAgregar"></asp:RequiredFieldValidator>
|
||||
<ajax:ValidatorCalloutExtender ID="VCEConceptoIEPS" runat="server" HighlightCssClass="vco" TargetControlID="RFVConceptoIEPS" Width="300px" BehaviorID="VCEConceptoIEPS"></ajax:ValidatorCalloutExtender>
|
||||
</div>
|
||||
@@ -3519,7 +3519,7 @@
|
||||
<asp:Label runat="server" ID="LbImporte2" />
|
||||
</div>
|
||||
<div class="col-md-7">
|
||||
<asp:DropDownList ID="DdlConceptoOI" runat="server" CssClass="form-control input-sm select2me" AppendDataBoundItems="true" DataTextField="PS" DataValueField="CvePS" Width="100px" ValidationGroup="GrpAgregar" Visible="false"></asp:DropDownList>
|
||||
<asp:DropDownList ID="DdlConceptoOI" runat="server" CssClass="form-control input-sm select2me" AppendDataBoundItems="true" DataTextField="PS" DataValueField="CvePS" Width="100%" ValidationGroup="GrpAgregar" Visible="false"></asp:DropDownList>
|
||||
<asp:RequiredFieldValidator ID="RFVConcepto" runat="server" ControlToValidate="DdlConceptoOI" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />Es necesario <b>seleccionar un concepto, </b>por favor ingréselo." InitialValue="-1" ValidationGroup="GrpAgregar"></asp:RequiredFieldValidator>
|
||||
<ajax:ValidatorCalloutExtender ID="VCEConcepto" runat="server" HighlightCssClass="vco" TargetControlID="RFVConcepto" Width="300px" BehaviorID="VCEConcepto"></ajax:ValidatorCalloutExtender>
|
||||
</div>
|
||||
|
||||
@@ -2221,7 +2221,7 @@ Partial Class Compras_Compras
|
||||
ChkIEPS.Visible = True
|
||||
ChkIEPS.Checked = True
|
||||
DdlConceptoIEPS.Visible = True
|
||||
CargaProductos(DdlConceptoIEPS, If(UsuarioActual.Empresa.Funcionalidad(112).ToString.ToEntero > 0, UsuarioActual.Empresa.Funcionalidad(112).ToString.ToEntero, -1), If(IVATemp > 0, False, True))
|
||||
CargaProductos(DdlConceptoIEPS, If(UsuarioActual.Empresa.Funcionalidad(112).ToString.ToEntero > 0, UsuarioActual.Empresa.Funcionalidad(112).ToString.ToEntero, -1), True)
|
||||
LbImporte.Text = "$" + TrasladoIEPS.ToString
|
||||
|
||||
End If
|
||||
@@ -18173,12 +18173,13 @@ Partial Class Compras_Compras
|
||||
' If CvePS = -1 Then CvePS = UsuarioActual.Empresa.Funcionalidad(112).ToString.ToEntero
|
||||
|
||||
If CvePS = -2 Then 'opción Incluir en producto
|
||||
|
||||
For Each Dr As DataRow In TmpDT.Rows
|
||||
Dr("PU") = ((Dr("IEPSPS").ToString.ToDecimal / Dr("Cantidad").ToString.ToDecimal) + Dr("Pu").ToString.ToDecimal).RoundSQL(6)
|
||||
Dr("IEPSPS") = 0
|
||||
Dr("IEPSPSPorcentaje") = 0
|
||||
Dr("Total") = (Dr("PU").ToString.ToDecimal * Dr("Cantidad").ToString.ToDecimal - Dr("Descuento").ToString.ToDecimal)
|
||||
If Dr("").ToString.ToDecimal = 0 Then
|
||||
Dr("PU") = ((Dr("IEPSPS").ToString.ToDecimal / Dr("Cantidad").ToString.ToDecimal) + Dr("Pu").ToString.ToDecimal).RoundSQL(6)
|
||||
Dr("IEPSPS") = 0
|
||||
Dr("IEPSPSPorcentaje") = 0
|
||||
Dr("Total") = (Dr("PU").ToString.ToDecimal * Dr("Cantidad").ToString.ToDecimal - Dr("Descuento").ToString.ToDecimal)
|
||||
End If
|
||||
Next
|
||||
|
||||
CalculaTotales(True)
|
||||
|
||||
Reference in New Issue
Block a user