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
/
VITA
/
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>Shrawan</th> <th>Bhadra</th> <th>Asoj</th> <th>Kartik</th> <th>Mangsir</th> <th>Poush</th> <th>Magh</th> <th>Falgun</th> <th>Chaitra</th> <th>Baishakh</th> <th>Jestha</th> <th>Asar</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.ShrawanQ / @item.Shrawan</td> <td>@item.BhadraQ / @item.Bhadra</td> <td>@item.AsojQ / @item.Aswin</td> <td>@item.KartikQ / @item.Kartik</td> <td>@item.MangsirQ / @item.Mansir</td> <td>@item.PoushQ / @item.Poush</td> <td>@item.MaghQ / @item.Magh</td> <td>@item.FalgunQ / @item.Falgun</td> <td>@item.ChaitraQ / @item.Chaitra</td> <td>@item.BaishakhQ / @item.Baishakh</td> <td>@item.JesthaQ / @item.Jestha</td> <td>@item.AsarQ / @item.Asar</td> <td> @(item.ShrawanQ + item.BhadraQ + item.AsojQ + item.KartikQ + item.MangsirQ + item.PoushQ + item.MaghQ + item.FalgunQ + item.ChaitraQ + item.BaishakhQ + item.JesthaQ + item.AsarQ) / @(item.Shrawan + item.Bhadra + item.Aswin + item.Kartik + item.Mansir + item.Poush + item.Magh + item.Falgun + item.Chaitra + item.Baishakh + item.Jestha + item.Asar) </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