266 lines
13 KiB
Plaintext
266 lines
13 KiB
Plaintext
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="RepUnidades.aspx.vb" Inherits="GPS_RepUnidades" %>
|
|
|
|
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
|
|
<style>
|
|
.select2-selection__rendered {
|
|
margin-top: 0px;
|
|
height: 25px;
|
|
}
|
|
|
|
.dataTables_scrollBody table th {
|
|
padding: 0px !important;
|
|
padding-right: 4px !important;
|
|
padding-left: 4px !important;
|
|
}
|
|
|
|
.table-scrollable {
|
|
margin: 0px !important;
|
|
}
|
|
|
|
.dataTables_scrollFoot {
|
|
display: none;
|
|
}
|
|
|
|
.dataTables_scroll {
|
|
margin-bottom: 0px;
|
|
}
|
|
|
|
.table.dataTable {
|
|
margin-top: 0px !important;
|
|
}
|
|
|
|
.table table-striped table-hover dataTable no-footer {
|
|
margin-top: 0px !important;
|
|
}
|
|
|
|
.Excede {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.psagregar > div.comboxes {
|
|
display: inline-block;
|
|
width: 250px;
|
|
}
|
|
|
|
.psagregar > div.codigo input {
|
|
width: 79px;
|
|
}
|
|
|
|
.psagregar > div.codigo {
|
|
display: inline-block;
|
|
width: 80px;
|
|
}
|
|
|
|
.psagregar > div.codigo > input[type="submit"] {
|
|
display: none;
|
|
}
|
|
|
|
|
|
|
|
.widget-thumb {
|
|
padding: 15px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.widget-thumb.bordered {
|
|
border: 3px solid whitesmoke;
|
|
}
|
|
|
|
.widget-thumb .widget-thumb-heading {
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: #8e9daa;
|
|
margin: 0px 5px;
|
|
text-align: center;
|
|
}
|
|
|
|
.widget-thumb .widget-thumb-wrap {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.widget-thumb .widget-thumb-wrap .widget-thumb-icon {
|
|
float: left;
|
|
width: 60px;
|
|
height: 60px;
|
|
display: inline-block;
|
|
font-size: 20px;
|
|
line-height: 41px;
|
|
color: #fff;
|
|
text-align: center;
|
|
padding: 10px;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
.widget-thumb .widget-thumb-body {
|
|
overflow: hidden;
|
|
padding: 5px;
|
|
}
|
|
|
|
.widget-thumb .widget-thumb-body .widget-thumb-subtitle {
|
|
padding-top: 2px;
|
|
display: block;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
color: #8e9daa;
|
|
}
|
|
|
|
.widget-thumb .widget-thumb-body .widget-thumb-body-stat {
|
|
display: block;
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
color: #3e4f5e;
|
|
}
|
|
</style>
|
|
</asp:Content>
|
|
<asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server">
|
|
Reporte de Unidades
|
|
</asp:Content>
|
|
<asp:Content ID="Content4" ContentPlaceHolderID="HB" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content6" ContentPlaceHolderID="HA" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content7" ContentPlaceHolderID="C" runat="Server">
|
|
<asp:UpdatePanel ID="UPFiltros" runat="server" UpdateMode="Conditional">
|
|
<ContentTemplate>
|
|
<div class="portlet solid grey-cascade portlet-filter" style="">
|
|
<div class="portlet-title portlet-filterT smalltitle " style="">
|
|
<div class="tools">
|
|
<asp:Button ID="BtnConsultar" OnClick="BtnConsultar_Click" runat="server" ValidationGroup="GrpGuardar" Text="Consultar" class="btn btn-primary" />
|
|
</div>
|
|
<div class="titlefiltros caption" style="margin-top: -8px;">
|
|
<ul class="list-inline" style="font-size: 12px;">
|
|
<li>Empresa:
|
|
<asp:DropDownList ID="DdlEmpresa" runat="server" OnSelectedIndexChanged="DdlEmpresa_SelectedIndexChanged" AutoPostBack="true" Width="200px" DataTextField="Empresa" DataValueField="CveEmpresa" CssClass="form-control input-sm select2me">
|
|
</asp:DropDownList>
|
|
</li>
|
|
<li>Cliente:
|
|
<asp:DropDownList ID="DdlCliente" runat="server" Width="200px" DataTextField="Nombre" DataValueField="CveCliente" CssClass="form-control input-sm select2me">
|
|
</asp:DropDownList>
|
|
</li>
|
|
<li>Fecha Inicio:
|
|
|
|
<div class="input-group input-sm date date-picker " data-date-format="dd/mm/yyyy hh:mm" style="display: inline-block;">
|
|
<asp:TextBox ID="txtFechaI" runat="server" CssClass="form-control input-sm ADDateTimePicker" CausesValidation="true" MaxLength="18" Width="132px "></asp:TextBox>
|
|
</div>
|
|
</li>
|
|
<li>Fecha Fin:
|
|
|
|
<div class="input-group input-sm date date-picker " data-date-format="dd/mm/yyyy" style="display: inline-block;">
|
|
<asp:TextBox ID="txtFechaF" runat="server" CssClass="form-control input-sm ADDateTimePicker" CausesValidation="true" MaxLength="18" Width="132px "></asp:TextBox>
|
|
</div>
|
|
</li>
|
|
<li>Estatus:
|
|
<asp:DropDownList ID="DdlEstatus" runat="server" Width="100px" CssClass="form-control input-sm select2me">
|
|
<asp:ListItem Selected="True" Value="-1" Text="Todos"></asp:ListItem>
|
|
<asp:ListItem Value="1" Text="Activo"></asp:ListItem>
|
|
<asp:ListItem Value="0" Text="Inactivo"></asp:ListItem>
|
|
</asp:DropDownList>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
<asp:UpdatePanel ID="UpDatos" runat="server" UpdateMode="Conditional">
|
|
<ContentTemplate>
|
|
<div class="row">
|
|
<div class="col-md-4 col-sm-6 col-xs-12">
|
|
<div class="widget-thumb text-uppercase bordered">
|
|
<h4 class="widget-thumb-heading">Total Unidades</h4>
|
|
<div class="widget-thumb-wrap">
|
|
<i class="widget-thumb-icon bg-blue fa fa-car"></i>
|
|
<div class="widget-thumb-body">
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<span class="widget-thumb-body-stat">
|
|
<asp:Literal ID="LtlTotalUnidades" Text="0" runat="server" />
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 col-sm-6 col-xs-12">
|
|
<div class="widget-thumb text-uppercase bordered">
|
|
<h4 class="widget-thumb-heading">Unidades Activas</h4>
|
|
<div class="widget-thumb-wrap">
|
|
<i class="widget-thumb-icon bg-green-jungle fa fa-car"></i>
|
|
<div class="widget-thumb-body">
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<span class="widget-thumb-body-stat">
|
|
<asp:Literal ID="LtlActivas" Text="0" runat="server" />
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-4 col-sm-6 col-xs-12">
|
|
<div class="widget-thumb text-uppercase bordered">
|
|
<h4 class="widget-thumb-heading">Unidades Inactivas</h4>
|
|
<div class="widget-thumb-wrap">
|
|
<i class="widget-thumb-icon bg-red fa fa-car"></i>
|
|
<div class="widget-thumb-body">
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<span class="widget-thumb-body-stat">
|
|
<asp:Literal ID="LtlInactivas" Text="0" runat="server" />
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="portlet light smmallpadding traspasorow bordered">
|
|
<div class="portlet-title">
|
|
<div class="caption font-green">
|
|
<i class="icon-pin font-green"></i>
|
|
<span class="caption-subject bold uppercase">Unidades</span>
|
|
</div>
|
|
<div class="actions">
|
|
<div class="btn-group">
|
|
</div>
|
|
</div>
|
|
<div class="tools">
|
|
<a href="javascript:;" class="collapse"></a>
|
|
</div>
|
|
</div>
|
|
<div class="portlet-body rowpadding">
|
|
<asp:GridView ID="GvDatos" runat="server" GridLines="None" OnRowDataBound="GvDatos_RowDataBound" CssClass="table table-striped table-advance table-hover Widthall ScrollAD" data-sort="true" data-rows="1" AutoGenerateColumns="False" EmptyDataText="No se encontraron registros" ToolTip="Listado de unidades">
|
|
<Columns>
|
|
<asp:BoundField DataField="NombreVehiculo" ItemStyle-Width="12.5%" HeaderText="Vehículo - NoEconomico" ItemStyle-HorizontalAlign="Left" />
|
|
<asp:BoundField DataField="Empresa" ItemStyle-Width="12.5%" HeaderText="Empresa" ItemStyle-HorizontalAlign="Left" />
|
|
<asp:BoundField DataField="Cliente" ItemStyle-Width="12.5%" HeaderText="Cliente" ItemStyle-HorizontalAlign="Left" />
|
|
<asp:BoundField DataField="SSID" ItemStyle-Width="12.5%" HeaderText="SSID" ItemStyle-HorizontalAlign="Center" />
|
|
<asp:BoundField DataField="Telefono" ItemStyle-Width="12.5%" HeaderText="Telefono" ItemStyle-HorizontalAlign="Center" />
|
|
<asp:BoundField DataField="IMEI" ItemStyle-Width="12.5%" HeaderText="IMEI" ItemStyle-HorizontalAlign="Center" />
|
|
<asp:BoundField DataField="FechaIng" DataFormatString="{0:dd/MM/yyyy}" ItemStyle-Width="12.5%" HeaderText="Fecha Ingreso" ItemStyle-HorizontalAlign="Center" />
|
|
<asp:BoundField DataField="FechaAlta" DataFormatString="{0:dd/MM/yyyy}" ItemStyle-Width="12.5%" HeaderText="Fecha Alta" ItemStyle-HorizontalAlign="Center" />
|
|
<asp:BoundField DataField="FechaBaja" DataFormatString="{0:dd/MM/yyyy}" ItemStyle-Width="15%" HeaderText="Fecha Baja" ItemStyle-HorizontalAlign="Left" />
|
|
<asp:TemplateField ItemStyle-Width="12.5%" HeaderText="Estatus" ItemStyle-HorizontalAlign="Center">
|
|
<ItemTemplate>
|
|
<asp:Label ID="LblEstatus" runat="server" Text='<%# Eval("Estatus") %>'></asp:Label>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
</Columns>
|
|
</asp:GridView>
|
|
</div>
|
|
</div>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
</asp:Content>
|
|
<asp:Content ID="Content8" ContentPlaceHolderID="JS" runat="Server">
|
|
</asp:Content>
|
|
|