+- filtrad de PPD/PUE ,solo sus datos y mejora en usocfdi
This commit is contained in:
@@ -1107,7 +1107,7 @@
|
|||||||
<span class="caption-subject bold uppercase">CFDI Versión</span>
|
<span class="caption-subject bold uppercase">CFDI Versión</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group form-md-line-input input-iconright">
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<asp:DropDownList ID="DdlUsoCFDI" CssClass="form-control select2me" runat="server" Width="250" AppendDataBoundItems="true" CausesValidation="true" DataTextField="UsoCFDIDescripcion" DataValueField="CveUsoCFDI" ValidationGroup="GrpGuardar">
|
<asp:DropDownList ID="DdlUsoCFDI" CssClass="form-control select2me" runat="server" Width="250" AppendDataBoundItems="false" CausesValidation="true" DataTextField="UsoCFDIDescripcion" DataValueField="CveUsoCFDI" ValidationGroup="GrpGuardar">
|
||||||
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
|
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
<label for="<%= DdlUsoCFDI.ClientID.ToString()%>">Uso CFDI:</label>
|
<label for="<%= DdlUsoCFDI.ClientID.ToString()%>">Uso CFDI:</label>
|
||||||
@@ -1116,7 +1116,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group form-md-line-input input-iconright">
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<asp:DropDownList ID="DdlMetodoPago33" CssClass="form-control select2me" runat="server" Width="250" AppendDataBoundItems="true" CausesValidation="true" DataTextField="MetodoPagoSAT" DataValueField="CveMetodoPago" ValidationGroup="GrpGuardar" AutoPostBack="true"
|
<asp:DropDownList ID="DdlMetodoPago33" CssClass="form-control select2me" runat="server" Width="250" AppendDataBoundItems="true" CausesValidation="true" DataTextField="MetodoPagoSAT" DataValueField="CveMetodoPago" AutoPostBack="true"
|
||||||
OnSelectedIndexChanged="DdlMetodoPago33_SelectedIndexChanged">
|
OnSelectedIndexChanged="DdlMetodoPago33_SelectedIndexChanged">
|
||||||
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
|
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
@@ -1124,7 +1124,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group form-md-line-input input-iconright">
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<asp:DropDownList ID="DdlFormaPago33" CssClass="form-control select2me" runat="server" Width="250" AppendDataBoundItems="true" CausesValidation="true" DataTextField="FormaPagoSAT" DataValueField="CveFormaPago" ValidationGroup="GrpGuardar">
|
<asp:DropDownList ID="DdlFormaPago33" CssClass="form-control select2me" runat="server" Width="250" AppendDataBoundItems="true" CausesValidation="true" DataTextField="FormaPagoSAT" DataValueField="CveFormaPago">
|
||||||
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
|
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
<label for="<%= DdlFormaPago33.ClientID.ToString()%>">Forma Pago:</label>
|
<label for="<%= DdlFormaPago33.ClientID.ToString()%>">Forma Pago:</label>
|
||||||
|
|||||||
@@ -2077,16 +2077,9 @@ Partial Class Clientes
|
|||||||
|
|
||||||
DdlUsoCFDI.SelectedIndex = -1
|
DdlUsoCFDI.SelectedIndex = -1
|
||||||
DdlUsoCFDI.Items.Clear()
|
DdlUsoCFDI.Items.Clear()
|
||||||
DdlUsoCFDI.ClearSelection()
|
|
||||||
Dim EsPersonaMoral As Boolean = (RdTipoPersona.SelectedValue = "1")
|
Dim EsPersonaMoral As Boolean = (RdTipoPersona.SelectedValue = "1")
|
||||||
DdlUsoCFDI.DataSource = GlobalDTSATUsosCFDI(If(Not EsPersonaMoral, 1, 0), RegimenFiscalReceptor:=RegimenFiscalCliente)
|
DdlUsoCFDI.DataSource = GlobalDTSATUsosCFDI(If(Not EsPersonaMoral, 1, 0), RegimenFiscalReceptor:=RegimenFiscalCliente)
|
||||||
DdlUsoCFDI.ClearSelection()
|
|
||||||
|
|
||||||
Try
|
|
||||||
DdlUsoCFDI.DataBind()
|
DdlUsoCFDI.DataBind()
|
||||||
Catch ex As Exception
|
|
||||||
|
|
||||||
End Try
|
|
||||||
|
|
||||||
DdlUsoCFDI.Items.Insert(0, New ListItem("Seleccione", "-1"))
|
DdlUsoCFDI.Items.Insert(0, New ListItem("Seleccione", "-1"))
|
||||||
If tcveuso > 0 Then DdlUsoCFDI.SelectedValueExist(tcveuso)
|
If tcveuso > 0 Then DdlUsoCFDI.SelectedValueExist(tcveuso)
|
||||||
|
|||||||
Reference in New Issue
Block a user