<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="resultadoReceita.aspx.cs"
    Inherits="PortalTransparencia.resultadoReceita" MasterPageFile="~/Site.Master" %>

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v11.1, Version=11.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v11.1, Version=11.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="container">
        <div class="limite">
            <div class="box">
                <h2 class="titulo" style="color: #000000">
                    Resultados</h2>
                <ul class="form">
                    <p>
                        <dx:ASPxGridView ID="gvPrincipal" runat="server" ClientInstanceName="gvPrincipal"
                            AutoGenerateColumns="false" Width="100%" EnableRowsCache="False" EnableCallBacks="False" OnCustomUnboundColumnData="grid_CustomUnboundColumnData">
                            <Columns>
                                <dx:GridViewDataColumn Caption="Ficha" FieldName="CD_FICHAREC">
                                </dx:GridViewDataColumn>
                                <dx:GridViewDataColumn Caption="Código" FieldName="CD_RECEITA">
                                </dx:GridViewDataColumn>
                                <dx:GridViewDataColumn Caption="Descrição" FieldName="DS_RECEITA">
                                </dx:GridViewDataColumn>
                                <dx:GridViewDataColumn Caption="Valor Orçado" FieldName="VL_ORCADO">
                                </dx:GridViewDataColumn>
                                <dx:GridViewDataColumn Caption="Lançada (R$)" FieldName="VL_LANCADO">
                                </dx:GridViewDataColumn>
                                <dx:GridViewDataTextColumn FieldName="Total" Caption="Arrecadada (R$)" UnboundType="Decimal">
                                    <PropertiesTextEdit DisplayFormatString="{0:#,##0.00}" />
                                </dx:GridViewDataTextColumn>
                            </Columns>
                            <TotalSummary>
                                <dx:ASPxSummaryItem FieldName="Total" DisplayFormat="Valor Total : {0:#,##0.00}" SummaryType="Sum" />
                            </TotalSummary>
                            <Settings ShowFooter="True" />
                            <SettingsPager PageSize="20">
                                <Summary AllPagesText="Páginas: {0} - {1} ({2} itens)" Text="Página {0} de {1} ({2} itens)" />
                            </SettingsPager>
                        </dx:ASPxGridView>
                    </p>
                    <p>
                        <asp:Label runat="server" ID="lblMsg" Visible="false"></asp:Label>
                    </p>
                    <li class="botoes">
                        <asp:Button runat="server" ID="btnEnviar" CssClass="btazul" Text="voltar" Style="margin-right: -480px"
                            OnClick="btnVoltar_Onclick" />
                    </li>
                </ul>
            </div>
            <div class="box">
            </div>
        </div>
    </div>
</asp:Content>
