Mr.Combet Webshell
Your IP :
216.73.216.136
Server IP :
103.233.58.157
Server :
Windows NT WIN-4PGF72KEHKB 10.0 build 17763 (Windows Server 2016) AMD64
Server Software :
Microsoft-IIS/10.0
PHP Version :
7.3.25
Add File :
Submit
Add Directory :
Submit
Dir :
C:
/
inetpub
/
wwwroot
/
mapqa
/
Views
/
Home
/
Edit File Name :
_ActivityWiseReportingList.cshtml
@using PagedList.Mvc; @using RER_Project.BusinessLayer.BusinessService @model PagedList.IPagedList<RER_Project.DataAccess.ViewModels.WorkPlan.WorkPlanViewModel> @if (Model[0].FnWorkPlanActivityWiseProgress.Count > 0) { <div class="table-responsive" style="margin-top: 16px;"> @foreach (var group in Model[0].FnWorkPlanActivityWiseProgress.GroupBy(x => new { x.FiscalYear }).OrderByDescending(x => x.Key.FiscalYear)) { <h4 style="background-color: #e9e9e9; padding: 8px 8px;">@group.Key.FiscalYear </h4> <table class="footable table table-hover dataTables" data-page-size="10" data-filter=#filter> <thead> <tr> <th>Component</th> <th>Sub Component</th> <th>Activity</th> <th>January</th> <th>February</th> <th>March</th> <th>April</th> <th>May</th> <th>June</th> <th>July</th> <th>August</th> <th>September</th> <th>October</th> <th>November</th> <th>December</th> <th>Total</th> </tr> </thead> <tbody> @foreach (var item in Model[0].FnWorkPlanActivityWiseProgress.Where(x => x.FiscalYear == group.Key.FiscalYear )) { <tr> <td>@item.Component</td> <td>@item.SubComponent</td> <td>@item.Activity</td> <td>@item.JanuaryQ / @item.January</td> <td>@item.FebruaryQ / @item.February</td> <td>@item.MarchQ / @item.March</td> <td>@item.AprilQ / @item.April</td> <td>@item.MayQ / @item.May</td> <td>@item.JuneQ / @item.June</td> <td>@item.JulyQ / @item.July</td> <td>@item.AugustQ / @item.August</td> <td>@item.SeptemberQ / @item.September</td> <td>@item.OctoberQ / @item.October</td> <td>@item.NovemberQ / @item.November</td> <td>@item.DecemberQ / @item.December</td> <td> @(item.JanuaryQ + item.FebruaryQ + item.MarchQ + item.AprilQ + item.MayQ + item.JuneQ + item.JulyQ + item.AugustQ + item.SeptemberQ + item.OctoberQ + item.NovemberQ + item.DecemberQ) / @(item.January + item.February + item.March + item.April + item.May + item.June + item.July + item.August + item.September + item.October + item.November + item.December) </td> </tr> } </tbody> </table> } <div id="myPager" align="center"> @Html.PagedListPager(Model, page => Url.Action("ActivityWiseIndex", new { page,ViewBag.fyId,ViewBag.componentId,ViewBag.subComponentId }), PagedListRenderOptions.ClassicPlusFirstAndLast) </div> </div> } else { <div><center>No Data</center></div> }
Save