131 lines
7.5 KiB
Plaintext
131 lines
7.5 KiB
Plaintext
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="CatEmpresas.aspx.vb" Inherits="Sistemas_CatEmpresas" %>
|
|
|
|
<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:UpdatePanel runat="server">
|
|
<ContentTemplate>
|
|
<li>
|
|
<asp:LinkButton ID="LBAdd" PostBackUrl="/Sistemas/Empresa.aspx" CommandArgument="-1" runat="server"><i class="fa fa-plus-circle"></i> Nueva Empresa</asp:LinkButton>
|
|
</li>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
<%--<img alt="Nueva Empresa" title="Nueva Empresa" onclick="document.location.href='/Sistemas/Empresa.aspx'" src="/Imagenes/BotonAgregar.gif" style="cursor: pointer;" />
|
|
 --%>
|
|
</asp:Content>
|
|
<asp:Content ID="Content4" ContentPlaceHolderID="E" runat="Server">
|
|
Catálogo de Empresas
|
|
</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="90px">
|
|
<asp:LinkButton ID="LbCveEmpresa" runat="server" CausesValidation="false" Text="" CommandArgument="CveEmpresa" OnClick="LbOrden_Click">
|
|
Clave
|
|
<asp:Literal ID="ImgCveEmpresa" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
|
</asp:LinkButton>
|
|
</th>
|
|
<th width="350px">
|
|
<asp:LinkButton ID="LbEmpresa" runat="server" CausesValidation="false" Text="" CommandArgument="Empresa" OnClick="LbOrden_Click">
|
|
Nombre de la Empresa
|
|
<asp:Literal ID="ImgEmpresa" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
|
</asp:LinkButton>
|
|
</th>
|
|
<th width="180px">
|
|
<asp:LinkButton ID="LbRFC" runat="server" CausesValidation="false" Text="" CommandArgument="RFC" OnClick="LbOrden_Click">
|
|
RFC
|
|
<asp:Literal ID="ImgRFC" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
|
</asp:LinkButton>
|
|
</th>
|
|
<th width="110px">
|
|
<asp:LinkButton ID="LbTipoFacturacion" runat="server" CausesValidation="false" Text="" CommandArgument="TipoFacturacion" OnClick="LbOrden_Click">
|
|
Tipo de Facturación
|
|
<asp:Literal ID="ImgTipoFacturacion" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
|
</asp:LinkButton>
|
|
</th>
|
|
<th width="110px">
|
|
<asp:LinkButton ID="LbTimbres" runat="server" CausesValidation="false" Text="" CommandArgument="Timbres" OnClick="LbOrden_Click">
|
|
Timbres
|
|
<asp:Literal ID="ImgTimbres" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
|
</asp:LinkButton>
|
|
</th>
|
|
<th width="110px">
|
|
<asp:LinkButton ID="LbEstatusFacturacion" runat="server" CausesValidation="false" Text="" CommandArgument="EstatusFacturacion" OnClick="LbOrden_Click">
|
|
Estatus Facturación
|
|
<asp:Literal ID="ImgEstatusFacturacion" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
|
|
</asp:LinkButton>
|
|
</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 Encontró Empresas Registradas" Width="100%" ToolTip="Listado de Empresas" CssClass="table table-striped table-advance table-hover ScrollAD" data-sort="true" Style=" text-align: center;" GridLines="None">
|
|
<Columns>
|
|
<asp:TemplateField HeaderText="Clave">
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LtlCveEmpresa" runat="server" Text='<%# Eval("CveEmpresa", "{0}") %>'></asp:Literal>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="Nombre de la Empresa">
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LtlEmpresa" runat="server" Text='<%# Eval("Empresa", "{0}") %>'></asp:Literal>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="RFC">
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LtlRFC" runat="server" Text='<%# Eval("RFC", "{0}") %>'></asp:Literal>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="Tipo de Facturación">
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LtlTipoFacturacion" runat="server" Text='<%# Eval("TipoFacturacion", "{0}") %>'></asp:Literal>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="Timbres">
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LtlTimbres" runat="server" Text='<%# Eval("Timbres") %>'></asp:Literal>
|
|
</ItemTemplate>
|
|
</asp:TemplateField>
|
|
<asp:TemplateField HeaderText="Estatus de Facturación">
|
|
<ItemTemplate>
|
|
<asp:Literal ID="LtlEstatusFacturacion" runat="server" Text='<%# Eval("EstatusFacturacion") %>' />
|
|
</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">
|
|
<script language="javascript" type="text/javascript">
|
|
function C() {
|
|
return confirm('¿Está seguro que desea eliminar la Empresa?');
|
|
}
|
|
function AsignaPermisos(Rol) {
|
|
$get("LblUsrEdit").innerText = Rol;
|
|
$("#DivPermisos").show();
|
|
$("#DivPermisos").center();
|
|
}
|
|
function AsignaProcesos(Rol) {
|
|
$get("LblProcesoEdit").innerText = Rol;
|
|
$("#DivProcesos").show();
|
|
$("#DivProcesos").center();
|
|
}
|
|
$(function () {
|
|
$("#DivPermisos").draggable();
|
|
});
|
|
</script>
|
|
</asp:Content>
|