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
/
WorkPlan
/
Edit File Name :
_MyActivitiesList.cshtml
@using PagedList.Mvc; @model PagedList.IPagedList<RER_Project.DataAccess.ViewModels.WorkPlan.WorkPlanViewModel> @{ ViewBag.Title = "My Activity List"; } @if (Model[0].Fn_WorkPlanDetailViewList.Count > 0) { <div class="table-responsive" style="margin-top: 16px;"> @foreach (var group in Model[0].Fn_WorkPlanDetailViewList.GroupBy(x => x.FiscalYear)) { <h4 style="background-color: #e9e9e9; padding: 8px 8px;">@group.Key</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>Unit</th> <th>Q1 Target vs Assigned vs Progress</th> <th>Q2 Target vs Assigned vs Progress</th> <th>Q3 Target vs Assigned vs Progress</th> <th>Q4 Target vs Assigned vs Progress</th> <th>Status</th> <th>Actions</th> <th> </th> </tr> </thead> <tbody> @foreach (var item in Model[0].Fn_WorkPlanDetailViewList.Where(x => x.FiscalYear == group.Key)) { <tr> <td>@item.Component</td> <td>@item.SubComponent</td> <td>@item.Activity</td> <td>@item.UnitName</td> <th>@item.FirstQuaterQuantity / @item.FirstQuaterAssign / @item.FirstQuaterProgress</th> <th>@item.SecondQuaterQuantity / @item.SecondQuaterAssign / @item.SecondQuaterProgress</th> <th>@item.ThirdQuaterQuantity / @item.ThirdQuaterAssign / @item.ThirdQuaterProgress</th> <th>@item.FourthQuaterQuantity / @item.FourthQuaterAssign / @item.FourthQuaterProgress</th> <th>@item.Status</th> <td><a class="btn btn-default btn-sm" onclick="showDetails(@item.AssignedTo,@item.ActivityId)" title="Set Work Plan">Set Work Plan</a></td> <td> <img src="~/Images/plus.png" /> <div style="display:none"> <table class="ChildGrid footable table table-hover"> <tr> <th>Assigned To</th> <th>Sub Task</th> <th>Is Event</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> </tr> <tr> <td colspan="16"> <center> <strong>( Target / Achieved )</strong> </center> </td> </tr> @foreach (var order in Model[0].ActivityMonthWiseReports.Where(x => x.ActivityId == item.ActivityId)) { <tr> <td>@order.PriorityActivityOneSupportName</td> <td>@order.subtask</td> <td> @if (order.is_event) { <p>Yes</p> } else { <p>No</p> } </td> <td>@order.January_Y / @order.January</td> <td>@order.February_Y / @order.February</td> <td>@order.March_Y / @order.March</td> <td>@order.April_Y / @order.April</td> <td>@order.May_Y / @order.May</td> <td>@order.June_Y / @order.June</td> <td>@order.June_Y / @order.July</td> <td>@order.August_Y / @order.August</td> <td>@order.September_Y / @order.September</td> <td>@order.October_Y / @order.October</td> <td>@order.November_Y / @order.November</td> <td>@order.December_Y / @order.December</td> </tr> } </table> </div> </td> </tr> } </tbody> </table> } <div id="myPager" align="center"> @if (Model.Count > 0) { @Html.PagedListPager(Model, page => Url.Action("activities", new { page }), PagedListRenderOptions.ClassicPlusFirstAndLast) } </div> </div> } else { <div><center>No Data</center></div> }
Save