Campos agregados de Cargo Usado y Bonificacion Usado
This commit is contained in:
@@ -162,6 +162,9 @@ Public Class ClsClientes
|
|||||||
Public Property Nombres As String
|
Public Property Nombres As String
|
||||||
Public Property RequiereOC As Boolean
|
Public Property RequiereOC As Boolean
|
||||||
|
|
||||||
|
Public Property CargoUsados As Boolean
|
||||||
|
Public Property BonificacionUsado As Boolean
|
||||||
|
|
||||||
|
|
||||||
Public ReadOnly Property DtResultados() As DataTable
|
Public ReadOnly Property DtResultados() As DataTable
|
||||||
Get
|
Get
|
||||||
@@ -417,6 +420,8 @@ Public Class ClsClientes
|
|||||||
_ApellidoMaterno = Data(0)("ApellidoMaterno").ToString
|
_ApellidoMaterno = Data(0)("ApellidoMaterno").ToString
|
||||||
_Nombres = Data(0)("Nombres").ToString
|
_Nombres = Data(0)("Nombres").ToString
|
||||||
_RequiereOC = CBool(Data(0)("RequiereOC"))
|
_RequiereOC = CBool(Data(0)("RequiereOC"))
|
||||||
|
_CargoUsados = CBool(Data(0)("CargoUsado"))
|
||||||
|
_BonificacionUsado = CBool(Data(0)("BonificacionUsado"))
|
||||||
|
|
||||||
End If
|
End If
|
||||||
Retorno = True
|
Retorno = True
|
||||||
|
|||||||
@@ -330,9 +330,10 @@
|
|||||||
<div class="form-group form-md-line-input input-iconright">
|
<div class="form-group form-md-line-input input-iconright">
|
||||||
<asp:DropDownList ID="DdlTipoEstatus" runat="server" CssClass="form-control select2me js-Impuesto-programmatic" Width="100%">
|
<asp:DropDownList ID="DdlTipoEstatus" runat="server" CssClass="form-control select2me js-Impuesto-programmatic" Width="100%">
|
||||||
<asp:ListItem Value="1" Text="Inicial"></asp:ListItem>
|
<asp:ListItem Value="1" Text="Inicial"></asp:ListItem>
|
||||||
<asp:ListItem Value="2" Text="Proceso"></asp:ListItem>
|
<asp:ListItem Value="2" Text="Asignación"></asp:ListItem>
|
||||||
<asp:ListItem Value="3" Text="Terminada"></asp:ListItem>
|
<asp:ListItem Value="3" Text="Proceso"></asp:ListItem>
|
||||||
<asp:ListItem Value="4" Text="Cancelada"></asp:ListItem>
|
<asp:ListItem Value="4" Text="Terminada"></asp:ListItem>
|
||||||
|
<asp:ListItem Value="5" Text="Cancelada"></asp:ListItem>
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
<label for="<%= DdlTipoEstatus.ClientID.ToString()%>">Tipo Estatus:</label>
|
<label for="<%= DdlTipoEstatus.ClientID.ToString()%>">Tipo Estatus:</label>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -400,6 +400,44 @@ Partial Class Clientes
|
|||||||
ViewState("DtPagos") = value
|
ViewState("DtPagos") = value
|
||||||
End Set
|
End Set
|
||||||
End Property
|
End Property
|
||||||
|
'Private Property EstatusAnteriorCliente As Boolean
|
||||||
|
' Get
|
||||||
|
' If ViewState("EstatusAnteriorCliente") Is Nothing Then
|
||||||
|
' Return True
|
||||||
|
' Else
|
||||||
|
' Return Boolean.Parse(ViewState("EstatusAnteriorCliente").ToString)
|
||||||
|
' End If
|
||||||
|
' End Get
|
||||||
|
' Set(value As Boolean)
|
||||||
|
' ViewState("EstatusAnteriorCliente") = value
|
||||||
|
' End Set
|
||||||
|
'End Property
|
||||||
|
|
||||||
|
Private Property CargoUsado As Boolean
|
||||||
|
Get
|
||||||
|
If ViewState("CargoUsado") Is Nothing Then
|
||||||
|
Return True
|
||||||
|
Else
|
||||||
|
Return Boolean.Parse(ViewState("CargoUsado").ToString)
|
||||||
|
End If
|
||||||
|
End Get
|
||||||
|
Set(value As Boolean)
|
||||||
|
ViewState("CargoUsado") = value
|
||||||
|
End Set
|
||||||
|
End Property
|
||||||
|
|
||||||
|
Private Property BonificacionUsado As Boolean
|
||||||
|
Get
|
||||||
|
If ViewState("BonificacionUsado") Is Nothing Then
|
||||||
|
Return True
|
||||||
|
Else
|
||||||
|
Return Boolean.Parse(ViewState("BonificacionUsado").ToString)
|
||||||
|
End If
|
||||||
|
End Get
|
||||||
|
Set(value As Boolean)
|
||||||
|
ViewState("BonificacionUsado") = value
|
||||||
|
End Set
|
||||||
|
End Property
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region "Documentacion"
|
#Region "Documentacion"
|
||||||
@@ -1372,7 +1410,8 @@ Partial Class Clientes
|
|||||||
|
|
||||||
ChkDesglosarIEPS.Checked = ObjClientes.DesglosaIEPS
|
ChkDesglosarIEPS.Checked = ObjClientes.DesglosaIEPS
|
||||||
DdlCorporativo.SelectedValueExist(ObjClientes.CveClienteCorporativo.ToString)
|
DdlCorporativo.SelectedValueExist(ObjClientes.CveClienteCorporativo.ToString)
|
||||||
|
ChkCargoUsado.Checked = ObjClientes.CargoUsados
|
||||||
|
ChkBonificacionUsado.Checked = ObjClientes.BonificacionUsado
|
||||||
'COMERCIO EXTERIOR
|
'COMERCIO EXTERIOR
|
||||||
ChkAplicaComercioExterior.Checked = ObjClientes.AplicaComercioExterior
|
ChkAplicaComercioExterior.Checked = ObjClientes.AplicaComercioExterior
|
||||||
DdlTipoOperacion.SelectedValueExist(ObjClientes.CveTipoOperacion)
|
DdlTipoOperacion.SelectedValueExist(ObjClientes.CveTipoOperacion)
|
||||||
|
|||||||
Reference in New Issue
Block a user