This commit is contained in:
@@ -1060,15 +1060,20 @@ Partial Class RH_Personal
|
||||
If (objrh.AgroDepartamentosGet(UsuarioActual.CveEmpresa, -1, -1)) Then
|
||||
Dim dt As DataTable = objrh.DtResultados.FiltraParametros(String.Format("CveSubProyecto ={0}", DdlSubProyectoAsignado.SelectedValue), "", {"CveTipoTrabajador", "TipoTrabajadorB"})
|
||||
Dim drow As DataRow = dt.NewRow()
|
||||
drow("CveTipoTrabajador") = "-1"
|
||||
drow("TipoTrabajadorB") = "Seleccione"
|
||||
If UsuarioActual.CveEmpresa <> 158 Then
|
||||
drow = dt.NewRow()
|
||||
drow("CveTipoTrabajador") = "2"
|
||||
drow("TipoTrabajadorB") = "Operativo"
|
||||
dt.Rows.InsertAt(drow, 0)
|
||||
drow = dt.NewRow()
|
||||
drow("CveTipoTrabajador") = "3"
|
||||
drow("TipoTrabajadorB") = "Administrativo"
|
||||
dt.Rows.InsertAt(drow, 0)
|
||||
|
||||
End If
|
||||
drow = dt.NewRow()
|
||||
drow("CveTipoTrabajador") = "-1"
|
||||
drow("TipoTrabajadorB") = "Seleccione"
|
||||
dt.Rows.InsertAt(drow, 0)
|
||||
If DdlTipoTrabajador.Items.Count() > 0 Then
|
||||
DdlTipoTrabajador.SelectedValueExist("-1")
|
||||
|
||||
@@ -1,75 +0,0 @@
|
||||
<%@ Page Title="RH - Cumpleañeros" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="RepCumpleaneros.aspx.vb" Inherits="RH_RepCumpleaneros" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content3" ContentPlaceHolderID="HB" runat="Server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content4" ContentPlaceHolderID="E" runat="Server">
|
||||
Cumpleañeros del Mes de
|
||||
<asp:Literal ID="LtlMes" runat="server"></asp:Literal>
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content6" ContentPlaceHolderID="C" runat="Server">
|
||||
<asp:UpdatePanel ID="UpTitulos" runat="server" UpdateMode="Conditional">
|
||||
<ContentTemplate>
|
||||
<table class="table table-striped table-advance table-hover">
|
||||
<thead>
|
||||
<tr class="Titulos">
|
||||
<th width="250px">
|
||||
<asp:LinkButton ID="LbDepartamento" runat="server" CausesValidation="false" Text="" CommandArgument="Departamento" OnClick="LbOrden_Click">
|
||||
Departamento
|
||||
<asp:Literal ID="ImgDepartamento" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||
</asp:LinkButton></th>
|
||||
<th width="100px">
|
||||
<asp:LinkButton ID="LbEstado" runat="server" CausesValidation="false" Text="" CommandArgument="Estatus" OnClick="LbOrden_Click">
|
||||
Estado
|
||||
<asp:Literal ID="ImgEstatus" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||
</asp:LinkButton></th>
|
||||
<th width="100px">
|
||||
<asp:LinkButton ID="LbFecha" runat="server" CausesValidation="false" Text="" CommandArgument="FechaIng" OnClick="LbOrden_Click">
|
||||
Fecha
|
||||
<asp:Literal ID="ImgFechaIng" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||
</asp:LinkButton></th>
|
||||
<th width="100px">
|
||||
<asp:LinkButton ID="LbUsuario" runat="server" CausesValidation="false" Text="" CommandArgument="Usuario" OnClick="LbOrden_Click">
|
||||
Usuario
|
||||
<asp:Literal ID="ImgUsuario" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
||||
</asp:LinkButton></th>
|
||||
<th width="155px">Comandos</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
</table>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
<asp:UpdatePanel ID="UpDatos" runat="server" UpdateMode="Conditional">
|
||||
<ContentTemplate>
|
||||
<asp:GridView ID="GvDatos" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Departamentos Registrados">
|
||||
<Columns>
|
||||
<asp:TemplateField>
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlDepartamento" runat="server" Text='<%# Eval("Departamento", "{0}") %>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField>
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlEstado" runat="server" Text='<%# Eval("Estatus") %>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField>
|
||||
<ItemTemplate>
|
||||
<asp:Literal ID="LtlFecha" runat="server" Text='<%# Eval("FechaIng", "{0:d}") %>'></asp:Literal>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
<RowStyle CssClass="Texto" />
|
||||
<AlternatingRowStyle CssClass="TextoAlterno" />
|
||||
</asp:GridView>
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content7" ContentPlaceHolderID="JS" runat="Server">
|
||||
</asp:Content>
|
||||
@@ -1,9 +0,0 @@
|
||||
|
||||
Partial Class RH_RepCumpleaneros
|
||||
Inherits System.Web.UI.Page
|
||||
|
||||
|
||||
Protected Sub LbOrden_Click(sender As Object, e As EventArgs)
|
||||
|
||||
End Sub
|
||||
End Class
|
||||
Reference in New Issue
Block a user