Compras Emp 13,83 validación registro de compra sin xml, OC solo mosrtar Proveedores activos, clientes Abonar correción tamaños txt fecha de emisión Grupo Díaz
This commit is contained in:
@@ -811,6 +811,19 @@ Public Class SIGWeb : Implements IHttpHandler, IRequiresSessionState
|
|||||||
Dim retorno As String = ""
|
Dim retorno As String = ""
|
||||||
Dim DtRetorno As DataTable = Nothing
|
Dim DtRetorno As DataTable = Nothing
|
||||||
|
|
||||||
|
Dim Estatus = IfNull(context.Request("estatus"), "-1").ToString.ToEntero
|
||||||
|
|
||||||
|
Dim filtro As String = ""
|
||||||
|
|
||||||
|
If Estatus = 1 Then
|
||||||
|
filtro = " Estatus = 'Activo' "
|
||||||
|
End If
|
||||||
|
|
||||||
|
If Estatus = 0 Then
|
||||||
|
filtro = " Estatus = 'Inactivo' "
|
||||||
|
End If
|
||||||
|
|
||||||
|
|
||||||
Dim usuario As Usuario = UsuarioActual(context)
|
Dim usuario As Usuario = UsuarioActual(context)
|
||||||
Dim CveEmpresa As Integer
|
Dim CveEmpresa As Integer
|
||||||
If IsNothing(usuario) Then
|
If IsNothing(usuario) Then
|
||||||
@@ -819,7 +832,7 @@ Public Class SIGWeb : Implements IHttpHandler, IRequiresSessionState
|
|||||||
CveEmpresa = usuario.CveEmpresa
|
CveEmpresa = usuario.CveEmpresa
|
||||||
Dim Name = IfNull(context.Request("Name"), "-1").ToString
|
Dim Name = IfNull(context.Request("Name"), "-1").ToString
|
||||||
|
|
||||||
Dim dt As DataTable = ClsPaginas.GlobalDTCompProveedores(CveEmpresa)
|
Dim dt As DataTable = ClsPaginas.GlobalDTCompProveedores(CveEmpresa).FiltraParametros(filtro)
|
||||||
If dt IsNot Nothing AndAlso dt.Rows.Count > 0 Then
|
If dt IsNot Nothing AndAlso dt.Rows.Count > 0 Then
|
||||||
DtRetorno = dt.FiltraParametros(String.Format("NombreCortoProveedor like '%{0}%'", Name))
|
DtRetorno = dt.FiltraParametros(String.Format("NombreCortoProveedor like '%{0}%'", Name))
|
||||||
End If
|
End If
|
||||||
|
|||||||
@@ -7,6 +7,10 @@
|
|||||||
.row {
|
.row {
|
||||||
margin: 0 -10px;
|
margin: 0 -10px;
|
||||||
}
|
}
|
||||||
|
.calendar-extender-popup {
|
||||||
|
position: absolute;
|
||||||
|
z-index: 10000; /* Asegura que se muestre sobre otros elementos */
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
<asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server">
|
<asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server">
|
||||||
@@ -548,7 +552,7 @@
|
|||||||
<table>
|
<table>
|
||||||
<td style="white-space: nowrap;">Fecha Emisión:</td>
|
<td style="white-space: nowrap;">Fecha Emisión:</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="input-group input-small date date-picker" data-date-format="dd/mm/yyyy">
|
<div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style="width: 100px !important; padding: 0px;">
|
||||||
<asp:TextBox ID="TxtFechaEmision" runat="server" CssClass="form-control"></asp:TextBox>
|
<asp:TextBox ID="TxtFechaEmision" runat="server" CssClass="form-control"></asp:TextBox>
|
||||||
<span class="input-group-btn ">
|
<span class="input-group-btn ">
|
||||||
<asp:LinkButton runat="server" ID="LnkImgTxtFechaEmision" class="btn default"><i class="fa fa-calendar"></i></asp:LinkButton>
|
<asp:LinkButton runat="server" ID="LnkImgTxtFechaEmision" class="btn default"><i class="fa fa-calendar"></i></asp:LinkButton>
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ Imports System.Xml
|
|||||||
Imports System.Diagnostics
|
Imports System.Diagnostics
|
||||||
Imports System.Globalization
|
Imports System.Globalization
|
||||||
Imports System.IO
|
Imports System.IO
|
||||||
|
Imports System.IO
|
||||||
Imports System.Threading.Tasks
|
Imports System.Threading.Tasks
|
||||||
Imports Newtonsoft.Json
|
Imports Newtonsoft.Json
|
||||||
Imports Extensiones
|
Imports Extensiones
|
||||||
@@ -11736,11 +11737,11 @@ Partial Class Compras_Compras
|
|||||||
Protected Sub RBLPago_SelectedIndexChanged(sender As Object, e As EventArgs) Handles RBLPago.SelectedIndexChanged
|
Protected Sub RBLPago_SelectedIndexChanged(sender As Object, e As EventArgs) Handles RBLPago.SelectedIndexChanged
|
||||||
CambiaTipoPago(True)
|
CambiaTipoPago(True)
|
||||||
|
|
||||||
ValidaPagoSinXML()
|
ValidaRegistroSinXML()
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub ValidaPagoSinXML()
|
Private Sub ValidaRegistroSinXML()
|
||||||
|
|
||||||
If CveFactura <= 0 And CveCompra <= 0 Then
|
If CveFactura <= 0 And CveCompra <= 0 Then
|
||||||
|
|
||||||
|
|||||||
@@ -2006,20 +2006,23 @@ Partial Class OC_OC
|
|||||||
If UsuarioActual.Empresa.Funcionalidad(105) = "1" Then
|
If UsuarioActual.Empresa.Funcionalidad(105) = "1" Then
|
||||||
DdlProveedores.setEsWebService(True)
|
DdlProveedores.setEsWebService(True)
|
||||||
DdlProveedores.Attributes.Add("data-metodo", "getproveedores")
|
DdlProveedores.Attributes.Add("data-metodo", "getproveedores")
|
||||||
|
DdlProveedores.Attributes.Add("data-estatus", "1")
|
||||||
DdlProveedores.SelectedText = "Seleccione"
|
DdlProveedores.SelectedText = "Seleccione"
|
||||||
DdlProveedores.SelectedValue = "-1"
|
DdlProveedores.SelectedValue = "-1"
|
||||||
DdlProveedores.ddl.AutoPostBack = True
|
DdlProveedores.ddl.AutoPostBack = True
|
||||||
|
|
||||||
DdlProveedorCot.setEsWebService(True)
|
DdlProveedorCot.setEsWebService(True)
|
||||||
DdlProveedorCot.Attributes.Add("data-metodo", "getproveedores")
|
DdlProveedorCot.Attributes.Add("data-metodo", "getproveedores")
|
||||||
|
DdlProveedorCot.Attributes.Add("data-estatus", "1")
|
||||||
|
|
||||||
Else
|
Else
|
||||||
|
|
||||||
DdlProveedores.DataSource = GlobalDTCompProveedores(CveEmpresaActual)
|
DdlProveedores.DataSource = GlobalDTCompProveedores(CveEmpresaActual).FiltraParametros(" Estatus = 'Activo' ")
|
||||||
DdlProveedores.DataBind()
|
DdlProveedores.DataBind()
|
||||||
DdlProveedores.ddl.Items.Insert(0, New ListItem("Seleccione", "-1"))
|
DdlProveedores.ddl.Items.Insert(0, New ListItem("Seleccione", "-1"))
|
||||||
DdlProveedores.ddl.AutoPostBack = True
|
DdlProveedores.ddl.AutoPostBack = True
|
||||||
|
|
||||||
DdlProveedorCot.DataSource = GlobalDTCompProveedores(CveEmpresaActual)
|
DdlProveedorCot.DataSource = GlobalDTCompProveedores(CveEmpresaActual).FiltraParametros(" Estatus = 'Activo' ")
|
||||||
DdlProveedorCot.DataBind()
|
DdlProveedorCot.DataBind()
|
||||||
DdlProveedorCot.ddl.Items.Insert(0, New ListItem("Seleccione", "-1"))
|
DdlProveedorCot.ddl.Items.Insert(0, New ListItem("Seleccione", "-1"))
|
||||||
|
|
||||||
|
|||||||
@@ -339,14 +339,14 @@
|
|||||||
<br />
|
<br />
|
||||||
<asp:Label ID="LblValidaCeuntaTipoTransaccion" runat="server" Visible="false" ForeColor="Red"></asp:Label>
|
<asp:Label ID="LblValidaCeuntaTipoTransaccion" runat="server" Visible="false" ForeColor="Red"></asp:Label>
|
||||||
</td>
|
</td>
|
||||||
<td style="text-align: left; width: 15%">
|
<td style="text-align: left; width: 14%">
|
||||||
|
|
||||||
<div runat="server" id="DvFechaEmision" visible="false">
|
<div runat="server" id="DvFechaEmision" visible="false">
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<td style="white-space: nowrap;">Fecha Emisión:</td>
|
<td style="white-space: nowrap;">Fecha Emisión:</td>
|
||||||
<td>
|
<td>
|
||||||
<div class="input-group input-small date date-picker" data-date-format="dd/mm/yyyy">
|
<div class="input-group input-sm input-small date date-picker " data-date-format="dd/mm/yyyy" style="width: 100px !important; padding: 0px;">
|
||||||
<asp:TextBox ID="TxtFechaEmision" runat="server" CssClass="form-control"></asp:TextBox>
|
<asp:TextBox ID="TxtFechaEmision" runat="server" CssClass="form-control"></asp:TextBox>
|
||||||
<span class="input-group-btn ">
|
<span class="input-group-btn ">
|
||||||
<asp:LinkButton runat="server" ID="LnkImgTxtFechaEmision" class="btn default"><i class="fa fa-calendar"></i></asp:LinkButton>
|
<asp:LinkButton runat="server" ID="LnkImgTxtFechaEmision" class="btn default"><i class="fa fa-calendar"></i></asp:LinkButton>
|
||||||
|
|||||||
Reference in New Issue
Block a user