#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(30, 110, true); WriteLiteral(" \n<!-- Simple view used when a user doesn\'t have authorization to access a resource -->\n<h2>Access Denied: "); EndContext(); BeginContext(142, 30, false); #line 4 "D:\github\Demo\CSharp\sample\security\CustomPolicyProvider\Views\Account\Denied.cshtml" Write(User?.Identity?.Name ?? "User"); #line default #line hidden EndContext(); BeginContext(173, 139, true); WriteLiteral(" is not authorized to view this page.</h2>\n\n<!-- Show the current user\'s date of birth (if such a claim exists) for debugging purposes -->\n"); EndContext(); #line 7 "D:\github\Demo\CSharp\sample\security\CustomPolicyProvider\Views\Account\Denied.cshtml" var dateOfBirth = User?.FindFirst(c => c.Type == ClaimTypes.DateOfBirth)?.Value; #line default #line hidden BeginContext(402, 19, true); WriteLiteral("<h3>Date of birth: "); EndContext(); BeginContext(423, 28, false); #line 10 "D:\github\Demo\CSharp\sample\security\CustomPolicyProvider\Views\Account\Denied.cshtml" Write(dateOfBirth ?? "<Undefined>"); #line default #line hidden EndContext(); BeginContext(452, 20, true); WriteLiteral("</h3>\n\n<ul>\n <li>"); EndContext(); BeginContext(473, 40, false); #line 13 "D:\github\Demo\CSharp\sample\security\CustomPolicyProvider\Views\Account\Denied.cshtml" Write(Html.ActionLink("Home", "Index", "Home")); #line default #line hidden EndContext(); BeginContext(513, 14, true); WriteLiteral("</li>\n <li>"); EndContext(); BeginContext(528, 49, false); #line 14 "D:\github\Demo\CSharp\sample\security\CustomPolicyProvider\Views\Account\Denied.cshtml" Write(Html.ActionLink("Sign Out", "Signout", "Account")); #line default #line hidden EndContext(); BeginContext(577, 11, true); WriteLiteral("</li>\n</ul>"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(38, 2, true); WriteLiteral("\r\n"); EndContext(); #line 3 "C:\Users\umemura\Documents\CSharpProjects\AccessChat\chat\chat\Views\Home\Components\ChatView\Default.cshtml" Layout = null; #line default #line hidden BeginContext(67, 2, true); WriteLiteral("\r\n"); EndContext(); #line 7 "C:\Users\umemura\Documents\CSharpProjects\AccessChat\chat\chat\Views\Home\Components\ChatView\Default.cshtml" int i = 1; foreach (chat.Models.Chat m in Model) { #line default #line hidden BeginContext(141, 167, true); WriteLiteral(" <div class=\"panel panel-default\" style=\"margin-top:5px;margin-bottom:5px;\">\r\n <div class=\"panel-heading\">\r\n <label class=\"text-left\">"); EndContext(); BeginContext(309, 11, false); #line 14 "C:\Users\umemura\Documents\CSharpProjects\AccessChat\chat\chat\Views\Home\Components\ChatView\Default.cshtml" Write(m.User.Name); #line default #line hidden EndContext(); BeginContext(320, 3, true); WriteLiteral(" / "); EndContext(); BeginContext(324, 6, false); #line 14 "C:\Users\umemura\Documents\CSharpProjects\AccessChat\chat\chat\Views\Home\Components\ChatView\Default.cshtml" Write(m.Date); #line default #line hidden EndContext(); BeginContext(330, 10, true); WriteLiteral("</label>\r\n"); EndContext(); #line 15 "C:\Users\umemura\Documents\CSharpProjects\AccessChat\chat\chat\Views\Home\Components\ChatView\Default.cshtml" if (Model.Count() == i) { #line default #line hidden BeginContext(430, 71, true); WriteLiteral(" <span class=\"label label-primary\">New!</span>\r\n"); EndContext(); #line 20 "C:\Users\umemura\Documents\CSharpProjects\AccessChat\chat\chat\Views\Home\Components\ChatView\Default.cshtml" } i++; #line default #line hidden BeginContext(569, 2, true); WriteLiteral("\r\n"); EndContext(); #line 24 "C:\Users\umemura\Documents\CSharpProjects\AccessChat\chat\chat\Views\Home\Components\ChatView\Default.cshtml" if (int.Parse(User.FindFirst("UserId").Value) == m.UserId) { #line default #line hidden BeginContext(667, 62, true); WriteLiteral(" <div class=\"pull-right\">\r\n "); EndContext(); BeginContext(729, 59, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "8692d539dd6618febcd6ee01f112a4e59efa29a36796", async() => { } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper); BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "alt", 1, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes); #line 27 "C:\Users\umemura\Documents\CSharpProjects\AccessChat\chat\chat\Views\Home\Components\ChatView\Default.cshtml" AddHtmlAttributeValue("", 739, m.ChatId, 739, 9, false); #line default #line hidden EndAddHtmlAttributeValues(__tagHelperExecutionContext); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(788, 26, true); WriteLiteral("\r\n </div>\r\n"); EndContext(); #line 29 "C:\Users\umemura\Documents\CSharpProjects\AccessChat\chat\chat\Views\Home\Components\ChatView\Default.cshtml" } #line default #line hidden BeginContext(833, 96, true); WriteLiteral(" </div>\r\n \r\n <div class=\"panel-body\">\r\n "); EndContext(); BeginContext(930, 6, false); #line 33 "C:\Users\umemura\Documents\CSharpProjects\AccessChat\chat\chat\Views\Home\Components\ChatView\Default.cshtml" Write(m.Talk); #line default #line hidden EndContext(); BeginContext(936, 38, true); WriteLiteral("\r\n </div>\r\n </div>\r\n"); EndContext(); #line 36 "C:\Users\umemura\Documents\CSharpProjects\AccessChat\chat\chat\Views\Home\Components\ChatView\Default.cshtml" } #line default #line hidden BeginContext(984, 162, true); WriteLiteral("\r\n<script>\r\n\r\n //削除\r\n //送信ボタン\r\n $(\'img\').click(function () {\r\n var id = $(this).attr(\"alt\");\r\n $.get(\'/api/Chat/\'+id);\r\n })\r\n</script>\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(122, 2, true); WriteLiteral("\r\n"); EndContext(); #line 6 "C:\Users\vmadmin123\source\repos\OrderMyFoodApp\src\Web\WebMvc\Views\Shared\_LoginPartial.cshtml" if (User.FindFirst(x => x.Type == "preferred_username") != null) { #line default #line hidden BeginContext(251, 99, true); WriteLiteral(" <section class=\"col-lg-4 col-md-5 col-xs-12\">\r\n <div class=\"esh-identity\">\r\n "); EndContext(); BeginContext(350, 1296, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "59383c9ffa9e4224b5640ca92d82b01b", async() => { BeginContext(465, 111, true); WriteLiteral("\r\n <section class=\"esh-identity-section\">\r\n\r\n <div class=\"esh-identity-name\">"); EndContext(); BeginContext(577, 57, false); #line 14 "C:\Users\vmadmin123\source\repos\OrderMyFoodApp\src\Web\WebMvc\Views\Shared\_LoginPartial.cshtml" Write(User.FindFirst(x => x.Type == "preferred_username").Value); #line default #line hidden EndContext(); BeginContext(634, 8, true); WriteLiteral("</div>\r\n"); EndContext(); BeginContext(724, 20, true); WriteLiteral(" "); EndContext(); BeginContext(744, 62, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "8a92806959504ed198ceb9986e3a3511", 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); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(806, 107, true); WriteLiteral("\r\n </section>\r\n\r\n <section class=\"esh-identity-drop\">\r\n\r\n "); EndContext(); BeginContext(913, 331, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "e82c417d40e740d292fbc3ff6f8f52f8", async() => { BeginContext(1032, 125, true); WriteLiteral("\r\n\r\n <div class=\"esh-identity-name esh-identity-name--upper\">My orders</div>\r\n "); EndContext(); BeginContext(1157, 61, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "316a040112ac43f0a1a85a9166134fd7", 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_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1218, 22, true); WriteLiteral("\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (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(1244, 269, true); WriteLiteral(@" <a class=""esh-identity-item"" href=""javascript:document.getElementById('logoutForm').submit()""> <div class=""esh-identity-name esh-identity-name--upper"">Log Out</div> "); EndContext(); BeginContext(1513, 58, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "2fe6e4ca88da479394eee1e8f643fb87", 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_6); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1571, 68, true); WriteLiteral("\r\n </a>\r\n </section>\r\n "); 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); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Area = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_11); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_12); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1646, 34, true); WriteLiteral("\r\n </div>\r\n </section>\r\n"); EndContext(); BeginContext(1682, 50, true); WriteLiteral(" <section class=\"col-lg-1 col-xs-12\">\r\n "); EndContext(); BeginContext(1733, 73, false); #line 43 "C:\Users\vmadmin123\source\repos\OrderMyFoodApp\src\Web\WebMvc\Views\Shared\_LoginPartial.cshtml" Write(await Component.InvokeAsync("Cart", new { user = UserManager.Get(User) })); #line default #line hidden EndContext(); BeginContext(1806, 18, true); WriteLiteral("\r\n </section>\r\n"); EndContext(); #line 45 "C:\Users\vmadmin123\source\repos\OrderMyFoodApp\src\Web\WebMvc\Views\Shared\_LoginPartial.cshtml" } else { #line default #line hidden BeginContext(1838, 210, true); WriteLiteral(" <section class=\"col-lg-4 col-md-5 col-xs-12\">\r\n <div class=\"esh-identity\">\r\n <section class=\"esh-identity-section\">\r\n <div class=\"esh-identity-item\">\r\n\r\n "); EndContext(); BeginContext(2048, 168, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "27d3d414f43a4bf6a8d153f5594c8c3f", async() => { BeginContext(2159, 53, true); WriteLiteral("\r\n Login\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Area = (string)__tagHelperAttribute_7.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_7); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_14); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2216, 82, true); WriteLiteral("\r\n </div>\r\n </section>\r\n </div>\r\n </section>\r\n"); EndContext(); BeginContext(2300, 52, true); WriteLiteral(" <section class=\"col-lg-1 col-xs-12\"></section>\r\n"); EndContext(); #line 63 "C:\Users\vmadmin123\source\repos\OrderMyFoodApp\src\Web\WebMvc\Views\Shared\_LoginPartial.cshtml" } #line default #line hidden }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(40, 2, true); WriteLiteral("\r\n"); EndContext(); #line 3 "C:\Users\Student\Desktop\SWP\SWP\SWP\Swp\Swp\Views\Zolnierz\Index.cshtml" ViewData["Title"] = "Ewidencja"; IEnumerable <Swp.Model.Uzytkownik> logged = ViewData["Logged"] as IEnumerable <Swp.Model.Uzytkownik>; #line default #line hidden BeginContext(192, 36, true); WriteLiteral("\r\n<h2>Ewidencja pododdziału</h2>\r\n\r\n"); EndContext(); #line 10 "C:\Users\Student\Desktop\SWP\SWP\SWP\Swp\Swp\Views\Zolnierz\Index.cshtml" if (logged.Where(z => z.Iduzytkownika.ToString() == User.FindFirst(System.Security.Claims.ClaimTypes.NameIdentifier).Value).Select(a => a.IdroliNavigation.Nazwa).FirstOrDefault() == "Administrator") { #line default #line hidden BeginContext(432, 17, true); WriteLiteral(" <p>\r\n "); EndContext(); BeginContext(449, 32, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "8a3c47ebaaf04f02baa72d92de0aa441", async() => { BeginContext(472, 5, true); WriteLiteral("Dodaj"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(481, 12, true); WriteLiteral("\r\n </p>\r\n"); EndContext(); #line 15 "C:\Users\Student\Desktop\SWP\SWP\SWP\Swp\Swp\Views\Zolnierz\Index.cshtml" } #line default #line hidden BeginContext(496, 373, true); WriteLiteral(@" <table class=""table""> <thead> <tr> <th> Żołnierz </th> <th> Numer telefonu </th> <th> Grupa </th> <th></th> </tr> </thead> <tbody> "); EndContext(); #line 33 "C:\Users\Student\Desktop\SWP\SWP\SWP\Swp\Swp\Views\Zolnierz\Index.cshtml" foreach (var item in Model) { #line default #line hidden BeginContext(926, 72, true); WriteLiteral(" <tr>\r\n <td>\r\n "); EndContext(); BeginContext(999, 63, false); #line 37 "C:\Users\Student\Desktop\SWP\SWP\SWP\Swp\Swp\Views\Zolnierz\Index.cshtml" Write(Html.DisplayFor(modelItem => item.StopnieSlownik[item.Stopien])); #line default #line hidden EndContext(); BeginContext(1062, 1, true); WriteLiteral(" "); EndContext(); BeginContext(1064, 39, false); #line 37 "C:\Users\Student\Desktop\SWP\SWP\SWP\Swp\Swp\Views\Zolnierz\Index.cshtml" Write(Html.DisplayFor(modelItem => item.Imie)); #line default #line hidden EndContext(); BeginContext(1103, 1, true); WriteLiteral(" "); EndContext(); BeginContext(1105, 43, false); #line 37 "C:\Users\Student\Desktop\SWP\SWP\SWP\Swp\Swp\Views\Zolnierz\Index.cshtml" Write(Html.DisplayFor(modelItem => item.Nazwisko)); #line default #line hidden EndContext(); BeginContext(1148, 79, true); WriteLiteral("\r\n </td>\r\n <td>\r\n "); EndContext(); BeginContext(1228, 48, false); #line 40 "C:\Users\Student\Desktop\SWP\SWP\SWP\Swp\Swp\Views\Zolnierz\Index.cshtml" Write(Html.DisplayFor(modelItem => item.Numertelefonu)); #line default #line hidden EndContext(); BeginContext(1276, 79, true); WriteLiteral("\r\n </td>\r\n <td>\r\n "); EndContext(); BeginContext(1356, 60, false); #line 43 "C:\Users\Student\Desktop\SWP\SWP\SWP\Swp\Swp\Views\Zolnierz\Index.cshtml" Write(Html.DisplayFor(modelItem => item.IdgrupyNavigation.Idgrupy)); #line default #line hidden EndContext(); BeginContext(1416, 29, true); WriteLiteral("\r\n </td>\r\n"); EndContext(); #line 45 "C:\Users\Student\Desktop\SWP\SWP\SWP\Swp\Swp\Views\Zolnierz\Index.cshtml" if (logged.Where(z => z.Iduzytkownika.ToString() == User.FindFirst(System.Security.Claims.ClaimTypes.NameIdentifier).Value).Select(a => a.IdroliNavigation.Nazwa).FirstOrDefault() == "Administrator") { #line default #line hidden BeginContext(1689, 60, true); WriteLiteral(" <td>\r\n\r\n "); EndContext(); BeginContext(1749, 71, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "4443f6d3a17b40a082c783787ea8966e", async() => { BeginContext(1806, 10, true); WriteLiteral("Informacje"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 49 "C:\Users\Student\Desktop\SWP\SWP\SWP\Swp\Swp\Views\Zolnierz\Index.cshtml" WriteLiteral(item.Idzolnierza); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"], 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(1820, 32, true); WriteLiteral(" |\r\n "); EndContext(); BeginContext(1852, 64, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "3f273f4b1c8f44748b2c7df23a7a88dc", async() => { BeginContext(1906, 6, true); WriteLiteral("Edytuj"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_2.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_2); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 50 "C:\Users\Student\Desktop\SWP\SWP\SWP\Swp\Swp\Views\Zolnierz\Index.cshtml" WriteLiteral(item.Idzolnierza); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"], 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(1916, 32, true); WriteLiteral(" |\r\n "); EndContext(); BeginContext(1948, 64, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "131d5dfe610a4078a42ec98bd89fa679", async() => { BeginContext(2004, 4, true); WriteLiteral("Usuń"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 51 "C:\Users\Student\Desktop\SWP\SWP\SWP\Swp\Swp\Views\Zolnierz\Index.cshtml" WriteLiteral(item.Idzolnierza); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"], 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(2012, 33, true); WriteLiteral("\r\n </td>\r\n"); EndContext(); #line 53 "C:\Users\Student\Desktop\SWP\SWP\SWP\Swp\Swp\Views\Zolnierz\Index.cshtml" } #line default #line hidden BeginContext(2068, 20, true); WriteLiteral(" "); EndContext(); #line 54 "C:\Users\Student\Desktop\SWP\SWP\SWP\Swp\Swp\Views\Zolnierz\Index.cshtml" if (logged.Where(z => z.Iduzytkownika.ToString() == User.FindFirst(System.Security.Claims.ClaimTypes.NameIdentifier).Value).Select(a => a.IdroliNavigation.Nazwa).FirstOrDefault() == "Sluzba") { #line default #line hidden BeginContext(2305, 60, true); WriteLiteral(" <td>\r\n\r\n "); EndContext(); BeginContext(2365, 71, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9a18b34e5307487c9825f90fe42fe453", async() => { BeginContext(2422, 10, true); WriteLiteral("Informacje"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); if (__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues == null) { throw new InvalidOperationException(InvalidTagHelperIndexerAssignment("asp-route-id", "Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper", "RouteValues")); } BeginWriteTagHelperAttribute(); #line 58 "C:\Users\Student\Desktop\SWP\SWP\SWP\Swp\Swp\Views\Zolnierz\Index.cshtml" WriteLiteral(item.Idzolnierza); #line default #line hidden __tagHelperStringValueBuffer = EndWriteTagHelperAttribute(); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"] = __tagHelperStringValueBuffer; __tagHelperExecutionContext.AddTagHelperAttribute("asp-route-id", __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.RouteValues["id"], 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(2436, 33, true); WriteLiteral("\r\n </td>\r\n"); EndContext(); #line 60 "C:\Users\Student\Desktop\SWP\SWP\SWP\Swp\Swp\Views\Zolnierz\Index.cshtml" } #line default #line hidden BeginContext(2492, 23, true); WriteLiteral(" </tr>\r\n"); EndContext(); #line 62 "C:\Users\Student\Desktop\SWP\SWP\SWP\Swp\Swp\Views\Zolnierz\Index.cshtml" } #line default #line hidden BeginContext(2532, 32, true); WriteLiteral(" </tbody>\r\n </table>\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(65, 2, true); WriteLiteral("\r\n"); EndContext(); #line 3 "E:\web\cnpm\code\WareHouseSystem\WareHouseSystem\Views\TraNhaCungCap\Index.cshtml" ViewData["Title"] = "Trả Nhà Cung Cấp"; #line default #line hidden BeginContext(116, 830, true); WriteLiteral(@"<div class=""content-wrapper""> <!-- Content Header (Page header) --> <section class=""content-header""> <h1> Quản Lý Kho </h1> <ol class=""breadcrumb""> <li><a href=""#""> Trang Chủ</a></li> <li>Kho Hàng</li> <li>Trả Hàng</li> <li class=""active"">Nhà Cung Cấp</li> </ol> </section> <section class=""content"" style=""background-color: white;margin: 10px;border-radius: 5px ""> <div class=""row""> <div class=""col-md-12""> <div style=""padding:10px""> <label style=""font-size: 18px"">Danh Sách Phiếu Trả Hàng Nhà Cung Cấp</label> <span style=""padding-left:1px;float:right""> <a class=""btn btn-block btn-primary"" style=""cursor: pointer;"" data-toggle=""modal"" data-target=""#myModal""> <i class=""fa fa-plus"" aria-hidden=""true""></i> Thêm Mới </a> </span> "); EndContext(); #line 30 "E:\web\cnpm\code\WareHouseSystem\WareHouseSystem\Views\TraNhaCungCap\Index.cshtml" var check = int.Parse(User.FindFirst("Quyen").Value); #line default #line hidden BeginContext(1011, 5, true); WriteLiteral("\t\t\t\t\t"); EndContext(); #line 31 "E:\web\cnpm\code\WareHouseSystem\WareHouseSystem\Views\TraNhaCungCap\Index.cshtml" if (check == 0 || check == -1) { #line default #line hidden BeginContext(1057, 41, true); WriteLiteral("\t\t\t\t\t\t<span style=\"float:right\">\r\n\t\t\t\t\t\t\t"); EndContext(); BeginContext(1098, 152, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b39a67bceb6c34cf0924198c7bb60f74e31494d76160", async() => { BeginContext(1154, 92, true); WriteLiteral("\r\n\t\t\t\t\t\t\t\t<i class=\"fa fa-file-excel-o\" aria-hidden=\"true\"></i>\r\n\t\t\t\t\t\t\t\tXuất Excel\r\n\t\t\t\t\t\t\t"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1250, 17, true); WriteLiteral("\r\n\t\t\t\t\t\t</span>\r\n"); EndContext(); #line 39 "E:\web\cnpm\code\WareHouseSystem\WareHouseSystem\Views\TraNhaCungCap\Index.cshtml" } #line default #line hidden BeginContext(1275, 168, true); WriteLiteral("\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</div><!-- row -->\r\n\t\t<div class=\"row\">\r\n\t\t\t<div class=\"col-xs-12\">\r\n\t\t\t\t<div class=\"box\" style=\"padding:10px\">\r\n\t\t\t\t\t<div hidden id=\"quyen\">"); EndContext(); BeginContext(1444, 40, false); #line 46 "E:\web\cnpm\code\WareHouseSystem\WareHouseSystem\Views\TraNhaCungCap\Index.cshtml" Write(int.Parse(User.FindFirst("Quyen").Value)); #line default #line hidden EndContext(); BeginContext(1484, 34, true); WriteLiteral("</div>\r\n\t\t\t\t\t<div hidden id=\"kho\">"); EndContext(); BeginContext(1519, 38, false); #line 47 "E:\web\cnpm\code\WareHouseSystem\WareHouseSystem\Views\TraNhaCungCap\Index.cshtml" Write(int.Parse(User.FindFirst("Kho").Value)); #line default #line hidden EndContext(); BeginContext(1557, 2096, true); WriteLiteral(@"</div> <table id=""example2"" class=""table table-bordered table-hover"" style=""width:100%""> <thead> <tr> <th>ID</th> <th> Ngày Lập </th> <th> Mã Phiếu Trả </th> <th> Nhà Kho </th> <th> Nhà Cung Cấp </th> <th> Phiếu Nhập </th> <th> Nhân Viên </th> <th> Số Lượng </th> <th> Trạng Thái </th> </tr> </thead> </table> </div> </div> </div><!-- /.row --> </section> <div class=""modal fade"" id=""myModal"" role=""dialog""> <div class=""modal-dialog modal-lg""> <!-- Modal content--> <div class=""modal-content""> <div class=""modal-header""> <button type=""button"" class=""close"" data-dismiss=""modal"">×</button> <h4 class=""modal-title"">Phiếu Nhập</h4> <div> <a class=""btn btn-block btn-primary"" data-toggle" ); WriteLiteral(@"=""modal"" data-target=""#myModal1""> <i class=""fa fa-search"" aria-hidden=""true""></i> Tìm Phiếu Từ Imei </a> </div> </div> <div class=""modal-body""> <table id=""example1"" class=""table table-bordered table-hover""> <thead> <tr> <th>ID</th> <th> Mã Phiếu Nhập </th> <th> Nhà Cung Cấp </th> <th> Kho </th> </tr> </thead> </table> </div> </div> </div> </div> <div class=""modal fade"" id=""myModal1"" role=""dialog""> <div class=""modal-dialog modal-lg""> <!-- Modal content--> <div class=""modal-content""> <div class=""modal-header""> <button type=""button"" class=""close"" data-dismiss=""modal"">×</button> <h4 class=""modal-title"">Tìm phiếu theo Imei</h4> </div> <div style=""padding:10px""> <div class=""row""> <div class=""col-md-6""> <div class=""form-group""> <select id=""sanpham"" cla" ); WriteLiteral("ss=\"form-control\" style=\"width:100%\">\r\n\t\t\t\t\t\t\t\t\t"); EndContext(); BeginContext(3653, 52, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("option", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "b39a67bceb6c34cf0924198c7bb60f74e31494d711265", async() => { BeginContext(3670, 26, true); WriteLiteral("--Vui Lòng Chọn Sản Phẩm--"); 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(3705, 956, true); WriteLiteral(@" </select> </div> </div> <div class=""col-md-6""> <div class=""form-group""> <input id=""imei"" class=""form-control"" style=""border-radius:7px"" placeholder=""Nhập Imei Vào Đây"" /> </div> </div> <div class=""col-md-12 text-right""> <div id=""khongthay"" class=""text-danger"" style=""float:left;padding:10px;display:none""></div> <span style=""padding-left:10px""><a onclick=""tim()"" class=""btn btn-info""><i class=""fa fa-search"" aria-hidden=""true""></i> Tìm </a></span> </div> </div> </div> <div class=""modal-body""> <table class=""table table-bordered table-hover""> <thead> <tr> <th> Nhà Cung Cấp </th> <th> Mã Phiếu Xuất </th> </tr> </thead> <tbody id=""tb_imei""></tbody> </table> </div> </div> </div> </div> <!-- Main content --> </div> "); EndContext(); DefineSection("scripts", async() => { BeginContext(4680, 6553, true); WriteLiteral(@" <script> $(document).ready(function () { var quyen = $(""#quyen"").text(); $('#example2').DataTable({ ""scrollX"": true, ""order"": [[1, ""desc""]], ""processing"": true, // for show progress bar ""serverSide"": true, // for process server side ""filter"": true, // this is for disable filter (search box) ""orderMulti"": false, // for disable multiple column at once ""oLanguage"": { ""sSearch"": """", ""sLengthMenu"": ""Hiển Thị _MENU_ dòng"", ""sInfo"": ""Tổng _TOTAL_ dòng - Hiển thị (_START_ đến _END_)"", ""sEmptyTable"": ""Hiện Tại chưa có dữ liệu"", ""oPaginate"": { ""sNext"": ""Trang Trước"", ""sPrevious"": ""Trang Sau"" } }, ""ajax"": { ""url"": ""/TraNhaCungCap/Data"", ""type"": ""POST"", ""datatype"": ""json"" }, ""initComplete"": function (settings, json) { console.log(json); // call your function here }, ""columnDefs"": [{ ""targets"": [0], ""visible"":" ); WriteLiteral(@" false, ""searchable"": false } , { ""targets"": [3], ""visible"": quyen == 0, ""searchable"": false } , { ""targets"": [6], ""visible"": quyen == 0 && quyen == -1, ""searchable"": false }], ""columns"": [ { ""data"": ""id"", ""name"": ""ID"", ""autoWidth"": true }, { ""data"": ""ngayLap"", ""name"": ""NgayLap"", ""autoWidth"": true, ""render"": function (value) { if (value === null) return """"; return moment(value).format('DD/MM/YYYY hh:mm:ss A') } }, { ""data"": ""maTraHang"", ""name"": ""MaTraHang"", ""render"": function (data, type, full, meta) { return '<a href=""/TraNhaCungCap/chi-tiet-phieu-SR' + full.id + '"">' + full.maTraHang + '</a>'; } }, { ""data"": ""tenNhaKho"", ""name"": ""TenNhaKho"", ""autoWidth"": true }, { ""data"": ""tenNhaCungCap"", ""name"": ""TenNhaCungCap"", ""autoWidth"": true }, { ""data"": ""maPhieuNhap"", ""name"": ""MaPhie" ); WriteLiteral(@"uNhap"", ""autoWidth"": true }, { ""data"": ""tenNhanVien"", ""name"": ""TenNhanVien"", ""autoWidth"": true }, { ""data"": ""soLuong"", ""name"": ""SoLuong"", ""autoWidth"": true }, { ""data"": ""trangThai"", ""name"": ""TrangThai"", ""render"": function (data, type, full, meta) { var a; if (full.tt == 0) { a = '<i class=""fa fa-circle text-yellow"" aria-hidden=""true""></i>' } if (full.tt == 1) { a = '<i class=""fa fa-circle text-blue"" aria-hidden=""true""></i>' } if (full.tt == 2) { a = '<i class=""fa fa-circle text-red"" aria-hidden=""true""></i>' } return a + "" "" + full.trangThai; } }, ] }); $('#example1').DataTable({ ""order"": [[1, ""desc""]], ""processing"": true, // for show progress bar ""serverSide"": true, // for process server side ""filter"": true, // this is for disable filter (search box) ""orderMulti"": false, // for disable multiple column at once "); WriteLiteral(@" ""oLanguage"": { ""sSearch"": """", ""sLengthMenu"": ""Hiển Thị _MENU_ dòng"", ""sInfo"": ""Tổng _TOTAL_ dòng - Hiển thị (_START_ đến _END_)"", ""sEmptyTable"": ""Hiện Tại chưa có dữ liệu"", ""oPaginate"": { ""sNext"": ""Trang Trước"", ""sPrevious"": ""Trang Sau"" } }, ""ajax"": { ""url"": ""/TraNhaCungCap/Data1"", ""type"": ""POST"", ""datatype"": ""json"" }, ""initComplete"": function (settings, json) { console.log(json); // call your function here }, ""columnDefs"": [{ ""targets"": [0], ""visible"": false, ""searchable"": false } , { ""targets"": [3], ""visible"": quyen == 0, ""searchable"": false }], ""columns"": [ { ""data"": ""id"", ""name"": ""ID"", ""autoWidth"": true }, { ""data"": ""maPhieuNhap"", ""name"": ""MaPhieuNhap"", ""render"": function (data, type, full, meta) { if (full.traHang == false) { r" ); WriteLiteral(@"eturn '<a href=""/TraNhaCungCap/phieu-nhap-CE' + full.id + '"">' + full.maPhieuNhap + '</a>'; } else { return full.maPhieuNhap ; } } }, { ""data"": ""tenNhaCungCap"", ""name"": ""TenNhaCungCap"", ""autoWidth"": true }, { ""data"": ""tenNhaKho"", ""name"": ""TenNhaKho"", ""autoWidth"": true }, ] }); }); function tim() { var text_sreach = $(""#imei"").val(); var kho = $(""#kho"").text(); $(""#khongthay"").css(""display"", ""none"") $(""#tb_imei"").text(""""); var sanpham = $(""#sanpham"").val(); if (sanpham != """") { if (text_sreach != """") { $.ajax({ url: ""/TraNhaCungCap/ImeiTrongPhieu"", type: ""POST"", dataType: ""json"", data: { imei: text_sreach, kho: kho, sanpham: sanpham }, success: function (data) { if (data != """") { if (data != null) { console.log(data); if (data.traHang == false) { $(""#tb_imei"").append('<tr><td>' + data.ten" ); WriteLiteral(@"NhaCungCap + '</td><td><a href=""/TraNhaCungCap/phieu-nhap-' + data.maPhieuNhap + '"">' + data.maPhieuNhap + '</a></td></tr>') } else { $(""#tb_imei"").append('<tr><td>' + data.tenNhaCungCap + '</td><td>' + data.maPhieuNhap + '</td></tr>') } } else { $(""#khongthay"").css(""display"", ""block"") $(""#khongthay"").text(""Không tìm thấy !!! Vui Lòng Thử Lại""); } } } }) } } else { $(""#khongthay"").css(""display"", ""block"") $(""#khongthay"").text(""Vui Lòng Chọn Sản Phẩm""); } $(""#imei"").val(""""); } $(function () { $(""#example2_filter input,#example1_filter input"").attr(""placeholder"", ""Nhập vào đây để tìm kiếm . . .""); $(""#example2_filter input,#example1_filter input"").css('border-radius', '25px'); $(""#example2_filter input,#example1_filter input"").css(""width"", ""330px""); $(""#sanpham"").select2({ ajax: { url: '/SPham/data_SP', " ); WriteLiteral(@"dataType: ""json"", data: function (params) { return { search: params.term }; }, processResults: function (data) { console.log(data) return { results: $.map(data, function (item) { return { id: item.id, text: item.tenSanPham } }) }; } } }); }) </script> " ); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(56, 2, true); WriteLiteral("\r\n"); EndContext(); #line 3 "E:\web\cnpm\code\WareHouseSystem\WareHouseSystem\Views\Ton\ImeiAll.cshtml" ViewData["Title"] = "Tất Cả Imei"; #line default #line hidden BeginContext(102, 55, true); WriteLiteral("<div class=\"content-wrapper\">\r\n\t<div hidden id=\"quyen\">"); EndContext(); BeginContext(158, 40, false); #line 7 "E:\web\cnpm\code\WareHouseSystem\WareHouseSystem\Views\Ton\ImeiAll.cshtml" Write(int.Parse(User.FindFirst("Quyen").Value)); #line default #line hidden EndContext(); BeginContext(198, 1183, true); WriteLiteral(@"</div> <!-- Content Header (Page header) --> <section class=""content-header""> <h1> Quản Lý Kho </h1> <ol class=""breadcrumb""> <li><a href=""#"">Trang Chủ</a></li> <li>Kho Hàng</li> <li>Hàng Trong Kho</li> <li class=""active"">Tất Cả Imei</li> </ol> </section> <section class=""content"" style=""background-color: white;margin: 10px;border-radius: 5px ""> <div class=""row""> <div class=""col-md-12""> <div style=""padding:10px""> <label style=""font-size: 18px"">Danh Sách Imei </label> </div> </div> </div><!-- row --> <div class=""row""> <div class=""col-xs-12""> <div class=""box"" style=""padding:10px""> <table id=""example2"" class=""table table-bordered table-hover""> <thead> <tr> <th>ID</th> <th> Mã SKU </th> <th> Tên Phiên Bản </th> <th> Imei </th> <th> Nhà Kho </th> <th> Trạng Thái " ); WriteLiteral("\t\t</th>\r\n\t\t\t\t\t\t\t\t<th>\r\n\r\n\t\t\t\t\t\t\t\t</th>\r\n\t\t\t\t\t\t\t</tr>\r\n\t\t\t\t\t\t</thead>\r\n\t\t\t\t\t</table>\r\n\t\t\t\t</div>\r\n\t\t\t</div>\r\n\t\t</div><!-- /.row -->\r\n\t</section>\r\n\r\n</div>\r\n\r\n\r\n"); EndContext(); DefineSection("scripts", async() => { BeginContext(1399, 2502, true); WriteLiteral(@" <script> $(document).ready(function () { var quyen = $(""#quyen"").text(); $(""#example2"").DataTable({ ""processing"": true, // for show progress bar ""serverSide"": true, // for process server side ""filter"": true, // this is for disable filter (search box) ""orderMulti"": false, // for disable multiple column at once ""oLanguage"": { ""sSearch"": """", ""sLengthMenu"": ""Hiển Thị _MENU_ dòng"", ""sInfo"": ""Tổng _TOTAL_ dòng - Hiển thị (_START_ đến _END_)"", ""sEmptyTable"": ""Hiện Tại chưa có dữ liệu"", ""oPaginate"": { ""sNext"": ""Trang Trước"", ""sPrevious"": ""Trang Sau"" } }, ""ajax"": { ""url"": ""/Ton/DataImeiAll"", ""type"": ""POST"", ""datatype"": ""json"" }, ""initComplete"": function (settings, json) { console.log(json); // call your function here }, ""columnDefs"": [{ ""targets"": [0], ""visible"": false, ""searchable"": false }, { ""targets"": [4], ""v" ); WriteLiteral(@"isible"": quyen == 0 , ""searchable"": false },], ""columns"": [ { ""data"": ""id"", ""name"": ""ID"", ""autoWidth"": true }, { ""data"": ""maPhienBan"", ""name"": ""MaSanPham"", ""autoWidth"": true }, { ""data"": ""tenPhienBan"", ""name"": ""TenSanPham"", ""autoWidth"": true }, { ""data"": ""imei"", ""name"": ""Imei"", ""autoWidth"": true }, { ""data"": ""tenNhaKho"", ""name"": ""TenNhaKho"", ""autoWidth"": true }, { ""data"": ""trangThai"", ""name"": ""TrangThai"", ""autoWidth"": true }, { ""data"": ""tenPhienBan"", ""name"": ""TenPhienBan"", ""render"": function (data, type, full, meta) { var a=''; if (full.tt == 1) { a = '<a href=""/PhieuXuat/chi-tiet-phieu-EC' + full.idXuat + '"">EC' + full.idXuat + '</a>' } if (full.tt == 2) { a = '<a href=""/PhieuChuyen/chi-tiet-phieu-SC' + full.idChuyen + '"">SC' + full.idChuyen + '</a>' } if (full.tt == 4) { a = 'EC' + full.idXuat + '' } if (full.tt == 5) { a = '<a hre" ); WriteLiteral(@"f=""/PhieuKiem/chi-tiet-phieu-CC' + full.idKiem + '"">CC' + full.idKiem + '</a>' } if (full.tt == 7) { a = '...' } return a ; } }, ] }); }); $(function () { $(""#example2_filter input"").attr(""placeholder"", ""Nhập vào đây để tìm kiếm . . .""); $(""#example2_filter input"").css('border-radius', '25px'); $(""#example2_filter input"").css(""width"", ""330px""); }); </script> "); EndContext(); } ); BeginContext(3904, 2, true); WriteLiteral("\r\n"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(70, 1, true); WriteLiteral("\n"); EndContext(); #line 3 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" ViewData["Title"] = "Index"; #line default #line hidden BeginContext(106, 104, true); WriteLiteral("\n<style>\n\ttd, th {\n\t\tpadding: 5px;\n\t}\n</style>\n\n<div class=\"content-wrapper\">\n\t<div id=\"success\" hidden>"); EndContext(); BeginContext(211, 19, false); #line 14 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" Write(TempData["success"]); #line default #line hidden EndContext(); BeginContext(230, 7, true); WriteLiteral("</div>\n"); EndContext(); #line 15 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" var quyen = int.Parse(User.FindFirst("Quyen").Value); #line default #line hidden BeginContext(296, 213, true); WriteLiteral("\t<!-- Content Header (Page header) -->\n\t<section class=\"content-header\">\n\t\t<h1>\n\t\t\tQuản Lý Kho\n\t\t</h1>\n\t\t<ol class=\"breadcrumb\">\n\t\t\t<li><a href=\"../pages/index.html\">Trang Chủ</a></li>\n\t\t\t<li>Kho Hàng</li>\n\t\t\t<li>"); EndContext(); BeginContext(509, 65, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "9b75cd12f88cef9349caf9faf815c845d2d708995206", async() => { BeginContext(561, 9, true); WriteLiteral("Trả Hàng "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_0.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_0); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(574, 28, true); WriteLiteral("</li>\n\t\t\t<li class=\"active\">"); EndContext(); BeginContext(603, 19, false); #line 25 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" Write(ViewData["maphieu"]); #line default #line hidden EndContext(); BeginContext(622, 288, true); WriteLiteral(@"</li> </ol> </section> <section class=""content"" style=""margin: 10px;border-radius: 5px ""> <div class=""row""> <div class=""col-md-9 "" style="" padding-bottom: 15px; background-color: white;""> <div class=""row"" style=""padding: 15px 0 15px 0 ""> <div class=""col-md-8""> <b>"); EndContext(); BeginContext(911, 17, false); #line 33 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" Write(ViewData["khach"]); #line default #line hidden EndContext(); BeginContext(928, 5, true); WriteLiteral("</b>\n"); EndContext(); #line 34 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" if (ViewData["trangthai"].Equals(0)) { #line default #line hidden BeginContext(985, 137, true); WriteLiteral("\t\t\t\t\t\t\t<span style=\"background-color: #f39c12;color:white;padding: 4px 10px 4px 10px;border-radius:10px \">\n\t\t\t\t\t\t\t\tĐã Lưu\n\t\t\t\t\t\t\t</span>\n"); EndContext(); #line 39 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" } #line default #line hidden BeginContext(1130, 6, true); WriteLiteral("\t\t\t\t\t\t"); EndContext(); #line 40 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" if (ViewData["trangthai"].Equals(1)) { #line default #line hidden BeginContext(1182, 139, true); WriteLiteral("\t\t\t\t\t\t\t<span style=\"background-color: #7fc3ff;color:white;padding: 4px 10px 4px 10px;border-radius:10px \">\n\t\t\t\t\t\t\t\tHoàn Tất\n\t\t\t\t\t\t\t</span>\n"); EndContext(); #line 45 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" } #line default #line hidden BeginContext(1329, 6, true); WriteLiteral("\t\t\t\t\t\t"); EndContext(); #line 46 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" if (ViewData["trangthai"].Equals(2)) { #line default #line hidden BeginContext(1381, 137, true); WriteLiteral("\t\t\t\t\t\t\t<span style=\"background-color: #dd4b39;color:white;padding: 4px 10px 4px 10px;border-radius:10px \">\n\t\t\t\t\t\t\t\tĐã Xóa\n\t\t\t\t\t\t\t</span>\n"); EndContext(); #line 51 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" } #line default #line hidden BeginContext(1526, 113, true); WriteLiteral("\t\t\t\t\t\t<p style=\"margin:0px\">\n\t\t\t\t\t\t\t<i class=\"fa fa-file-text-o\" aria-hidden=\"true\"></i>\n\t\t\t\t\t\t\tPhiếu Xuất : <b> "); EndContext(); BeginContext(1640, 23, false); #line 54 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" Write(ViewData["maphieuxuat"]); #line default #line hidden EndContext(); BeginContext(1663, 17, true); WriteLiteral(" </b>\n\t\t\t\t\t\t</p>\n"); EndContext(); #line 56 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" if (quyen == 0 || quyen == -1) { #line default #line hidden BeginContext(1726, 96, true); WriteLiteral("\t\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\t\t<i class=\"fa fa-user-o\" aria-hidden=\"true\"></i>\n\t\t\t\t\t\t\t\tNhân Viên : <b>"); EndContext(); BeginContext(1823, 20, false); #line 60 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" Write(ViewData["nhanvien"]); #line default #line hidden EndContext(); BeginContext(1843, 17, true); WriteLiteral("</b>\n\t\t\t\t\t\t\t</p>\n"); EndContext(); #line 62 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" } #line default #line hidden BeginContext(1868, 86, true); WriteLiteral("\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"col-md-4 text-right\"> <i class=\"fa fa-truck fa-2x\"></i> "); EndContext(); BeginContext(1955, 18, false); #line 64 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" Write(ViewData["nhakho"]); #line default #line hidden EndContext(); BeginContext(1973, 72, true); WriteLiteral("</div>\n\t\t\t\t\t<div style=\"padding-right: 10px;float:right;display: flex\">\n"); EndContext(); #line 66 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" if (ViewData["trangthai"].Equals(0) && !ViewData["trangthai"].Equals(2)) { #line default #line hidden BeginContext(2133, 258, true); WriteLiteral(@" <a class=""btn btn-block btn-danger"" data-toggle=""modal"" data-target=""#myModal"" style=""margin-top:5px;border-top-right-radius: initial;border-bottom-right-radius: initial""> <i class=""fa fa-trash"" aria-hidden=""true""></i> Xóa </a> "); EndContext(); #line 72 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" } #line default #line hidden BeginContext(2399, 6, true); WriteLiteral("\t\t\t\t\t\t"); EndContext(); #line 73 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" if (ViewData["trangthai"].Equals(0) || ViewData["trangthai"].Equals(1)) { var In = "/KhachTraHang/in-phieu-CR" + ViewData["id"] + ""; #line default #line hidden BeginContext(2553, 9, true); WriteLiteral("\t\t\t\t\t\t\t<a"); EndContext(); BeginWriteAttribute("href", " href=\"", 2562, "\"", 2572, 1); #line 76 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" WriteAttributeValue("", 2569, In, 2569, 3, false); #line default #line hidden EndWriteAttribute(); BeginContext(2573, 168, true); WriteLiteral(" class=\"btn btn-block btn-primary\" style=\"margin:5px 1px 0px 1px;border-radius: initial\">\n\t\t\t\t\t\t\t\t<i class=\"fa fa-print\" aria-hidden=\"true\"></i>\n\t\t\t\t\t\t\t\tIn\n\t\t\t\t\t\t\t</a>\n"); EndContext(); #line 80 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" } #line default #line hidden BeginContext(2749, 6, true); WriteLiteral("\t\t\t\t\t\t"); EndContext(); #line 81 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" if (ViewData["trangthai"].Equals(0) && !ViewData["trangthai"].Equals(2)) { var Sua = "/KhachTraHang/sua-phieu-CR" + ViewData["id"] + ""; #line default #line hidden BeginContext(2906, 9, true); WriteLiteral("\t\t\t\t\t\t\t<a"); EndContext(); BeginWriteAttribute("href", " href=\"", 2915, "\"", 2926, 1); #line 84 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" WriteAttributeValue("", 2922, Sua, 2922, 4, false); #line default #line hidden EndWriteAttribute(); BeginContext(2927, 198, true); WriteLiteral(" class=\"btn btn-block btn-primary\" style=\"border-top-left-radius: initial;border-bottom-left-radius: initial\">\n\t\t\t\t\t\t\t\t<i class=\"fa fa-pencil-square\" aria-hidden=\"true\"></i>\n\t\t\t\t\t\t\t\tSửa\n\t\t\t\t\t\t\t</a>\n"); EndContext(); #line 88 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" } #line default #line hidden BeginContext(3133, 327, true); WriteLiteral(@" </div> </div> <hr style=""margin-top: 0px;""> <div class=""row""> <table class=""table""> <thead style=""background-color:#f9fafc""> <tr> <th>STT</th> <th>Mã SKU </th> <th>Phiên Bản</th> <th>Imei</th> <th>Đơn Giá</th> </tr> </thead> <tbody> "); EndContext(); #line 104 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" var stt = 0; #line default #line hidden BeginContext(3484, 7, true); WriteLiteral("\t\t\t\t\t\t\t"); EndContext(); #line 105 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" foreach (var item in Model) { #line default #line hidden BeginContext(3529, 13, true); WriteLiteral("\t\t\t\t\t\t\t\t<tr>\n"); EndContext(); #line 108 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" stt++; #line default #line hidden BeginContext(3561, 13, true); WriteLiteral("\t\t\t\t\t\t\t\t\t<td>"); EndContext(); BeginContext(3575, 3, false); #line 109 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" Write(stt); #line default #line hidden EndContext(); BeginContext(3578, 19, true); WriteLiteral("</td>\n\t\t\t\t\t\t\t\t\t<td>"); EndContext(); BeginContext(3598, 68, false); #line 110 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" Write(Html.DisplayFor(modelItem => item.tb_WMS_SanPhamPhienBan.MaPhienBan)); #line default #line hidden EndContext(); BeginContext(3666, 19, true); WriteLiteral("</td>\n\t\t\t\t\t\t\t\t\t<td>"); EndContext(); BeginContext(3686, 69, false); #line 111 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" Write(Html.DisplayFor(modelItem => item.tb_WMS_SanPhamPhienBan.TenPhienBan)); #line default #line hidden EndContext(); BeginContext(3755, 19, true); WriteLiteral("</td>\n\t\t\t\t\t\t\t\t\t<td>"); EndContext(); BeginContext(3775, 51, false); #line 112 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" Write(Html.DisplayFor(modelItem => item.tb_WMS_IMEI.Imei)); #line default #line hidden EndContext(); BeginContext(3826, 19, true); WriteLiteral("</td>\n\t\t\t\t\t\t\t\t\t<td>"); EndContext(); BeginContext(3846, 41, false); #line 113 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" Write(Html.DisplayFor(modelItem => item.DonGia)); #line default #line hidden EndContext(); BeginContext(3887, 25, true); WriteLiteral(" VNĐ</td>\n\n\t\t\t\t\t\t\t\t</tr>\n"); EndContext(); #line 116 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" } #line default #line hidden BeginContext(3921, 177, true); WriteLiteral("\t\t\t\t\t\t</tbody>\n\t\t\t\t\t</table>\n\t\t\t\t</div>\n\t\t\t\t<hr>\n\t\t\t\t<div class=\"row\">\n\t\t\t\t\t<div class=\"col-md-5\">\n\t\t\t\t\t\t<p style=\"padding-right: 40px\"><span>Ghi Chú:</span></p>\n\t\t\t\t\t\t<p><span>"); EndContext(); BeginContext(4099, 18, false); #line 124 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" Write(ViewData["ghichu"]); #line default #line hidden EndContext(); BeginContext(4117, 156, true); WriteLiteral("</span></p>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"col-md-2\"></div>\n\t\t\t\t\t<div class=\"col-md-5\">\n\t\t\t\t\t\t<p><span style=\"padding-right: 24px\">Số Lượng Tổng:</span><span>"); EndContext(); BeginContext(4274, 19, false); #line 128 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" Write(ViewData["soluong"]); #line default #line hidden EndContext(); BeginContext(4293, 80, true); WriteLiteral("</span> </p>\n\t\t\t\t\t\t<p><span style=\"padding-right: 60px\"> Tổng Tiền:</span><span>"); EndContext(); BeginContext(4374, 16, false); #line 129 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" Write(ViewData["tien"]); #line default #line hidden EndContext(); BeginContext(4390, 377, true); WriteLiteral(@"</span><span>VNĐ</span></p> </div> </div> </div> <div class=""col-md-3"" style="" background-color: #ecf0f5;""> <div class=""modal-content""> <div class=""modal-header"" style=""background-color: #f9fafc;padding:10px""> <h4 class=""modal-title ;""> <i class=""fa fa-file-text"" aria-hidden=""true""></i> Trả Hàng <span style=""float:right;""> "); EndContext(); BeginContext(4768, 19, false); #line 140 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" Write(ViewData["maphieu"]); #line default #line hidden EndContext(); BeginContext(4787, 65, true); WriteLiteral(" </span>\n\t\t\t\t\t\t</h4>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"modal-footer\">\n"); EndContext(); #line 144 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" if (ViewData["trangthai"].Equals(0)) { #line default #line hidden BeginContext(4904, 49, true); WriteLiteral("\t\t\t\t\t\t\t<center>\n\t\t\t\t\t\t\t\t<a style=\"cursor:pointer\""); EndContext(); BeginWriteAttribute("onclick", " onclick=\"", 4953, "\"", 4988, 3); WriteAttributeValue("", 4963, "NhanHang(", 4963, 9, true); #line 147 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" WriteAttributeValue("", 4972, ViewData["id"], 4972, 15, false); #line default #line hidden WriteAttributeValue("", 4987, ")", 4987, 1, true); EndWriteAttribute(); BeginContext(4989, 145, true); WriteLiteral(" class=\"btn btn-primary\">\n\t\t\t\t\t\t\t\t\t<i class=\"fa fa-arrow-circle-o-down\" aria-hidden=\"true\"></i>\n\t\t\t\t\t\t\t\t\tNhận Hàng\n\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t</center>\n"); EndContext(); #line 152 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" } #line default #line hidden BeginContext(5142, 555, true); WriteLiteral(@" </div> </div> </div> </div> <!-- /.row --> </section> <div class=""modal fade"" id=""myModal"" role=""dialog""> <div class=""modal-dialog ml-xl""> <!-- Modal content--> <div class=""modal-content""> <div class=""modal-header""> <button type=""button"" class=""close"" data-dismiss=""modal"">×</button> <h4 class=""modal-title"">Xóa Phiếu</h4> </div> <div class=""modal-body""> <textarea class=""form-control"" rows=""5"" id=""lydo"" placeholder=""Lý do xóa . . . ""></textarea> </div> <div class=""modal-footer""> <a"); EndContext(); BeginWriteAttribute("onclick", " onclick=\"", 5697, "\"", 5727, 3); WriteAttributeValue("", 5707, "Xoa(", 5707, 4, true); #line 171 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" WriteAttributeValue("", 5711, ViewData["id"], 5711, 15, false); #line default #line hidden WriteAttributeValue("", 5726, ")", 5726, 1, true); EndWriteAttribute(); BeginContext(5728, 225, true); WriteLiteral(" class=\"btn btn-danger\">Xác nhận xóa</a>\n\t\t\t\t\t<button type=\"button\" class=\"btn btn-secondary\" data-dismiss=\"modal\">Đóng</button>\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t</div>\n\t</div>\n\t<!-- Main content -->\n\n</div><!-- /.content-wrapper -->\n"); EndContext(); DefineSection("Scripts", async() => { BeginContext(5971, 1, true); WriteLiteral("\n"); EndContext(); #line 182 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\ChiTietKhachTraHang\Index.cshtml" await Html.RenderPartialAsync("_ValidationScriptsPartial"); #line default #line hidden BeginContext(6036, 884, true); WriteLiteral(@" <script> $(document).ready(function () { var ok = $(""#success"").text(); if (ok != """") { toastr.options.progressBar = true; toastr.options.timeOut = 1000; // 1s toastr.success('Bạn cập nhật dữ liệu thành công '); } }); function NhanHang(id) { if (id != 0) { $.ajax({ url: ""/ChiTietKhachTraHang/NhanHang"", type: ""POST"", dataType: ""json"", data: { id: id }, success: function (data) { location.reload(); } }) } } function Xoa(id) { if (id != 0) { var lydo = $(""#lydo"").val(); if (lydo != """") { $.ajax({ url: ""/ChiTietKhachTraHang/Xoa"", type: ""POST"", dataType: ""json"", data: { id: id, lydo: lydo }, success: function (data) { location.reload(); } }) } else { alert(""Vui lòng nhập lý do trước khi xóa""); } } } </script> "); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(31, 25, true); WriteLiteral("<!DOCTYPE html>\r\n<html>\r\n"); EndContext(); BeginContext(56, 570, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("head", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1e617084f688d1c949fea0091cb8dc1b6834cb4913929", async() => { BeginContext(62, 293, true); WriteLiteral(@" <meta http-equiv=""Content-Type"" content=""text/html; charset=utf-8"" /> <meta name=""viewport"" content=""width=device-width, initial-scale=1.0""> <meta http-equiv=""X-UA-Compatible"" content=""IE=edge""> <title>Personel Puantaj Sistemi</title> <!-- Bootstrap CSS CDN --> "); EndContext(); BeginContext(355, 88, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "1e617084f688d1c949fea0091cb8dc1b6834cb4914609", 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); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(443, 35, true); WriteLiteral("\r\n <!-- Our Custom CSS -->\r\n "); EndContext(); BeginContext(478, 47, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "1e617084f688d1c949fea0091cb8dc1b6834cb4916128", 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_4); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(525, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(531, 80, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("link", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "1e617084f688d1c949fea0091cb8dc1b6834cb4917443", 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); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(611, 8, true); WriteLiteral(" \r\n\r\n"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_HeadTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.HeadTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_HeadTagHelper); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(626, 2, true); WriteLiteral("\r\n"); EndContext(); BeginContext(628, 3553, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("body", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1e617084f688d1c949fea0091cb8dc1b6834cb4919720", async() => { BeginContext(634, 148, true); WriteLiteral("\r\n <div class=\"wrapper\">\r\n <!-- Sidebar Holder -->\r\n <nav id=\"sidebar\">\r\n <div class=\"sidebar-header\">\r\n "); EndContext(); BeginContext(782, 36, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "1e617084f688d1c949fea0091cb8dc1b6834cb4920259", 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_7); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(818, 166, true); WriteLiteral("\r\n <h4>Personel Puantaj Sistemi</h4>\r\n </div>\r\n <ul class=\"list-unstyled components\">\r\n <li>\r\n "); EndContext(); BeginContext(984, 78, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1e617084f688d1c949fea0091cb8dc1b6834cb4921745", async() => { BeginContext(1042, 16, true); WriteLiteral("Personel Listesi"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_8.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_8); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1062, 67, true); WriteLiteral("\r\n </li>\r\n <li>\r\n "); EndContext(); BeginContext(1129, 71, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1e617084f688d1c949fea0091cb8dc1b6834cb4923477", async() => { BeginContext(1183, 13, true); WriteLiteral("Aylık Puantaj"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_10.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_10); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (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(1200, 25, true); WriteLiteral("\r\n </li>\r\n"); EndContext(); #line 31 "/Users/seyf/Documents/Projeler/Puantaj/sc2/Views/Shared/_Layout.cshtml" if (User.IsInRole("SistemYöneticisi") || User.IsInRole("ÜstDüzeyYetkili") || User.IsInRole("Yetkili")) { #line default #line hidden BeginContext(1365, 50, true); WriteLiteral(" <li>\r\n "); EndContext(); BeginContext(1415, 73, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1e617084f688d1c949fea0091cb8dc1b6834cb4925578", async() => { BeginContext(1470, 14, true); WriteLiteral("Personel Kayıt"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_12.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_12); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1488, 29, true); WriteLiteral("\r\n </li>\r\n"); EndContext(); #line 36 "/Users/seyf/Documents/Projeler/Puantaj/sc2/Views/Shared/_Layout.cshtml" } #line default #line hidden BeginContext(1536, 42, true); WriteLiteral(" <li>\r\n "); EndContext(); BeginContext(1578, 82, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1e617084f688d1c949fea0091cb8dc1b6834cb4927553", async() => { BeginContext(1642, 14, true); WriteLiteral("Şifre Değiştir"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_13.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_13); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1660, 25, true); WriteLiteral("\r\n </li>\r\n"); EndContext(); #line 40 "/Users/seyf/Documents/Projeler/Puantaj/sc2/Views/Shared/_Layout.cshtml" if (User.IsInRole("SistemYöneticisi")) { #line default #line hidden BeginContext(1761, 50, true); WriteLiteral(" <li>\r\n "); EndContext(); BeginContext(1811, 68, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1e617084f688d1c949fea0091cb8dc1b6834cb4929591", async() => { BeginContext(1861, 14, true); WriteLiteral("Kullanıcı Ekle"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_15.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_15); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1879, 79, true); WriteLiteral("\r\n </li>\r\n <li>\r\n "); EndContext(); BeginContext(1958, 70, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1e617084f688d1c949fea0091cb8dc1b6834cb4931337", async() => { BeginContext(2011, 13, true); WriteLiteral("Yetkilendirme"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_16.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_16); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_17.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_17); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(2028, 29, true); WriteLiteral("\r\n </li>\r\n"); EndContext(); #line 48 "/Users/seyf/Documents/Projeler/Puantaj/sc2/Views/Shared/_Layout.cshtml" } #line default #line hidden BeginContext(2076, 1081, true); WriteLiteral(@" </ul> </nav> <!-- Page Content Holder Begin --> <div id=""content""> <nav class=""navbar navbar-expand-lg navbar-light bg-light""> <div class=""container-fluid""> Menü <button type=""button"" id=""sidebarCollapse"" class=""navbar-btn""> <span></span> <span></span> <span></span> </button> <button class=""btn btn-dark d-inline-block d-lg-none ml-auto"" type=""button"" data-toggle=""collapse"" data-target=""#navbarSupportedContent"" aria-controls=""navbarSupportedContent"" aria-expanded=""false"" aria-label=""Toggle navigation""> <i class=""fas fa-align-justify""></i> </button> <div class=""collapse navbar-collapse"" id=""navbarSupportedContent""> <ul class=""nav navbar-nav ml-auto""> <li class=""nav-ite"); WriteLiteral("m\">\r\n <a class=\"nav-link\">"); EndContext(); BeginContext(3158, 37, false); #line 67 "/Users/seyf/Documents/Projeler/Puantaj/sc2/Views/Shared/_Layout.cshtml" Write(User.FindFirst(ClaimTypes.Name).Value); #line default #line hidden EndContext(); BeginContext(3195, 124, true); WriteLiteral("</a>\r\n </li>\r\n <li class=\"nav-item\">\r\n "); EndContext(); BeginContext(3319, 74, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1e617084f688d1c949fea0091cb8dc1b6834cb4934950", async() => { BeginContext(3384, 5, true); WriteLiteral("Çıkış"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_18); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_19.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_19); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_14.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_14); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(3393, 188, true); WriteLiteral("\r\n </li>\r\n </ul>\r\n </div>\r\n </div>\r\n </nav>\r\n <div class=\"main\">\r\n "); EndContext(); BeginContext(3582, 12, false); #line 77 "/Users/seyf/Documents/Projeler/Puantaj/sc2/Views/Shared/_Layout.cshtml" Write(RenderBody()); #line default #line hidden EndContext(); BeginContext(3594, 120, true); WriteLiteral("\r\n </div> \r\n </div>\r\n <!-- Page Content Holder End -->\r\n </div>\r\n\r\n \r\n\r\n "); EndContext(); BeginContext(3714, 42, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1e617084f688d1c949fea0091cb8dc1b6834cb4937359", 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_20); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(3756, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(3762, 48, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1e617084f688d1c949fea0091cb8dc1b6834cb4938598", 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_21); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(3810, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(3816, 45, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1e617084f688d1c949fea0091cb8dc1b6834cb4939837", 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_22); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(3861, 8, true); WriteLiteral("\r\n\r\n "); EndContext(); BeginContext(3869, 45, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1e617084f688d1c949fea0091cb8dc1b6834cb4941080", 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_23); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(3914, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(3920, 45, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1e617084f688d1c949fea0091cb8dc1b6834cb4942319", 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_24); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(3965, 8, true); WriteLiteral("\r\n\r\n "); EndContext(); BeginContext(3973, 41, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1e617084f688d1c949fea0091cb8dc1b6834cb4943562", 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_25); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4014, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(4020, 44, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("script", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1e617084f688d1c949fea0091cb8dc1b6834cb4944801", 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_26); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4064, 8, true); WriteLiteral("\r\n\r\n "); EndContext(); BeginContext(4072, 44, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("partial", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "1e617084f688d1c949fea0091cb8dc1b6834cb4946044", async() => { } ); __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.PartialTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_PartialTagHelper.Name = (string)__tagHelperAttribute_27.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_27); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(4116, 6, true); WriteLiteral("\r\n "); EndContext(); BeginContext(4123, 41, false); #line 96 "/Users/seyf/Documents/Projeler/Puantaj/sc2/Views/Shared/_Layout.cshtml" Write(RenderSection("Scripts", required: false)); #line default #line hidden EndContext(); BeginContext(4164, 10, true); WriteLiteral("\r\n\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(4181, 11, true); WriteLiteral("\r\n\r\n</html>"); EndContext(); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(64, 1, true); WriteLiteral("\n"); EndContext(); #line 3 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\BaoCao\TonKho.cshtml" ViewData["Title"] = "Index"; #line default #line hidden BeginContext(100, 70, true); WriteLiteral("\n<div class=\"content-wrapper\">\n\t<!-- Content Header (Page header) -->\n"); EndContext(); #line 9 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\BaoCao\TonKho.cshtml" var quyen = int.Parse(User.FindFirst("Quyen").Value); #line default #line hidden BeginContext(229, 497, true); WriteLiteral(@" <section class=""content-header""> <h1> Quản Lý Kho </h1> <ol class=""breadcrumb""> <li><a href=""#""> Trang Chủ</a></li> <li>Quản Lý Kho</li> <li>Báo Cáo</li> <li class=""active"">Tồn Kho</li> </ol> </section> <section class=""content"" style=""background-color: white;margin: 10px;border-radius: 5px ""> <div class=""row""> <div class=""col-md-12""> <div style=""padding:10px""> <label style=""font-size: 18px"">Báo Cáo Tồn Kho </label> <span style=""float:right""> "); EndContext(); BeginContext(726, 149, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "5c793127e5420f14224439a09a1bc04d2b81bf925017", async() => { BeginContext(785, 86, true); WriteLiteral("\n\t\t\t\t\t\t\t<i class=\"fa fa-file-excel-o\" aria-hidden=\"true\"></i>\n\t\t\t\t\t\t\tXuất Excel\n\t\t\t\t\t\t"); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper<global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_1.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_1); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(875, 281, true); WriteLiteral(@" </span> </div> </div> </div><!-- row --> <div class=""row"" style=""padding-bottom:20px""> <div class=""col-md-6""> <center> <div style=""margin:0 40px 0 40px;padding:8px 0 8px 0; box-shadow: 0px 0px 10px #b9b6b6""> <p>Tổng Số Lượng Tồn :</p> <p>"); EndContext(); BeginContext(1157, 19, false); #line 40 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\BaoCao\TonKho.cshtml" Write(ViewData["tongton"]); #line default #line hidden EndContext(); BeginContext(1176, 215, true); WriteLiteral("</p>\n\t\t\t\t\t</div>\n\t\t\t\t</center>\n\t\t\t</div>\n\t\t\t<div class=\"col-md-6\">\n\t\t\t\t<center>\n\t\t\t\t\t<div style=\"margin:0 40px 0 40px;padding:8px 0 8px 0;box-shadow: 0px 0px 10px #b9b6b6;\">\n\t\t\t\t\t\t<p>Tổng Giá Trị Tồn :</p>\n\t\t\t\t\t\t<p>"); EndContext(); BeginContext(1392, 22, false); #line 48 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\BaoCao\TonKho.cshtml" Write(ViewData["tonggiatri"]); #line default #line hidden EndContext(); BeginContext(1414, 55, true); WriteLiteral(" VNĐ</p>\n\t\t\t\t\t</div>\n\n\t\t\t\t</center>\n\t\t\t</div>\n\t\t</div>\n"); EndContext(); #line 55 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\BaoCao\TonKho.cshtml" if (quyen == 0) { #line default #line hidden BeginContext(1583, 367, true); WriteLiteral(@" <div class=""row""> <div class=""col-xs-12""> <div class=""box"" style=""padding:10px""> <table id=""example2"" class=""table table-bordered table-hover""> <thead> <tr> <th> Nhà Kho </th> <th> Số Lượng Tồn </th> <th> Giá Trị Tồn </th> </tr> </thead> <tbody> "); EndContext(); #line 75 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\BaoCao\TonKho.cshtml" foreach (var item in Model) { #line default #line hidden BeginContext(1995, 37, true); WriteLiteral("\t\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t\t\t"); EndContext(); BeginContext(2033, 44, false); #line 79 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\BaoCao\TonKho.cshtml" Write(Html.DisplayFor(modelItem => item.TenNhaKho)); #line default #line hidden EndContext(); BeginContext(2077, 40, true); WriteLiteral("\n\t\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t\t\t"); EndContext(); BeginContext(2118, 42, false); #line 82 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\BaoCao\TonKho.cshtml" Write(Html.DisplayFor(modelItem => item.TongTon)); #line default #line hidden EndContext(); BeginContext(2160, 40, true); WriteLiteral("\n\t\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t\t\t"); EndContext(); BeginContext(2201, 45, false); #line 85 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\BaoCao\TonKho.cshtml" Write(Html.DisplayFor(modelItem => item.GiaTriTong)); #line default #line hidden EndContext(); BeginContext(2246, 34, true); WriteLiteral(" VNĐ\n\t\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t</tr>\n"); EndContext(); #line 88 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\BaoCao\TonKho.cshtml" } #line default #line hidden BeginContext(2289, 75, true); WriteLiteral("\n\n\t\t\t\t\t\t</tbody>\n\t\t\t\t\t</table>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div><!-- /.row -->\n"); EndContext(); #line 96 "D:\1. All Download\cnpm-master\WareHouseSystem\Views\BaoCao\TonKho.cshtml" } #line default #line hidden BeginContext(2368, 47, true); WriteLiteral("\t</section>\n\n\t<!-- Main content -->\n\n</div>\n\n\n\n"); EndContext(); DefineSection("Scripts", async() => { BeginContext(2433, 1142, true); WriteLiteral(@" <script> $(document).ready(function () { $.ajax({ url: ""Chart"", method: 'POST', dataType: 'json', success: function (d) { console.log(d.length); var a = []; var b = []; var c = []; $.each(d, function (i, item) { a.push(item.tenNhaKho); c.push(getRandomColor()) }) $.each(d, function (i, item) { b.push(item.tongTon); }) console.log(a) console.log(c) var ctx = document.getElementById('myChart').getContext('2d'); var chart = new Chart(ctx, { // The type of chart we want to create type: 'pie', // The data for our dataset data: { labels: a, datasets: [{ backgroundColor: c, data: b, }] }, // Configuration options go here options: { responsive: true, maintainAspectRatio: false } }); } }) }) function getRandomColor() { var letters = '0123456789ABCDEF'.split(''); var color = '#'; for"); WriteLiteral(" (var i = 0; i < 6; i++) {\n\t\t\t\tcolor += letters[Math.floor(Math.random() * 16)];\n\t\t\t}\n\t\t\treturn color;\n\t\t}\n\t</script>\n"); EndContext(); } ); }
#pragma warning disable 1998 public async override global::System.Threading.Tasks.Task ExecuteAsync() { BeginContext(38, 6, true); WriteLiteral("\r\n\r\n\r\n"); EndContext(); #line 5 "C:\Users\Ainur Dzhaianbaeva\Documents\Kal Academy\JewelsOnContainers\TokenServiceApi\Views\Shared\_LoginPartial.cshtml" if (User.FindFirst(x => x.Type == "preferred_username") != null) { #line default #line hidden BeginContext(116, 99, true); WriteLiteral(" <section class=\"col-lg-4 col-md-5 col-xs-12\">\r\n <div class=\"esh-identity\">\r\n "); EndContext(); BeginContext(215, 945, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("form", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "2fa6ab9eb4e14f7fa264a87f4ac5c570", async() => { BeginContext(330, 111, true); WriteLiteral("\r\n <section class=\"esh-identity-section\">\r\n\r\n <div class=\"esh-identity-name\">"); EndContext(); BeginContext(442, 57, false); #line 13 "C:\Users\Ainur Dzhaianbaeva\Documents\Kal Academy\JewelsOnContainers\TokenServiceApi\Views\Shared\_LoginPartial.cshtml" Write(User.FindFirst(x => x.Type == "preferred_username").Value); #line default #line hidden EndContext(); BeginContext(499, 8, true); WriteLiteral("</div>\r\n"); EndContext(); BeginContext(589, 20, true); WriteLiteral(" "); EndContext(); BeginContext(609, 62, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "1805817a465f4e049573dcaf0a71691f", 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); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(671, 356, true); WriteLiteral(@" </section> <section class=""esh-identity-drop""> <a class=""esh-identity-item"" href=""javascript:document.getElementById('logoutForm').submit()""> <div class=""esh-identity-name esh-identity-name--upper"">Log Out</div> "); EndContext(); BeginContext(1027, 58, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "597d34114bba41b4b58fca1967a1c9de", 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_2); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1085, 68, true); WriteLiteral("\r\n </a>\r\n </section>\r\n "); 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); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Area = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Controller = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Action = (string)__tagHelperAttribute_5.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_5); __Microsoft_AspNetCore_Mvc_TagHelpers_FormTagHelper.Method = (string)__tagHelperAttribute_6.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_6); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_7); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_8); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1160, 34, true); WriteLiteral("\r\n </div>\r\n </section>\r\n"); EndContext(); BeginContext(1196, 52, true); WriteLiteral(" <section class=\"col-lg-1 col-xs-12\"></section>\r\n"); EndContext(); #line 36 "C:\Users\Ainur Dzhaianbaeva\Documents\Kal Academy\JewelsOnContainers\TokenServiceApi\Views\Shared\_LoginPartial.cshtml" } else { #line default #line hidden BeginContext(1262, 210, true); WriteLiteral(" <section class=\"col-lg-4 col-md-5 col-xs-12\">\r\n <div class=\"esh-identity\">\r\n <section class=\"esh-identity-section\">\r\n <div class=\"esh-identity-item\">\r\n\r\n "); EndContext(); BeginContext(1472, 168, false); __tagHelperExecutionContext = __tagHelperScopeManager.Begin("a", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagAndEndTag, "1f3ad8b00205474186581fd5553dde26", async() => { BeginContext(1583, 53, true); WriteLiteral("\r\n Login\r\n "); EndContext(); } ); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.TagHelpers.AnchorTagHelper>(); __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Area = (string)__tagHelperAttribute_3.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_3); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Controller = (string)__tagHelperAttribute_4.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_4); __Microsoft_AspNetCore_Mvc_TagHelpers_AnchorTagHelper.Action = (string)__tagHelperAttribute_9.Value; __tagHelperExecutionContext.AddTagHelperAttribute(__tagHelperAttribute_9); __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_10); await __tagHelperRunner.RunAsync(__tagHelperExecutionContext); if (!__tagHelperExecutionContext.Output.IsContentModified) { await __tagHelperExecutionContext.SetOutputContentAsync(); } Write(__tagHelperExecutionContext.Output); __tagHelperExecutionContext = __tagHelperScopeManager.End(); EndContext(); BeginContext(1640, 82, true); WriteLiteral("\r\n </div>\r\n </section>\r\n </div>\r\n </section>\r\n"); EndContext(); BeginContext(1724, 52, true); WriteLiteral(" <section class=\"col-lg-1 col-xs-12\"></section>\r\n"); EndContext(); #line 54 "C:\Users\Ainur Dzhaianbaeva\Documents\Kal Academy\JewelsOnContainers\TokenServiceApi\Views\Shared\_LoginPartial.cshtml" } #line default #line hidden }