Example #1
0
        public string GetProdutosTable()
        {
            var a = _produtoDAO.SelectProdutos().ToList();

            foreach (var item in a)
            {
                item.Propriedades.ToList().ForEach(i => i.TamanhoString = i.Tamanho.ToString());
            }
            var txt = new ConversorDeObjetos().ConverterParaString(a);

            string json = "{ \"data\" : " + txt + "}";

            return(json);
        }
Example #2
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(0, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 2 "D:\Projetos\wellhz1n\CRMCSharp\CrmWell\Views\Cadastros\Index.cshtml"

            ViewData["Title"] = "Menu Cadastros";
            var usr = new ConversorDeObjetos().ConverterParaObject <Usuario>(Context.Session.GetString("UsuarioSession"));



#line default
#line hidden
            BeginContext(171, 629, true);
            WriteLiteral(@"<style>

    .prod-box {
        height: 50%;
        width: 45%;
        margin-top: 5%;
    }

    .box-prod-menu {
        padding: 2px;
        transition: all .2s ease-in-out;
        padding: 10px;
        margin: 10px;
        font-weight: bolder;
    }

        .box-prod-menu:hover {
            background: linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0.1));
            cursor: pointer;
        }



    
</style>
<div class=""col-12 p-0 m-0"">
    <div id=""menucont"" class=""row alinharCentroPai p-0 m-0 "">

        <div class=""col-2 text-center box-prod-menu "" id=""menu-produto"">
            ");
            EndContext();
            BeginContext(800, 86, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3e6eb6181760adb11ecd12ec6db3f2d0712afad37037", async() => {
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(886, 67, true);
            WriteLiteral("\r\n            <p class=\"text-center\">Produtos</p>\r\n        </div>\r\n");
            EndContext();
#line 40 "D:\Projetos\wellhz1n\CRMCSharp\CrmWell\Views\Cadastros\Index.cshtml"
            if (usr.NivelUsuario == NivelUsuario.ADM)
            {
#line default
#line hidden
                BeginContext(1022, 103, true);
                WriteLiteral("                <div class=\"col-2 text-center box-prod-menu  \" id=\"menu-usuario\">\r\n                    ");
                EndContext();
                BeginContext(1125, 86, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3e6eb6181760adb11ecd12ec6db3f2d0712afad38835", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1211, 83, true);
                WriteLiteral("\r\n                    <p class=\"text-center\">Usuarios</p>\r\n                </div>\r\n");
                EndContext();
#line 46 "D:\Projetos\wellhz1n\CRMCSharp\CrmWell\Views\Cadastros\Index.cshtml"
            }
            else
            {
            }


#line default
#line hidden
            BeginContext(1342, 96, true);
            WriteLiteral("        \r\n        <div class=\"col-2 text-center box-prod-menu\" id=\"menu-clientes\">\r\n            ");
            EndContext();
            BeginContext(1438, 85, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3e6eb6181760adb11ecd12ec6db3f2d0712afad310622", async() => {
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1523, 162, true);
            WriteLiteral("\r\n            <p class=\"text-center\">Clientes</p>\r\n        </div>\r\n        <div class=\"col-2 text-center box-prod-menu \" id=\"menu-categoriaproduto\">\r\n            ");
            EndContext();
            BeginContext(1685, 95, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3e6eb6181760adb11ecd12ec6db3f2d0712afad312133", async() => {
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1780, 217, true);
            WriteLiteral("\r\n            <p class=\"text-center\">Categoria De Produto</p>\r\n            <p id=\"construcao\">Em Construção</p>\r\n        </div>\r\n        <div class=\"col-2 text-center box-prod-menu \" id=\"menu-materiais\">\r\n            ");
            EndContext();
            BeginContext(1997, 87, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "3e6eb6181760adb11ecd12ec6db3f2d0712afad313703", async() => {
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(2084, 142, true);
            WriteLiteral("\r\n            <p class=\"text-center\">Materiais</p>\r\n            <p id=\"construcao\">Em Construção</p>\r\n\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n");
            EndContext();
        }
Example #3
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
#line 1 "D:\Projetos\wellhz1n\CRMCSharp\CrmWell\Views\Inicio\Home.cshtml"

            ViewData["Title"] = "Inicio";
            var UsuarioLogado = new ConversorDeObjetos().ConverterParaObject <Usuario>(Context.Session.GetString("UsuarioSession"));


#line default
#line hidden
            BeginContext(169, 861, true);
            WriteLiteral(@"<style>
    h2 {
        font-family: Comfortaa;
    }

    #clock p {
        font-family: Roboto;
        -webkit-font-smoothing: antialiased;
        font-size: 15vh;
        width: 40%;
        position: relative;
        text-align: center;
        left: 29%;
        background:#6720B2da;
        border-radius: 20px;
        color: white;
    }

    .prod-box {
        height: 55%;
        width: 40%;
        margin-top: 5%;
    }

    .box-prod-menu {
        padding: 2px;
        transition: all .2s ease-in-out;
        padding: 10px;
        margin: 10px;
        font-weight: bolder;
    }

        .box-prod-menu:hover {
            background: linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0.1));
            cursor: pointer;
        }
</style>
<div class=""col-12 text-center"">
    <h2 class=""my-4"">Bem Vindo ");
            EndContext();
            BeginContext(1031, 33, false);
#line 44 "D:\Projetos\wellhz1n\CRMCSharp\CrmWell\Views\Inicio\Home.cshtml"
            Write(Context.Session.GetString("USER"));

#line default
#line hidden
            EndContext();
            BeginContext(1064, 119, true);
            WriteLiteral("</h2>\r\n    <div class=\"row\"></div>\r\n    <div id=\"clock\" class=\"col-12\">\r\n        <p id=\"clockletter\"></p>\r\n    </div>\r\n");
            EndContext();
#line 49 "D:\Projetos\wellhz1n\CRMCSharp\CrmWell\Views\Inicio\Home.cshtml"
            if (UsuarioLogado.NivelUsuario == NivelUsuario.CONTADOR)
            {
#line default
#line hidden
                BeginContext(1257, 348, true);
                WriteLiteral(@"<hr class=""my-5 "">
            <div style=""left:33%"" class=""col-12 "">

                <h2 style=""position:relative;left:-34%"" class=""text-center"">Gerar Graficos</h2>
                <div class=""row text-center p-0 m-0 col-10 "">
                    <div class=""col-2 text-center box-prod-menu "" id=""menu-venda-lista"">
                        ");
                EndContext();
                BeginContext(1605, 86, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "1164cbd5e25f83a317a4c71fef93b8c467f8649c8216", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1691, 205, true);
                WriteLiteral("\r\n                        <p class=\"text-center\">Vendas</p>\r\n                    </div>\r\n                    <div class=\"col-2 text-center box-prod-menu \" id=\"menu-venda-Estoque\">\r\n                        ");
                EndContext();
                BeginContext(1896, 85, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "1164cbd5e25f83a317a4c71fef93b8c467f8649c9769", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1981, 134, true);
                WriteLiteral("\r\n                        <p class=\"text-center\">Estoque</p>\r\n                    </div>\r\n                </div>\r\n            </div>\r\n");
                EndContext();
#line 65 "D:\Projetos\wellhz1n\CRMCSharp\CrmWell\Views\Inicio\Home.cshtml"
            }


#line default
#line hidden
            BeginContext(2133, 10, true);
            WriteLiteral("</div>\r\n\r\n");
            EndContext();
            DefineSection("scripts", async() => {
                BeginContext(2160, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(2166, 64, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1164cbd5e25f83a317a4c71fef93b8c467f8649c11667", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2230, 6, true);
                WriteLiteral("\r\n    ");
                EndContext();
                BeginContext(2236, 49, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1164cbd5e25f83a317a4c71fef93b8c467f8649c13010", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);
                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(2285, 2, true);
                WriteLiteral("\r\n");
                EndContext();
            }
                          );
        }
Example #4
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(0, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 2 "D:\Projetos\wellhz1n\Expoceep\Expoceep\Expoceep\Views\Cadastros\Index.cshtml"

            ViewData["Title"] = "Menu Cadastros";
            var usr = new ConversorDeObjetos().ConverterParaObject <Usuario>(Context.Session.GetString("UsuarioSession"));



#line default
#line hidden
            BeginContext(171, 955, true);
            WriteLiteral(@"<style>

    .prod-box {
        height: 50%;
        width: 45%;
        margin-top: 5%;
    }

    .box-prod-menu {
        padding: 2px;
        transition: all .2s ease-in-out;
        padding: 10px;
        margin: 10px;
        font-weight: bolder;
    }

        .box-prod-menu:hover {
            background: linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0.1));
            cursor: pointer;
        }



    .emconstrucao {
        pointer-events: none;
        opacity: 0.5;
    }

    #construcao {
        position: relative;
        font-family: Comfortaa;
        font-size: 14px;
        width: 60%;
        height: 10%;
        color: white;
        background: red;
        left: 45px;
        top: -90px;
    }
</style>
<div class=""col-12 p-0 m-0"">
    <div id=""menucont"" class=""row alinharCentroPai p-0 m-0 "">

        <div class=""col-2 text-center box-prod-menu "" id=""menu-produto"">
            ");
            EndContext();
            BeginContext(1126, 86, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "23bc11f3d67fccf58a0042f7e0bdd6fc9aff8e647418", async() => {
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1212, 67, true);
            WriteLiteral("\r\n            <p class=\"text-center\">Produtos</p>\r\n        </div>\r\n");
            EndContext();
#line 55 "D:\Projetos\wellhz1n\Expoceep\Expoceep\Expoceep\Views\Cadastros\Index.cshtml"
            if (usr.NivelUsuario == NivelUsuario.ADM)
            {
#line default
#line hidden
                BeginContext(1348, 103, true);
                WriteLiteral("                <div class=\"col-2 text-center box-prod-menu  \" id=\"menu-usuario\">\r\n                    ");
                EndContext();
                BeginContext(1451, 86, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "23bc11f3d67fccf58a0042f7e0bdd6fc9aff8e649226", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1537, 83, true);
                WriteLiteral("\r\n                    <p class=\"text-center\">Usuarios</p>\r\n                </div>\r\n");
                EndContext();
#line 61 "D:\Projetos\wellhz1n\Expoceep\Expoceep\Expoceep\Views\Cadastros\Index.cshtml"
            }
            else
            {
            }


#line default
#line hidden
            BeginContext(1668, 96, true);
            WriteLiteral("        \r\n        <div class=\"col-2 text-center box-prod-menu\" id=\"menu-clientes\">\r\n            ");
            EndContext();
            BeginContext(1764, 85, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "23bc11f3d67fccf58a0042f7e0bdd6fc9aff8e6411022", async() => {
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(1849, 162, true);
            WriteLiteral("\r\n            <p class=\"text-center\">Clientes</p>\r\n        </div>\r\n        <div class=\"col-2 text-center box-prod-menu \" id=\"menu-categoriaproduto\">\r\n            ");
            EndContext();
            BeginContext(2011, 95, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "23bc11f3d67fccf58a0042f7e0bdd6fc9aff8e6412533", async() => {
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(2106, 217, true);
            WriteLiteral("\r\n            <p class=\"text-center\">Categoria De Produto</p>\r\n            <p id=\"construcao\">Em Construção</p>\r\n        </div>\r\n        <div class=\"col-2 text-center box-prod-menu \" id=\"menu-materiais\">\r\n            ");
            EndContext();
            BeginContext(2323, 87, false);
            __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "23bc11f3d67fccf58a0042f7e0bdd6fc9aff8e6414103", async() => {
            }
                                                                        );
            __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
            __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_6);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
            __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
            await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

            if (!__tagHelperExecutionContext.Output.IsContentModified)
            {
                await __tagHelperExecutionContext.SetOutputContentAsync();
            }
            Write(__tagHelperExecutionContext.Output);
            __tagHelperExecutionContext = __tagHelperScopeManager.End();
            EndContext();
            BeginContext(2410, 142, true);
            WriteLiteral("\r\n            <p class=\"text-center\">Materiais</p>\r\n            <p id=\"construcao\">Em Construção</p>\r\n\r\n        </div>\r\n    </div>\r\n</div>\r\n\r\n");
            EndContext();
        }
Example #5
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(0, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 2 "D:\Projetos\wellhz1n\Expoceep\Expoceep\Expoceep\Views\Vendas\Index.cshtml"

            ViewData["Title"] = "Menu Venda";
            var UsuarioLogado = new ConversorDeObjetos().ConverterParaObject <Usuario>(Context.Session.GetString("UsuarioSession"));


#line default
#line hidden
            BeginContext(175, 521, true);
            WriteLiteral(@"

<style>

    .prod-box {
        height: 55%;
        width: 40%;
        margin-top: 5%;
    }

    .box-prod-menu {
        padding: 2px;
        transition: all .2s ease-in-out;
        padding: 10px;
        margin: 10px;
        font-weight: bolder;
    }

        .box-prod-menu:hover {
            background: linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0.1));
            cursor: pointer;
        }
</style>
<div class=""col-12 p-0 m-0"">
    <div class=""row alinharCentroPai p-0 m-0 "">

");
            EndContext();
#line 33 "D:\Projetos\wellhz1n\Expoceep\Expoceep\Expoceep\Views\Vendas\Index.cshtml"

            if (UsuarioLogado.NivelUsuario == NivelUsuario.COMUM || UsuarioLogado.NivelUsuario == NivelUsuario.ADM)
            {
#line default
#line hidden
                BeginContext(840, 100, true);
                WriteLiteral("                <div class=\"col-2 text-center box-prod-menu \" id=\"menu-venda\">\r\n                    ");
                EndContext();
                BeginContext(940, 83, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "8ded98b96de34a927c326cecb08ec6eb820745a16670", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1023, 85, true);
                WriteLiteral("\r\n                    <p class=\"text-center\">Nova venda</p>\r\n                </div>\r\n");
                EndContext();
#line 40 "D:\Projetos\wellhz1n\Expoceep\Expoceep\Expoceep\Views\Vendas\Index.cshtml"
            }
            if (UsuarioLogado.NivelUsuario == NivelUsuario.CONTADOR || UsuarioLogado.NivelUsuario == NivelUsuario.ADM)
            {
#line default
#line hidden
                BeginContext(1260, 106, true);
                WriteLiteral("                <div class=\"col-2 text-center box-prod-menu \" id=\"menu-venda-lista\">\r\n                    ");
                EndContext();
                BeginContext(1366, 86, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "8ded98b96de34a927c326cecb08ec6eb820745a18579", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1452, 189, true);
                WriteLiteral("\r\n                    <p class=\"text-center\">Vendas</p>\r\n                </div>\r\n                <div class=\"col-2 text-center box-prod-menu \" id=\"menu-venda-Estoque\">\r\n                    ");
                EndContext();
                BeginContext(1641, 85, false);
                __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "8ded98b96de34a927c326cecb08ec6eb820745a110116", async() => {
                }
                                                                            );
                __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                if (!__tagHelperExecutionContext.Output.IsContentModified)
                {
                    await __tagHelperExecutionContext.SetOutputContentAsync();
                }
                Write(__tagHelperExecutionContext.Output);
                __tagHelperExecutionContext = __tagHelperScopeManager.End();
                EndContext();
                BeginContext(1726, 82, true);
                WriteLiteral("\r\n                    <p class=\"text-center\">Estoque</p>\r\n                </div>\r\n");
                EndContext();
#line 52 "D:\Projetos\wellhz1n\Expoceep\Expoceep\Expoceep\Views\Vendas\Index.cshtml"
            }


#line default
#line hidden
            BeginContext(1834, 8, true);
            WriteLiteral("        ");
            EndContext();
            BeginContext(2367, 28, true);
            WriteLiteral("\r\n\r\n    </div>\r\n\r\n</div>\r\n\r\n");
            EndContext();
        }