ProveedoresAbonar Ajueste s porcentaje descuento
This commit is contained in:
@@ -459,9 +459,9 @@
|
||||
</asp:TemplateField>
|
||||
<%-- 11 --%>
|
||||
<asp:TemplateField Visible="false">
|
||||
<HeaderTemplate>Aplica<br>Desc.</HeaderTemplate>
|
||||
<HeaderTemplate>% Desc.</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:TextBox ID="TxtDescuento" Width="60px" runat="server" Style="text-align: right;" MaxLength="5"></asp:TextBox>
|
||||
<asp:TextBox ID="TxtDescuento" Width="40px" runat="server" Style="text-align: right;" MaxLength="5"></asp:TextBox>
|
||||
<ajax:FilteredTextBoxExtender runat="server" TargetControlID="TxtDescuento" ValidChars="1234567890+" FilterType="Custom" />
|
||||
|
||||
</ItemTemplate>
|
||||
|
||||
@@ -15535,8 +15535,12 @@ Partial Class Compras_Compras
|
||||
Else
|
||||
|
||||
If UsuarioActual.CveEmpresa.Contiene({4, 7, 11, 12, 145}) Then
|
||||
RegistraScript("$('#ModalPesos').modal('show');")
|
||||
TxtConvertirPesos.Text = If(TipoCambio > 0, TipoCambio, GlobalTipoCambio(TxtFecha.Text.ToDate)).ToString.FormatoNumero
|
||||
|
||||
If CveMoneda > 1 AndAlso TipoCambio > 1 Then
|
||||
RegistraScript("$('#ModalPesos').modal('show');")
|
||||
TxtConvertirPesos.Text = If(TipoCambio > 0, TipoCambio, GlobalTipoCambio(TxtFecha.Text.ToDate)).ToString.FormatoNumero
|
||||
End If
|
||||
|
||||
End If
|
||||
|
||||
TipoCambio = 1
|
||||
|
||||
@@ -376,7 +376,7 @@
|
||||
<div class="text-right porcentajelabel">
|
||||
<asp:Label ID="LblPorcentaje" CssClass="LblPorcentaje" runat="server" Text="0"></asp:Label>%
|
||||
</div>
|
||||
<div class="DivAvance">
|
||||
<div class="DivAvance" runat="server" id="DivAvance">
|
||||
<asp:Label runat="server" CssClass="labelitem" AssociatedControlID="TxtAvance">Avance:</asp:Label>
|
||||
<asp:TextBox ID="TxtAvance" runat="server" CssClass="form-control TxtAvance" CausesValidation="true"></asp:TextBox>
|
||||
<div class="Avancereadonly"></div>
|
||||
|
||||
@@ -30,6 +30,9 @@ public partial class OI_TareaDetalle : ClsPaginas
|
||||
public const string iddivAgregarTema = "divModalAgregartema";
|
||||
public const string iddivCambiarEstatus = "divModalCambiarEstatus";
|
||||
public int RCveEvento { get { return ViewState["RCveEvento"] != null ? ViewState["RCveEvento"].ToString().ToEntero() : 0; } set { ViewState["RCveEvento"] = value; } }
|
||||
|
||||
public int CveTipoEvento { get { return ViewState["CveTipoEvento"] != null ? ViewState["CveTipoEvento"].ToString().ToEntero() : 0; } set { ViewState["CveTipoEvento"] = value; } }
|
||||
|
||||
public int CveEventoEstatus { get { return ViewState["CveEventoEstatus"] != null ? ViewState["CveEventoEstatus"].ToString().ToEntero() : 0; } set { ViewState["CveEventoEstatus"] = value; } }
|
||||
public int Folio { get { return ViewState["Folio"] != null ? ViewState["Folio"].ToString().ToEntero() : 0; } set { ViewState["Folio"] = value; } }
|
||||
public decimal Avance { get { return ViewState["Avance"] != null ? ViewState["Avance"].ToString().ToEntero() : 0; } set { ViewState["Avance"] = value; } }
|
||||
@@ -473,6 +476,14 @@ public partial class OI_TareaDetalle : ClsPaginas
|
||||
int CveSubProyecto = drow["CveSubProyecto"].ToString().ToEntero();
|
||||
int CveMovimientoAlmacen = drow["CveMovimientoAlmacen"].ToString().ToEntero();
|
||||
|
||||
CveTipoEvento = drow["CveTipoEvento"].ToString().ToEntero();
|
||||
|
||||
|
||||
if(CveTipoEvento == 3)
|
||||
{
|
||||
DivAvance.Visible = false;
|
||||
}
|
||||
|
||||
//int = drow[""].ToString().ToEntero();
|
||||
|
||||
string titulo = "";
|
||||
|
||||
Reference in New Issue
Block a user