tiseza_oss_live/obj/Release/Package/PackageTmp/Views/NewCOI/ApplicationStatusExtension....

176 lines
8.3 KiB
Plaintext
Raw Normal View History

2025-11-15 11:14:31 +00:00

@{
ViewBag.Title = "Index";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<link rel="stylesheet" type="text/css" href="~/Content/plugins/table/datatable/datatables.css">
<link rel="stylesheet" type="text/css" href="~/Content/plugins/table/datatable/custom_dt_html5.css">
<link rel="stylesheet" type="text/css" href="~/Content/plugins/table/datatable/dt-global_style.css">
<div class="col-lg-12 layout-spacing">
<div class="statbox widget box box-shadow">
<div class="widget-header">
<div class="row">
<div class="col-md-12 col-sm-12 col-12">
<br />
<h5 class="text-primary font-weight-bold"> &nbsp; Application Status <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-right"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg> Project Profiles </h5>
<hr class="text-primary /">
</div>
</div>
<div class="col-xl-12 col-lg-12 col-sm-12 layout-spacing">
<div class="widget-content widget-content-area br-6">
<h6 class="text-primary">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-right-circle"><circle cx="12" cy="12" r="10"></circle><polyline points="12 16 16 12 12 8"></polyline><line x1="8" y1="12" x2="16" y2="12"></line></svg> &nbsp;Application Details
</h6>
<br />
<table class="table table-bordered table-condensed table-hover table-striped">
<thead>
<tr><td>Company Name</td><td>@Session["CompanyName"]</td></tr>
<tr><td>Project Name</td><td>@Session["ProjectName"]</td></tr>
<tr><td> Appication No </td><td>@Session["ProjectCode"]</td></tr>
<tr><td> Appication Type </td><td>@Session["ApplicationType"]</td></tr>
<tr><td>Submitted Date</td><td>@Session["ApplicationDate"]</td></tr>
<tr><td>Comment</td><td>@Session["Comment"]</td></tr>
<tr>
<td>
</td>
<td>
<a class="btn btn-danger btn-lg mt-2 " href="/NewCOI/AttachmentsExtensionDeffered"><blink>Click here to rectify corrections and re-submit<blink></a>
&nbsp;<a class="btn btn-primary btn-lg mt-2 " href="/NewCOI/ExtensionIndex">Go back</a>
</td>
</tr>
@*@if (@ViewData["Attachment"].ToString() != "NA")
{
<tr><td>Attachment</td><td><a target="_blank" href="DisplayPDF?ApplicationID=@ViewData["ApplicationID"]&ServiceTypeID=@ViewData["ServiceTypeID"]">Download Attachment</a></td></tr>
}*@
</thead>
<tbody></tbody>
</table>
</div>
</div>
<div class="col-xl-12 col-lg-12 col-sm-12 layout-spacing">
<div class="widget-content widget-content-area br-6">
<h6 class="text-primary">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-right-circle"><circle cx="12" cy="12" r="10"></circle><polyline points="12 16 16 12 12 8"></polyline><line x1="8" y1="12" x2="16" y2="12"></line></svg> &nbsp; Amendment History
</h6>
<hr class="text-primary" />
@(Html.DevExtreme().DataGrid<OSS.Models.ApplicationManager>
()
.DataSource(ds => ds.WebApi()
.RouteName("CompanyProfile")
.LoadAction("GetApprovedProjectsByUser")
.Key("ProjectCode")
//.InsertAction("Post")
.LoadParams(new { Username = Session["CompanyEmail"].ToString() })
)
.RemoteOperations(true)
.AllowColumnResizing(true)
.ShowRowLines(true)
.Columns(columns =>
{
columns.AddFor(m => m.ProjectName).Visible(true).SortOrder(SortOrder.Desc);
columns.AddFor(m => m.ProjectCode).AllowEditing(false);
columns.AddFor(m => m.ServiceName);
columns.AddFor(m => m.Station);
columns.AddFor(m => m.EvaluationStatus).DataField("EvaluationStatus").Caption("Approved Status").CellTemplate(@<text>
<% if(data.EvaludationStatus=="Approved")
{%>
<a href="#"><div class="btn btn-outline-success">Approved</div></a>
<% }
%>
</text>);
}).SearchPanel(f => f.Visible(true)
.SearchVisibleColumnsOnly(true)
.HighlightSearchText(true)
).Paging(p => p.PageSize(10))
.HeaderFilter(f => f.Visible(true))
.SearchPanel(t => t.SearchVisibleColumnsOnly(true).Visible(true))
.Editing(e => e
.AllowAdding(false)
.AllowUpdating(false)
.AllowAdding(false).Mode(GridEditMode.Popup)
.Popup(p => p
.Title("Company Profile")
.ShowTitle(true)
.Width(800)
.Height(300)
.Position(pos => pos
.My(HorizontalAlignment.Center, VerticalAlignment.Center)
.At(HorizontalAlignment.Center, VerticalAlignment.Center)
.Of(new JS("window"))
)
)
.UseIcons(true)
.Form(f => f
.ID("GetControlNo")
.ColCount(2)
.Items(items =>
{
items.AddGroup()
.Items(groupItems =>
{
groupItems.AddSimpleFor(m => m.CompanyName);
groupItems.AddSimpleFor(m => m.EvaluationStatus);
groupItems.AddSimpleFor(m => m.EvaluationStatus);
});
items.AddGroup()
.Items(groupItems =>
{
groupItems.AddSimpleFor(m => m.CompanyName);
groupItems.AddSimpleFor(m => m.EvaluationStatus);
});
})
)
)
)
</div>
</div>
</div>
</div>
</div>