Documentacion ajsutes, rep ingresos
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<%@ Page Title="RH - Catálogo de Documentos" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="CatDocumentos.aspx.vb" Inherits="RH_CatDocumentos" %>
|
<%@ Page Title="Catálogo de Documentos" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="CatDocumentos.aspx.vb" Inherits="RH_CatDocumentos" %>
|
||||||
|
|
||||||
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
|
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
|
||||||
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
|
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
|
||||||
|
|||||||
@@ -230,7 +230,7 @@
|
|||||||
<div class="modal-header ">
|
<div class="modal-header ">
|
||||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
<button type="button" class="close" data-dismiss="modal">×</button>
|
||||||
<h4 class="modal-title">
|
<h4 class="modal-title">
|
||||||
<asp:Literal ID="Literal1" runat="server">Tipo contrato</asp:Literal></h4>
|
<asp:Literal ID="Literal1" runat="server">Representante Legal</asp:Literal></h4>
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
|
|
||||||
|
|||||||
@@ -72,6 +72,7 @@ Partial Class Proveedores_Contratos
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
ObjProveedor.Dispose()
|
ObjProveedor.Dispose()
|
||||||
|
|
||||||
DdlTipoContrato.DataBind()
|
DdlTipoContrato.DataBind()
|
||||||
|
|
||||||
DdlTipoContrato.Items.Insert(0, New ListItem("Seleccione", "-1"))
|
DdlTipoContrato.Items.Insert(0, New ListItem("Seleccione", "-1"))
|
||||||
@@ -163,6 +164,7 @@ Partial Class Proveedores_Contratos
|
|||||||
If Not ErrorProceso Then
|
If Not ErrorProceso Then
|
||||||
|
|
||||||
ObjProv.Commit()
|
ObjProv.Commit()
|
||||||
|
ObjProv.Dispose()
|
||||||
|
|
||||||
If CveContrato > 0 Then
|
If CveContrato > 0 Then
|
||||||
Alert("Contrato Actualizado Correctamente.")
|
Alert("Contrato Actualizado Correctamente.")
|
||||||
@@ -177,9 +179,11 @@ Partial Class Proveedores_Contratos
|
|||||||
Else
|
Else
|
||||||
|
|
||||||
ObjProv.RollBack()
|
ObjProv.RollBack()
|
||||||
|
ObjProv.Dispose()
|
||||||
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
ObjProv.Dispose()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -198,12 +202,14 @@ Partial Class Proveedores_Contratos
|
|||||||
ErrorProceso = True
|
ErrorProceso = True
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
ObjProv.Dispose()
|
||||||
|
|
||||||
If Not ErrorProceso Then
|
If Not ErrorProceso Then
|
||||||
CargaDatos()
|
CargaDatos()
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|
||||||
ObjProv.Dispose()
|
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
Protected Sub BtnCatRepresentantes_Click(sender As Object, e As EventArgs)
|
Protected Sub BtnCatRepresentantes_Click(sender As Object, e As EventArgs)
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
</asp:Content>
|
</asp:Content>
|
||||||
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
|
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
|
||||||
<style>
|
<style>
|
||||||
.btnopaco {
|
.btnopaco {
|
||||||
background-color: rgba(0,0,0,0.2);
|
background-color: rgba(0,0,0,0.2);
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
}
|
}
|
||||||
@@ -91,7 +91,7 @@
|
|||||||
<asp:CheckBox ID="chkexpand" CssClass="hidden" runat="server" />
|
<asp:CheckBox ID="chkexpand" CssClass="hidden" runat="server" />
|
||||||
</div>
|
</div>
|
||||||
<div class="titlefiltros caption ">
|
<div class="titlefiltros caption ">
|
||||||
<div class="row " style="height: 32px;" >
|
<div class="row " style="height: 32px;">
|
||||||
<div class="col-md-1 lbltitle">
|
<div class="col-md-1 lbltitle">
|
||||||
<asp:Label runat="server" Text="Fecha Inicio" AssociatedControlID="TxtFechaInicio"></asp:Label>
|
<asp:Label runat="server" Text="Fecha Inicio" AssociatedControlID="TxtFechaInicio"></asp:Label>
|
||||||
</div>
|
</div>
|
||||||
@@ -121,20 +121,33 @@
|
|||||||
<div class="col-md-1 lbltitle">
|
<div class="col-md-1 lbltitle">
|
||||||
<asp:Label runat="server" Text="Tipo" AssociatedControlID="DdlTipoDocto"></asp:Label>
|
<asp:Label runat="server" Text="Tipo" AssociatedControlID="DdlTipoDocto"></asp:Label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-1">
|
|
||||||
<asp:DropDownList ID="DdlTipoDocto" runat="server" AppendDataBoundItems="true" CssClass="form-control input-small input-sm select2me" Width="100%">
|
<div class="col-md-2">
|
||||||
|
|
||||||
|
|
||||||
|
<asp:ListBox ID="DdlTipoDocto" data-text="Todos" SelectionMode="Multiple" CssClass="form-control ddlFiltros input-sm select2me Widthall" Style="width: 100%;" runat="server">
|
||||||
|
<asp:ListItem Text="Todos" Value="-1"></asp:ListItem>
|
||||||
|
<asp:ListItem Value="Ant" Text="Anticipos"></asp:ListItem>
|
||||||
|
<asp:ListItem Value="Dev" Text="Devolución"></asp:ListItem>
|
||||||
|
<asp:ListItem Value="Egs" Text="Egresos"></asp:ListItem>
|
||||||
|
<asp:ListItem Value="Ing" Text="Ingresos"></asp:ListItem>
|
||||||
|
</asp:ListBox>
|
||||||
|
|
||||||
|
|
||||||
|
<%-- <asp:DropDownList ID="DdlTipoDocto" runat="server" AppendDataBoundItems="true" CssClass="form-control input-small input-sm select2me" Width="100%">
|
||||||
<asp:ListItem Selected="True" Text="Todos" Value="-1"></asp:ListItem>
|
<asp:ListItem Selected="True" Text="Todos" Value="-1"></asp:ListItem>
|
||||||
<asp:ListItem Value="Ant" Text="Anticipos"></asp:ListItem>
|
<asp:ListItem Value="Ant" Text="Anticipos"></asp:ListItem>
|
||||||
<asp:ListItem Value="Dev" Text="Devolución"></asp:ListItem>
|
<asp:ListItem Value="Dev" Text="Devolución"></asp:ListItem>
|
||||||
<asp:ListItem Value="Egs" Text="Egresos"></asp:ListItem>
|
<asp:ListItem Value="Egs" Text="Egresos"></asp:ListItem>
|
||||||
<asp:ListItem Value="Ing" Text="Ingresos"></asp:ListItem>
|
<asp:ListItem Value="Ing" Text="Ingresos"></asp:ListItem>
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>--%>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-1 lbltitle ">
|
<div class="col-md-1 lbltitle ">
|
||||||
<asp:Label runat="server" Text="Sub Proyecto" AssociatedControlID="DdlSubProyecto"></asp:Label>
|
<asp:Label runat="server" Text="Sub Proyecto" AssociatedControlID="DdlSubProyecto"></asp:Label>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-2" >
|
<div class="col-md-2">
|
||||||
<%-- <asp:DropDownList ID="DdlSubProyecto" runat="server" AppendDataBoundItems="true" CssClass="form-control input-small input-sm select2me" Width="100%" DataTextField="SubProyecto" DataValueField="CveSubProyecto">
|
<%-- <asp:DropDownList ID="DdlSubProyecto" runat="server" AppendDataBoundItems="true" CssClass="form-control input-small input-sm select2me" Width="100%" DataTextField="SubProyecto" DataValueField="CveSubProyecto">
|
||||||
<asp:ListItem Selected="True" Text="Todos" Value="-1"></asp:ListItem>
|
<asp:ListItem Selected="True" Text="Todos" Value="-1"></asp:ListItem>
|
||||||
</asp:DropDownList>--%>
|
</asp:DropDownList>--%>
|
||||||
|
|
||||||
|
|||||||
@@ -84,11 +84,13 @@ Partial Class Ventas_RepIngresos
|
|||||||
|
|
||||||
Protected Sub CargaRepIngresos(Optional tipoReporte As Integer = -1)
|
Protected Sub CargaRepIngresos(Optional tipoReporte As Integer = -1)
|
||||||
Dim ObjRepI As New ClsVentas()
|
Dim ObjRepI As New ClsVentas()
|
||||||
|
|
||||||
Dim Cves_Subprotectos As String = If(DdlSubProyecto.GetSelectedValuesM = "", "-1", DdlSubProyecto.GetSelectedValuesM)
|
Dim Cves_Subprotectos As String = If(DdlSubProyecto.GetSelectedValuesM = "", "-1", DdlSubProyecto.GetSelectedValuesM)
|
||||||
|
Dim TiposDoc As String = If(DdlTipoDocto.GetSelectedValuesM = "", "-1", DdlTipoDocto.GetSelectedValuesM)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ObjRepI.RepIngresos(UsuarioActual.CveEmpresa, If(RsFechaI = "-1", MinFecha, RsFechaI.ToDate), If(RsFechaF = "-1", MaxFecha, RsFechaF.ToDate), TipoDoc, Cves_Subprotectos)
|
ObjRepI.RepIngresos(UsuarioActual.CveEmpresa, If(RsFechaI = "-1", MinFecha, RsFechaI.ToDate), If(RsFechaF = "-1", MaxFecha, RsFechaF.ToDate), TiposDoc, Cves_Subprotectos)
|
||||||
GVRepIngresos.DataSource = ObjRepI.DtResultados
|
GVRepIngresos.DataSource = ObjRepI.DtResultados
|
||||||
DtDatos = ObjRepI.DtResultados
|
DtDatos = ObjRepI.DtResultados
|
||||||
ObjRepI.Dispose()
|
ObjRepI.Dispose()
|
||||||
|
|||||||
@@ -17,6 +17,8 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Service ID="{C0C07587-41A7-46C8-8FBD-3F9C8EBE2DDC}"/>
|
<Service ID="{C0C07587-41A7-46C8-8FBD-3F9C8EBE2DDC}"/>
|
||||||
</StartupServices>
|
</StartupServices>
|
||||||
</VisualWebDeveloper>
|
</VisualWebDeveloper>
|
||||||
Reference in New Issue
Block a user