Exemplo n.º 1
0
        public JsonResult GetTiposReceitas(string idUsuario)
        {
            var objTipoReceita = new TipoReceitaModel();

            return(Json(objTipoReceita.retornaReceitas(idUsuario)));

            //this.Json(objTipoReceita.retornaReceitas(idUsuario));
            //JsonConvert.SerializeObject(objTipoReceita.retornaReceitas(idUsuario));
        }
Exemplo n.º 2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(50, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"

            var id = HttpContextAccessor.HttpContext.Session.GetString("IdUsuarioLogado");
            List <ReceitasModel> Receitas;

#line default
#line hidden
            BeginContext(178, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 8 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"

            ViewData["Title"] = "Receitas";
            Layout            = "~/Views/Shared/Layout2.cshtml";

#line default
#line hidden
            BeginContext(271, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
            BeginContext(297, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 16 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
            if ((List <ReceitasModel>)ViewBag.ListaReceitas == null)
            {
#line default
#line hidden
                BeginContext(366, 126, true);
                WriteLiteral("        <h3 style=\"font-family: \'Merienda One\', cursive; color:orangered\">Você não possue Receitas para serem exibidas!</h3>\r\n");
                EndContext();
#line 19 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
            }
            else
            {
#line default
#line hidden
                BeginContext(518, 87, true);
                WriteLiteral("        <h3 style=\"font-family: \'Merienda One\', cursive; color:#21a721\">Receitas</h3>\r\n");
                EndContext();
                BeginContext(607, 8, true);
                WriteLiteral("        ");
                EndContext();
                BeginContext(615, 7857, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2602e9153f1046edb727471701463b5a", async() => {
                    BeginContext(621, 231, true);
                    WriteLiteral("\r\n\r\n            <main>\r\n                <div id=\"intervaloData\" style=\"display: none;\">\r\n                    <table class=\"\">\r\n                        <tbody>\r\n                            <tr>\r\n                                <td> ");
                    EndContext();
                    BeginContext(852, 58, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "03ca01ef82bc49e29846ea09cb3b82bb", async() => {
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_0.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
#line 32 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                    __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.dtInicial);

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(910, 90, true);
                    WriteLiteral(" </td>\r\n                                <td>à </td>\r\n                                <td> ");
                    EndContext();
                    BeginContext(1000, 56, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "8227856ebe604b8ca07fd33c06f3cf35", async() => {
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_0.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
#line 34 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                    __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.dtFinal);

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1056, 476, true);
                    WriteLiteral(@" </td>
                                <th></th>
                                <th><a href=""#""><i class=""material-icons"" title=""Despesa"">search</i></a></th>
                            </tr>
                        </tbody>
                    </table>
                </div>

                <div>
                    <div class=""input-field col s12"" id=""filtro"">
                        <select onchange=""selectoption()"" id=""opcao"">
                            ");
                    EndContext();
                    BeginContext(1532, 31, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "87b854cdc4254f97adefd22f1612b5fb", async() => {
                        BeginContext(1550, 4, true);
                        WriteLiteral("Data");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = (string)__tagHelperAttribute_2.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1563, 30, true);
                    WriteLiteral("\r\n                            ");
                    EndContext();
                    BeginContext(1593, 44, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "13f7ecbd0d5941bd8b033a38f4fe6234", async() => {
                        BeginContext(1611, 17, true);
                        WriteLiteral("Intervalo de Data");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = (string)__tagHelperAttribute_3.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1637, 30, true);
                    WriteLiteral("\r\n                            ");
                    EndContext();
                    BeginContext(1667, 36, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "05a530fc344b4ce4a950af3a7fe72af3", async() => {
                        BeginContext(1685, 9, true);
                        WriteLiteral("Descrição");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = (string)__tagHelperAttribute_4.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1703, 30, true);
                    WriteLiteral("\r\n                            ");
                    EndContext();
                    BeginContext(1733, 42, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "07fcb4e36fe541f9b1fb1a8c506658c0", async() => {
                        BeginContext(1751, 15, true);
                        WriteLiteral("Valor Crescente");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = (string)__tagHelperAttribute_5.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1775, 30, true);
                    WriteLiteral("\r\n                            ");
                    EndContext();
                    BeginContext(1805, 44, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b9fee5b9b3c348049ccfbd73b340ad10", async() => {
                        BeginContext(1823, 17, true);
                        WriteLiteral("Valor Decrescente");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = (string)__tagHelperAttribute_6.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1849, 745, true);
                    WriteLiteral(@"
                        </select>
                        <label>Filtrar por:</label>
                    </div>
                </div>



                <div id=""grid"">

                    <table class=""highlight centered"" id=""grid"">
                        <thead>
                            <tr>
                                <th>Data</th>
                                <th>Descrição</th>
                                <th>Categoria</th>
                                <th>Valor</th>
                                <th>Conta</th>
                                <th>Tipo de Conta</th>
                                <th>Opções</th>


                            </tr>
                        </thead>


");
                    EndContext();
#line 75 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"


                    decimal totalReceitas = 0;
                    foreach (var item in (List <ReceitasModel>)ViewBag.ListaReceitas)
                    {
                        totalReceitas = item.totalReceita;

#line default
#line hidden
                        BeginContext(2873, 100, true);
                        WriteLiteral("                                <tbody id=\"lista\">\r\n                                    <tr data-id=");
                        EndContext();
                        BeginContext(2974, 18, false);
#line 82 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(item.idTipoReceita);

#line default
#line hidden
                        EndContext();
                        BeginContext(2992, 12, true);
                        WriteLiteral(" data-valor=");
                        EndContext();
                        BeginContext(3005, 10, false);
#line 82 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(item.valor);

#line default
#line hidden
                        EndContext();
                        BeginContext(3015, 17, true);
                        WriteLiteral(" data-descricao=\"");
                        EndContext();
                        BeginContext(3033, 21, false);
#line 82 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(item.descricaoReceita);

#line default
#line hidden
                        EndContext();
                        BeginContext(3054, 18, true);
                        WriteLiteral("\" data-dtReceita=\"");
                        EndContext();
                        BeginContext(3073, 16, false);
#line 82 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(item.dataReceita);

#line default
#line hidden
                        EndContext();
                        BeginContext(3089, 22, true);
                        WriteLiteral("\" data-idTipoReceita=\"");
                        EndContext();
                        BeginContext(3112, 18, false);
#line 82 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(item.idTipoReceita);

#line default
#line hidden
                        EndContext();
                        BeginContext(3130, 29, true);
                        WriteLiteral("\" data-descricaoTipoReceita=\"");
                        EndContext();
                        BeginContext(3160, 25, false);
#line 82 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(item.descricaoTipoReceita);

#line default
#line hidden
                        EndContext();
                        BeginContext(3185, 18, true);
                        WriteLiteral("\" data-idReceita=\"");
                        EndContext();
                        BeginContext(3204, 14, false);
#line 82 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(item.idReceita);

#line default
#line hidden
                        EndContext();
                        BeginContext(3218, 47, true);
                        WriteLiteral("\">\r\n                                        <td");
                        EndContext();
                        BeginWriteAttribute("value", " value=", 3265, "", 3287, 1);
#line 83 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        WriteAttributeValue("", 3272, item.idReceita, 3272, 15, false);

#line default
#line hidden
                        EndWriteAttribute();
                        BeginContext(3287, 59, true);
                        WriteLiteral(" hidden></td>\r\n                                        <td>");
                        EndContext();
                        BeginContext(3347, 16, false);
#line 84 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(item.dataReceita);

#line default
#line hidden
                        EndContext();
                        BeginContext(3363, 51, true);
                        WriteLiteral("</td>\r\n                                        <td>");
                        EndContext();
                        BeginContext(3415, 21, false);
#line 85 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(item.descricaoReceita);

#line default
#line hidden
                        EndContext();
                        BeginContext(3436, 51, true);
                        WriteLiteral("</td>\r\n                                        <td>");
                        EndContext();
                        BeginContext(3488, 25, false);
#line 86 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(item.descricaoTipoReceita);

#line default
#line hidden
                        EndContext();
                        BeginContext(3513, 73, true);
                        WriteLiteral("</td>\r\n                                        <td style=\"color:#21a721\">");
                        EndContext();
                        BeginContext(3587, 10, false);
#line 87 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(item.valor);

#line default
#line hidden
                        EndContext();
                        BeginContext(3597, 51, true);
                        WriteLiteral("</td>\r\n                                        <td>");
                        EndContext();
                        BeginContext(3649, 14, false);
#line 88 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(item.nomeConta);

#line default
#line hidden
                        EndContext();
                        BeginContext(3663, 51, true);
                        WriteLiteral("</td>\r\n                                        <td>");
                        EndContext();
                        BeginContext(3715, 14, false);
#line 89 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(item.tipoConta);

#line default
#line hidden
                        EndContext();
                        BeginContext(3729, 63, true);
                        WriteLiteral("</td>\r\n                                        <td> <a href=\"#\"");
                        EndContext();
                        BeginWriteAttribute("onclick", " onclick=\"", 3792, "\"", 3832, 3);
                        WriteAttributeValue("", 3802, "ExcluirRceita(", 3802, 14, true);
#line 90 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        WriteAttributeValue("", 3816, item.idReceita, 3816, 15, false);

#line default
#line hidden
                        WriteAttributeValue("", 3831, ")", 3831, 1, true);
                        EndWriteAttribute();
                        BeginContext(3833, 336, true);
                        WriteLiteral(@"> <i class=""material-icons"" style=""color: red"" title=""Deletar"">delete</i> </a>  <a href=""#modalEdit"" onclick=""carregarTipoReceita('tipoReceitaEditar');"" class=""modal-trigger"" data-bteditar> <i class=""material-icons"" title=""Editar"">edit</i> </a></td>
                                    </tr>
                                </tbody>
");
                        EndContext();
#line 93 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                    }



#line default
#line hidden
                    BeginContext(4229, 60, true);
                    WriteLiteral("\r\n                    </table>\r\n\r\n                </div>\r\n\r\n");
                    EndContext();
#line 101 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"


                    if (totalReceitas > 0)
                    {
#line default
#line hidden
                        BeginContext(4380, 644, true);
                        WriteLiteral(@"                        <div id=""grid"" class=""totalReceita"">
                            <table class=""centered"" id=""grid"">
                                <thead>
                                    <tr>
                                        <th id=""TotalReceita"" style=""color:#21a721"">Total</th>
                                        <th></th>
                                        <th></th>
                                        <th></th>
                                        <th></th>
                                        <th></th>
                                        <th id=""TotalReceita"" style=""color:#21a721"">");
                        EndContext();
                        BeginContext(5025, 13, false);
#line 116 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(totalReceitas);

#line default
#line hidden
                        EndContext();
                        BeginContext(5038, 368, true);
                        WriteLiteral(@"</th>
                                        <th></th>
                                        <th></th>
                                        <th></th>
                                        <th></th>

                                    </tr>
                                </thead>
                            </table>
                        </div>
");
                        EndContext();
#line 126 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                    }


#line default
#line hidden
                    BeginContext(5449, 12, true);
                    WriteLiteral("\r\n\r\n\r\n\r\n\r\n\r\n");
                    EndContext();
                    BeginContext(5512, 16, true);
                    WriteLiteral("                ");
                    EndContext();
                    BeginContext(5578, 317, true);
                    WriteLiteral(@"                <!-- Modal Structure -->
                <div id=""modalEdit"" class=""modal"">

                    <div class=""modal-content"" style=""background-color: #81c784"">
                        <h5>Entradas</h5>
                    </div>

                    <div class=""row"">

                        ");
                    EndContext();
                    BeginContext(5895, 2477, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "de392e0b3b8d4e58bbe0d526fac0a865", async() => {
                        BeginContext(6003, 1329, true);
                        WriteLiteral(@"

                            <div class=""row"">
                                <input id=""idReceitaFormEditar"" type=""number"" value="""" name=""idReceita"" hidden>
                                <div class=""input-field col s6"">
                                    <!-- <p>Digite um Valor:</p> -->
                                    <input id=""valorEditar"" type=""text"" class=""validate"" name=""valor"">

                                    <label class=""active"" for=""valorEditar"">Valor:</label>
                                </div>
                            </div>

                            <div class=""row"">
                                <div class=""input-field col s12"">
                                    <input id=""descricaoEditar"" type=""text"" class=""validate"" name=""descricaoReceita"">
                                    <label class=""active"" for=""descricaoEditar"">Descrição:</label>
                                </div>
                            </div>

                            <div clas");
                        WriteLiteral(@"s=""row"" id=""divDataPicker"">
                                <input class=""active"" type=""text"" class=""datepicker"" id=""dtReceitaEditar"" name=""dataReceita"">
                            </div>

                            <select id=""tipoReceitaEditar"" name=""idTipoReceita"" onload=""SelectTipoReceita()"">
");
                        EndContext();
#line 170 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        TipoReceitaModel objTipoReceita = new TipoReceitaModel();

#line default
#line hidden
                        BeginContext(7427, 2, true);
                        WriteLiteral("\r\n");
                        EndContext();
#line 172 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        foreach (var item in (objTipoReceita.retornaReceitas(id)))
                        {
                            //item.idTipoReceita ==

#line default
#line hidden
                            BeginContext(7618, 36, true);
                            WriteLiteral("                                    ");
                            EndContext();
                            BeginContext(7654, 120, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "ac894268fcf6432a8271186eeec64cd5", async() => {
                                BeginContext(7736, 29, false);
#line 175 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                                Write(item.dsTipoReceita.ToString());

#line default
#line hidden
                                EndContext();
                            }
                                                                                        );
                            __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                            BeginWriteTagHelperAttribute();
#line 175 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                            WriteLiteral(item.idTipoReceita.ToString());

#line default
#line hidden
                            __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                            __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = __tagHelperStringValueBuffer;
                            __tagHelperExecutionContext.AddTagHelperAttribute("value", __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                            BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "id", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 175 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                            AddHtmlAttributeValue("", 7703, item.dsTipoReceita.ToString(), 7703, 30, false);

#line default
#line hidden
                            EndAddHtmlAttributeValues(__tagHelperExecutionContext);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(7774, 2, true);
                            WriteLiteral("\r\n");
                            EndContext();
#line 176 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        }

#line default
#line hidden
                        BeginContext(7811, 98, true);
                        WriteLiteral("                            </select>\r\n\r\n\r\n\r\n                            <div class=\"opcoesBtn\">\r\n");
                        EndContext();
#line 182 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        HttpContextAccessor.HttpContext.Session.SetString("IdUsuarioLogado", id.ToString());

#line default
#line hidden
                        BeginContext(8031, 334, true);
                        WriteLiteral(@"
                                <button type=""submit"" class="" waves-effect waves-green btn"" id=""btnSalvar"">Salvar</button>
                                <a href=""#!"" class=""modal-close waves-effect waves-effect btn background-color: red"" id=""btnCancelar"">Cancelar</a>
                            </div>
                        ");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_9.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_10.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_11.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(8372, 93, true);
                    WriteLiteral("\r\n\r\n                    </div>\r\n\r\n                </div>\r\n            </main>\r\n\r\n\r\n\r\n        ");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_BodyTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_BodyTagHelper);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(8472, 2, true);
                WriteLiteral("\r\n");
                EndContext();
#line 197 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
            }


#line default
#line hidden
        }
Exemplo n.º 3
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(50, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 3 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"

            var id = HttpContextAccessor.HttpContext.Session.GetString("IdUsuarioLogado");
            List <ReceitasModel> Receitas;

#line default
#line hidden
            BeginContext(178, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 8 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"

            ViewData["Title"] = "Receitas";
            Layout            = "~/Views/Shared/Layout2.cshtml";

#line default
#line hidden
            BeginContext(271, 4, true);
            WriteLiteral("\r\n\r\n");
            EndContext();
            BeginContext(297, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 16 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
            if ((List <ReceitasModel>)ViewBag.ListaReceitas == null)
            {
#line default
#line hidden
                BeginContext(366, 126, true);
                WriteLiteral("        <h3 style=\"font-family: \'Merienda One\', cursive; color:orangered\">Você não possue Receitas para serem exibidas!</h3>\r\n");
                EndContext();
#line 19 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
            }
            else
            {
#line default
#line hidden
                BeginContext(518, 87, true);
                WriteLiteral("        <h3 style=\"font-family: \'Merienda One\', cursive; color:#21a721\">Receitas</h3>\r\n");
                EndContext();
                BeginContext(607, 8, true);
                WriteLiteral("        ");
                EndContext();
                BeginContext(615, 7857, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b9a3581db36e419b9dd36eaea08c248a", async() => {
                    BeginContext(621, 231, true);
                    WriteLiteral("\r\n\r\n            <main>\r\n                <div id=\"intervaloData\" style=\"display: none;\">\r\n                    <table class=\"\">\r\n                        <tbody>\r\n                            <tr>\r\n                                <td> ");
                    EndContext();
                    BeginContext(852, 58, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "35036f5b365a4e49b1849b0f9681e134", async() => {
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_0.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
#line 32 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                    __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.dtInicial);

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(910, 90, true);
                    WriteLiteral(" </td>\r\n                                <td>à </td>\r\n                                <td> ");
                    EndContext();
                    BeginContext(1000, 56, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("input", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "d1993769c52348e791eb7811980b5804", async() => {
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.InputTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.InputTypeName = (string)__tagHelperAttribute_0.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
#line 34 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                    __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For = ModelExpressionProvider.CreateModelExpression(ViewData, __model => __model.dtFinal);

#line default
#line hidden
                    __tagHelperExecutionContext.AddTagHelperAttribute("asp-for", __Microsoft_AspNetCore_Mvc_TagHelpers_InputTagHelper.For, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1056, 476, true);
                    WriteLiteral(@" </td>
                                <th></th>
                                <th><a href=""#""><i class=""material-icons"" title=""Despesa"">search</i></a></th>
                            </tr>
                        </tbody>
                    </table>
                </div>

                <div>
                    <div class=""input-field col s12"" id=""filtro"">
                        <select onchange=""selectoption()"" id=""opcao"">
                            ");
                    EndContext();
                    BeginContext(1532, 31, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "0d77bc6ba61a433b87bbce1933b62f17", async() => {
                        BeginContext(1550, 4, true);
                        WriteLiteral("Data");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = (string)__tagHelperAttribute_2.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1563, 30, true);
                    WriteLiteral("\r\n                            ");
                    EndContext();
                    BeginContext(1593, 44, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "7fe08c31cba94d759d5f92696df14277", async() => {
                        BeginContext(1611, 17, true);
                        WriteLiteral("Intervalo de Data");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = (string)__tagHelperAttribute_3.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1637, 30, true);
                    WriteLiteral("\r\n                            ");
                    EndContext();
                    BeginContext(1667, 36, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b90eeb80ea6644f9bbdf11c2783a5dba", async() => {
                        BeginContext(1685, 9, true);
                        WriteLiteral("Descrição");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = (string)__tagHelperAttribute_4.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1703, 30, true);
                    WriteLiteral("\r\n                            ");
                    EndContext();
                    BeginContext(1733, 42, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "be438ecd29f343d19ab06b0e734f3fa8", async() => {
                        BeginContext(1751, 15, true);
                        WriteLiteral("Valor Crescente");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = (string)__tagHelperAttribute_5.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1775, 30, true);
                    WriteLiteral("\r\n                            ");
                    EndContext();
                    BeginContext(1805, 44, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "abebafeaf1534e7db13ea5298a18a826", async() => {
                        BeginContext(1823, 17, true);
                        WriteLiteral("Valor Decrescente");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = (string)__tagHelperAttribute_6.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(1849, 745, true);
                    WriteLiteral(@"
                        </select>
                        <label>Filtrar por:</label>
                    </div>
                </div>



                <div id=""grid"">

                    <table class=""highlight centered"" id=""grid"">
                        <thead>
                            <tr>
                                <th>Data</th>
                                <th>Descrição</th>
                                <th>Categoria</th>
                                <th>Valor</th>
                                <th>Conta</th>
                                <th>Tipo de Conta</th>
                                <th>Opções</th>


                            </tr>
                        </thead>


");
                    EndContext();
#line 75 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"


                    decimal totalReceitas = 0;
                    foreach (var item in (List <ReceitasModel>)ViewBag.ListaReceitas)
                    {
                        totalReceitas = item.totalReceita;

#line default
#line hidden
                        BeginContext(2873, 100, true);
                        WriteLiteral("                                <tbody id=\"lista\">\r\n                                    <tr data-id=");
                        EndContext();
                        BeginContext(2974, 18, false);
#line 82 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(item.idTipoReceita);

#line default
#line hidden
                        EndContext();
                        BeginContext(2992, 12, true);
                        WriteLiteral(" data-valor=");
                        EndContext();
                        BeginContext(3005, 10, false);
#line 82 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(item.valor);

#line default
#line hidden
                        EndContext();
                        BeginContext(3015, 17, true);
                        WriteLiteral(" data-descricao=\"");
                        EndContext();
                        BeginContext(3033, 21, false);
#line 82 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(item.descricaoReceita);

#line default
#line hidden
                        EndContext();
                        BeginContext(3054, 18, true);
                        WriteLiteral("\" data-dtReceita=\"");
                        EndContext();
                        BeginContext(3073, 16, false);
#line 82 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(item.dataReceita);

#line default
#line hidden
                        EndContext();
                        BeginContext(3089, 22, true);
                        WriteLiteral("\" data-idTipoReceita=\"");
                        EndContext();
                        BeginContext(3112, 18, false);
#line 82 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(item.idTipoReceita);

#line default
#line hidden
                        EndContext();
                        BeginContext(3130, 29, true);
                        WriteLiteral("\" data-descricaoTipoReceita=\"");
                        EndContext();
                        BeginContext(3160, 25, false);
#line 82 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(item.descricaoTipoReceita);

#line default
#line hidden
                        EndContext();
                        BeginContext(3185, 18, true);
                        WriteLiteral("\" data-idReceita=\"");
                        EndContext();
                        BeginContext(3204, 14, false);
#line 82 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(item.idReceita);

#line default
#line hidden
                        EndContext();
                        BeginContext(3218, 47, true);
                        WriteLiteral("\">\r\n                                        <td");
                        EndContext();
                        BeginWriteAttribute("value", " value=", 3265, "", 3287, 1);
#line 83 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        WriteAttributeValue("", 3272, item.idReceita, 3272, 15, false);

#line default
#line hidden
                        EndWriteAttribute();
                        BeginContext(3287, 59, true);
                        WriteLiteral(" hidden></td>\r\n                                        <td>");
                        EndContext();
                        BeginContext(3347, 16, false);
#line 84 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(item.dataReceita);

#line default
#line hidden
                        EndContext();
                        BeginContext(3363, 51, true);
                        WriteLiteral("</td>\r\n                                        <td>");
                        EndContext();
                        BeginContext(3415, 21, false);
#line 85 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(item.descricaoReceita);

#line default
#line hidden
                        EndContext();
                        BeginContext(3436, 51, true);
                        WriteLiteral("</td>\r\n                                        <td>");
                        EndContext();
                        BeginContext(3488, 25, false);
#line 86 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(item.descricaoTipoReceita);

#line default
#line hidden
                        EndContext();
                        BeginContext(3513, 73, true);
                        WriteLiteral("</td>\r\n                                        <td style=\"color:#21a721\">");
                        EndContext();
                        BeginContext(3587, 10, false);
#line 87 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(item.valor);

#line default
#line hidden
                        EndContext();
                        BeginContext(3597, 51, true);
                        WriteLiteral("</td>\r\n                                        <td>");
                        EndContext();
                        BeginContext(3649, 14, false);
#line 88 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(item.nomeConta);

#line default
#line hidden
                        EndContext();
                        BeginContext(3663, 51, true);
                        WriteLiteral("</td>\r\n                                        <td>");
                        EndContext();
                        BeginContext(3715, 14, false);
#line 89 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(item.tipoConta);

#line default
#line hidden
                        EndContext();
                        BeginContext(3729, 63, true);
                        WriteLiteral("</td>\r\n                                        <td> <a href=\"#\"");
                        EndContext();
                        BeginWriteAttribute("onclick", " onclick=\"", 3792, "\"", 3832, 3);
                        WriteAttributeValue("", 3802, "ExcluirRceita(", 3802, 14, true);
#line 90 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        WriteAttributeValue("", 3816, item.idReceita, 3816, 15, false);

#line default
#line hidden
                        WriteAttributeValue("", 3831, ")", 3831, 1, true);
                        EndWriteAttribute();
                        BeginContext(3833, 336, true);
                        WriteLiteral(@"> <i class=""material-icons"" style=""color: red"" title=""Deletar"">delete</i> </a>  <a href=""#modalEdit"" onclick=""carregarTipoReceita('tipoReceitaEditar');"" class=""modal-trigger"" data-bteditar> <i class=""material-icons"" title=""Editar"">edit</i> </a></td>
                                    </tr>
                                </tbody>
");
                        EndContext();
#line 93 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                    }



#line default
#line hidden
                    BeginContext(4229, 60, true);
                    WriteLiteral("\r\n                    </table>\r\n\r\n                </div>\r\n\r\n");
                    EndContext();
#line 101 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"


                    if (totalReceitas > 0)
                    {
#line default
#line hidden
                        BeginContext(4380, 644, true);
                        WriteLiteral(@"                        <div id=""grid"" class=""totalReceita"">
                            <table class=""centered"" id=""grid"">
                                <thead>
                                    <tr>
                                        <th id=""TotalReceita"" style=""color:#21a721"">Total</th>
                                        <th></th>
                                        <th></th>
                                        <th></th>
                                        <th></th>
                                        <th></th>
                                        <th id=""TotalReceita"" style=""color:#21a721"">");
                        EndContext();
                        BeginContext(5025, 13, false);
#line 116 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        Write(totalReceitas);

#line default
#line hidden
                        EndContext();
                        BeginContext(5038, 368, true);
                        WriteLiteral(@"</th>
                                        <th></th>
                                        <th></th>
                                        <th></th>
                                        <th></th>

                                    </tr>
                                </thead>
                            </table>
                        </div>
");
                        EndContext();
#line 126 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                    }


#line default
#line hidden
                    BeginContext(5449, 12, true);
                    WriteLiteral("\r\n\r\n\r\n\r\n\r\n\r\n");
                    EndContext();
                    BeginContext(5512, 16, true);
                    WriteLiteral("                ");
                    EndContext();
                    BeginContext(5578, 317, true);
                    WriteLiteral(@"                <!-- Modal Structure -->
                <div id=""modalEdit"" class=""modal"">

                    <div class=""modal-content"" style=""background-color: #81c784"">
                        <h5>Entradas</h5>
                    </div>

                    <div class=""row"">

                        ");
                    EndContext();
                    BeginContext(5895, 2477, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f741a26893b14391af5a1f4bb53662cd", async() => {
                        BeginContext(6003, 1329, true);
                        WriteLiteral(@"

                            <div class=""row"">
                                <input id=""idReceitaFormEditar"" type=""number"" value="""" name=""idReceita"" hidden>
                                <div class=""input-field col s6"">
                                    <!-- <p>Digite um Valor:</p> -->
                                    <input id=""valorEditar"" type=""text"" class=""validate"" name=""valor"">

                                    <label class=""active"" for=""valorEditar"">Valor:</label>
                                </div>
                            </div>

                            <div class=""row"">
                                <div class=""input-field col s12"">
                                    <input id=""descricaoEditar"" type=""text"" class=""validate"" name=""descricaoReceita"">
                                    <label class=""active"" for=""descricaoEditar"">Descrição:</label>
                                </div>
                            </div>

                            <div clas");
                        WriteLiteral(@"s=""row"" id=""divDataPicker"">
                                <input class=""active"" type=""text"" class=""datepicker"" id=""dtReceitaEditar"" name=""dataReceita"">
                            </div>

                            <select id=""tipoReceitaEditar"" name=""idTipoReceita"" onload=""SelectTipoReceita()"">
");
                        EndContext();
#line 170 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        TipoReceitaModel objTipoReceita = new TipoReceitaModel();

#line default
#line hidden
                        BeginContext(7427, 2, true);
                        WriteLiteral("\r\n");
                        EndContext();
#line 172 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        foreach (var item in (objTipoReceita.retornaReceitas(id)))
                        {
                            //item.idTipoReceita ==

#line default
#line hidden
                            BeginContext(7618, 36, true);
                            WriteLiteral("                                    ");
                            EndContext();
                            BeginContext(7654, 120, false);
                            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "f2374da0225c4d159d8f081591174e80", async() => {
                                BeginContext(7736, 29, false);
#line 175 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                                Write(item.dsTipoReceita.ToString());

#line default
#line hidden
                                EndContext();
                            }
                                                                                        );
                            __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.OptionTagHelper>();
                            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper);
                            BeginWriteTagHelperAttribute();
#line 175 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                            WriteLiteral(item.idTipoReceita.ToString());

#line default
#line hidden
                            __tagHelperStringValueBuffer = EndWriteTagHelperAttribute();
                            __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value = __tagHelperStringValueBuffer;
                            __tagHelperExecutionContext.AddTagHelperAttribute("value", __Microsoft_AspNetCore_Mvc_TagHelpers_OptionTagHelper.Value, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                            BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "id", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
#line 175 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                            AddHtmlAttributeValue("", 7703, item.dsTipoReceita.ToString(), 7703, 30, false);

#line default
#line hidden
                            EndAddHtmlAttributeValues(__tagHelperExecutionContext);
                            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                            if (!__tagHelperExecutionContext.Output.IsContentModified)
                            {
                                await __tagHelperExecutionContext.SetOutputContentAsync();
                            }
                            Write(__tagHelperExecutionContext.Output);
                            __tagHelperExecutionContext = __tagHelperScopeManager.End();
                            EndContext();
                            BeginContext(7774, 2, true);
                            WriteLiteral("\r\n");
                            EndContext();
#line 176 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        }

#line default
#line hidden
                        BeginContext(7811, 98, true);
                        WriteLiteral("                            </select>\r\n\r\n\r\n\r\n                            <div class=\"opcoesBtn\">\r\n");
                        EndContext();
#line 182 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
                        HttpContextAccessor.HttpContext.Session.SetString("IdUsuarioLogado", id.ToString());

#line default
#line hidden
                        BeginContext(8031, 334, true);
                        WriteLiteral(@"
                                <button type=""submit"" class="" waves-effect waves-green btn"" id=""btnSalvar"">Salvar</button>
                                <a href=""#!"" class=""modal-close waves-effect waves-effect btn background-color: red"" id=""btnCancelar"">Cancelar</a>
                            </div>
                        ");
                        EndContext();
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.FormTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.RenderAtEndOfFormTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_RenderAtEndOfFormTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_9.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_10.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10);
                    __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_11.Value;
                    __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_11);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(8372, 93, true);
                    WriteLiteral("\r\n\r\n                    </div>\r\n\r\n                </div>\r\n            </main>\r\n\r\n\r\n\r\n        ");
                    EndContext();
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_BodyTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.BodyTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_BodyTagHelper);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(8472, 2, true);
                WriteLiteral("\r\n");
                EndContext();
#line 197 "D:\TCC-MEU-DINHEIRO\UpMoney\Views\Receita\VerReceita.cshtml"
            }


#line default
#line hidden
        }