<%@ page language="VB" masterpagefile="~/master/master/mas_mobile.master" autoeventwireup="false" inherits="samm_mobile.mob_app_misCots, App_Web_tylwc8qn" %>
<asp:Content ID="Content2" ContentPlaceHolderID="cph_general" Runat="Server">
    &nbsp;<asp:HyperLink ID="lnk_menu" runat="server" CssClass="hpr" NavigateUrl="../app/menuComercial.aspx">Menú</asp:HyperLink><br />
    <table>
        <tr>
            <td>
                <asp:Label ID="lbl_estado" runat="server" Text="Estado:" CssClass="lbl"></asp:Label>
            </td>
            <td>
                <asp:DropDownList ID="drp_estado" runat="server" CssClass="drp">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="lbl_cliente" runat="server" CssClass="lbl"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txt_cliente" runat="server" CssClass="txt" ></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="lbl_fecha" runat="server" CssClass="lbl"></asp:Label>
            </td>
            <td style="white-space:nowrap;">
                <asp:Label ID="lbl_de" runat="server" CssClass="lbl"></asp:Label>
                <asp:TextBox ID="txt_desde" runat="server" CssClass="txt" ></asp:TextBox>
            </td>
            <td style="white-space:nowrap;">
                <asp:Label ID="lbl_a" runat="server" CssClass="lbl"></asp:Label>
                <asp:TextBox ID="txt_hasta" runat="server" CssClass="txt" ></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Button ID="btn_buscar" runat="server" CssClass="btn" Text="Buscar" />
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:label ID="lbl_mensaje" runat="server" CssClass="lbl_mensaje" />
            </td>
        </tr>
    </table>
    <asp:GridView ID="grvCots" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None" AllowPaging="True" AutoGenerateColumns="false">
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <EditRowStyle BackColor="#999999" />
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
        <Columns>
            <asp:TemplateField HeaderText="COT">
                <ItemTemplate>
                    <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl='<%# "nuevaCotizacion.aspx?id=" & eval("id") %>' Text='<%# eval("cot") & "-" & eval("#") %>'></asp:HyperLink>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="cliente" HeaderText="Cliente" />
            <asp:BoundField DataField="sucursal" HeaderText="Sucursal" />
            <asp:BoundField DataField="estado" HeaderText="Estado" />
        </Columns>
    </asp:GridView>
</asp:Content>
