901 lines
52 KiB
Plaintext
901 lines
52 KiB
Plaintext
@*
|
||
the Comment.Category is defined in ProductLCADetail.cshtml
|
||
used by Normal company and Certificate company
|
||
possible value of Category:
|
||
|
||
LCI_Direct_Material,
|
||
LCI_Indirect_Material,
|
||
LCI_Wrap_Material,
|
||
WorkHour,
|
||
PowerUsage,
|
||
WaterUsage,
|
||
Waste_Water,
|
||
Waste_Other,
|
||
Transport,
|
||
WasteTransport,
|
||
Vehicle,
|
||
GasolineEquipment,
|
||
Kitchen_Company,
|
||
Kitchen_Outsourcing,
|
||
Kitchen_Other,
|
||
Refrigerant,
|
||
FireEquipment,
|
||
SteamUsage,
|
||
OtherCompound
|
||
*@
|
||
@using Resources
|
||
@using Weee.Models.ExtensionMethods
|
||
@using Weee.Areas.Certification.Supports
|
||
@using Weee.Models
|
||
|
||
@model Weee.Models.OrganizationLCA
|
||
@{
|
||
ViewBag.Title = Resource.StaticLabelOrganizationLCA;
|
||
Layout = "~/Areas/Certification/Views/Shared/_CertificationLayout.cshtml";
|
||
|
||
var kitchensOwned = Model.KitchenSheet.Where(x => x.Type == LCACommonSurveyForm_Kitchens.KitchenType.owned);
|
||
var kitchensOutsourcing = Model.KitchenSheet.Where(x => x.Type == LCACommonSurveyForm_Kitchens.KitchenType.outsourcing);
|
||
var kitchensOther = Model.KitchenSheet.Where(x => x.Type == LCACommonSurveyForm_Kitchens.KitchenType.other);
|
||
var sources = ViewData["sources"] as Dictionary<int, string>;
|
||
}
|
||
|
||
@section PageStyles {
|
||
@Styles.Render("~/fancybox/css")
|
||
}
|
||
|
||
@section PageScripts {
|
||
@Scripts.Render("~/fancybox")
|
||
@Scripts.Render("~/sticky")
|
||
@Scripts.Render("~/certification/lca/detail")
|
||
}
|
||
|
||
@*<div class="side-bar-top-empty"></div>*@
|
||
@*<div class="side-bar col-xs-2 js-scrollspy">*@
|
||
<html style="scroll-behavior: smooth;">
|
||
<div class="container-fluid">
|
||
<div class="panel row">
|
||
<div class="col-md-2 org-split-left side-bar js-scrollspy">
|
||
<ul id="docs-scroll-hash-nav" class="navbar-nav nav-pills">
|
||
@*<ul id="docs-scroll-hash-nav" class="nav nav-pills nav-stacked nav-float docs-ul">*@
|
||
<li class="nav-item"><a class="active nav-link" href="#lca-detail">@Resource.BasicInfo</a></li>
|
||
<li class="nav-item"><a class="nav-link" href="#total-workhour">@Resource.TotalWorkHours</a></li>
|
||
<li class="nav-item"><a class="nav-link" href="#power-usage">@Resource.PowerUsage</a></li>
|
||
<li class="nav-item"><a class="nav-link" href="#vehicle">@Resource.ParamemterCategoriesVehicle</a></li>
|
||
<li class="nav-item"><a class="nav-link" href="#gasoline">@Resource.DieselEquipment</a></li>
|
||
<li class="nav-item"><a class="nav-link" href="#kitchen-owned">@Resource.Kitchen</a></li>
|
||
<li style="display:none" class="nav-item"><a class="nav-link" href="#kitchen-outsourcing">@Resource.Kitchen (@Resource.Outsourcing)</a></li>
|
||
<li style="display:none" class="nav-item"><a class="nav-link" href="#kitchen-other">@Resource.Kitchen (@Resource.Other)</a></li>
|
||
<li class="nav-item"><a class="nav-link" href="#fire-equipment">@Resource.FireEquipment</a></li>
|
||
<li class="nav-item"><a class="nav-link" href="#refrigerant">@Resource.ContainsRefrigerant</a></li>
|
||
<li class="nav-item"><a class="nav-link" href="#steam-usage">@Resource.SteamUsage</a></li>
|
||
<li class="nav-item"><a class="nav-link" href="#other-compound">@Resource.OtherCompound</a></li>
|
||
<li class="nav-item"><a class="nav-link" href="@Url.Action("OrganizationLcaDetailLifecycleAssmt","LCA", new { id = Model.ID })">@Resource.LifecycleStageAssessment</a></li>
|
||
<li class="nav-item"><a class="nav-link" href="@Url.Action("OrganizationLcaDetailSignificance","LCA", new { id = Model.ID })">@Resource.RASignificance</a></li>
|
||
</ul>
|
||
</div>
|
||
|
||
<div id="docs-scroll-hash-content" class="col-md-10 org-split-right" style="margin-left: auto">
|
||
@*<div id="docs-scroll-hash-content" class="col-xs-10 panel panel-default">*@
|
||
<div id="lca-detail" class="docs-lca-detail">
|
||
<div class="row">
|
||
<div class="col-md-4">
|
||
<label>@(Resource.Starter): </label>
|
||
<span>@Model.LCAStarter</span>
|
||
</div>
|
||
<div class="col-md-4">
|
||
<label>@(Resource.PhoneNumber): </label>
|
||
<span>@Model.LCAStarterPhone</span>
|
||
</div>
|
||
<div class="col-md-4">
|
||
<label>@(Resource.LCAStartDate): </label>
|
||
<span>@Model.StartDate.ToShortDateString()</span>
|
||
</div>
|
||
</div>
|
||
<div class="row">
|
||
<div class="col-md-4">
|
||
<label>@(Resource.Job): </label>
|
||
<span>@Model.LCAStarterJob</span>
|
||
</div>
|
||
<div class="col-md-4">
|
||
<label>@(Resource.Department): </label>
|
||
<span>@Model.LCAStarterDepartment</span>
|
||
</div>
|
||
<div class="col-md-4">
|
||
<label>@(Resource.LCAEndDate): </label>
|
||
<span>@Model.EndDate.ToShortDateString()</span>
|
||
</div>
|
||
</div>
|
||
<div class="row">
|
||
<div class="col-md-4">
|
||
@*<label>@Resource.InterrogationResultReport @Resource.StaticLabelGlobal_And @Resource.CarbonFootprintReport: </label>
|
||
@if (ViewData["templates"] != null)
|
||
{
|
||
<span><a href="@ViewData["templates"]">@Resource.DownloadLink</a></span>
|
||
}*@
|
||
@*<span><a href="@ViewData["UploadZipReply"]">@Resource.UploadZipReply</a></span>*@
|
||
<span><a href="@ViewData["DownloadZipReport"]">@Resource.ZipReport</a></span>
|
||
|
||
@*<label>@(Resource.InterrogationResultReport): </label>
|
||
@if (Model.InterrogationResultUrl != null && Model.InterrogationResultUrl != "")
|
||
{
|
||
//Start CFT-6
|
||
if (Model.InterrogationResultUrl.Contains("Browser_Local"))
|
||
{
|
||
<span><a href="@Model.InterrogationResultUrl.Substring(Model.InterrogationResultUrl.IndexOf("Browser_Local") - 1)">@Resource.DownloadLink</a></span>
|
||
}
|
||
else
|
||
{
|
||
<span><a href="@Model.InterrogationResultUrl">@Resource.DownloadLink</a></span>
|
||
}
|
||
<!--<span><a href="@Model.InterrogationResultUrl">@Resource.DownloadLink</a></span>-->
|
||
//End CFT-6
|
||
}
|
||
*@
|
||
</div>
|
||
<div class="col-md-4">
|
||
@*<label>@(Resource.CarbonFootprintReport): </label>
|
||
@if (Model.CarbonFootprintDocxUrl != null && Model.CarbonFootprintDocxUrl != "")
|
||
{
|
||
//Start CFT-6
|
||
if (Model.CarbonFootprintDocxUrl.Contains("Browser_Local"))
|
||
{
|
||
<span><a href="@Model.CarbonFootprintDocxUrl.Substring(Model.CarbonFootprintDocxUrl.IndexOf("Browser_Local")-1)">@Resource.DownloadLink</a></span>
|
||
}
|
||
else
|
||
{
|
||
<span><a href="@Model.CarbonFootprintDocxUrl">@Resource.DownloadLink</a></span>
|
||
}
|
||
<!--<span><a href="@Model.CarbonFootprintDocxUrl">@Resource.DownloadLink</a></span>-->
|
||
//End CFT -6
|
||
}*@
|
||
</div>
|
||
<div class="col-md-4">
|
||
<label>@Resource.ScheduledVerificationDate: </label>
|
||
|
||
@if (Model.Status == Weee.Models.LCAStatus.Waiting)
|
||
{
|
||
using (Html.BeginForm("OrganizationLcaChangeScheduledVerificationDate", "LCA", new { lcaId = Model.ID }, FormMethod.Post, new { @id = "lca-ChangeScheduledVerificationDate", @class = "docs-inline" }))
|
||
{
|
||
@Html.TextBoxFor(model => model.ScheduledVerificationDate, new { @type = "date" , @Value = Model.ScheduledVerificationDate.HasValue ? Model.ScheduledVerificationDate.Value.ToString("yyyy-MM-dd") : ""})
|
||
}
|
||
}
|
||
else
|
||
{
|
||
<span>@(Model.ScheduledVerificationDate.HasValue ? (Model.ScheduledVerificationDate.Value).ToString("YYYY/MM/DD") : "")</span>
|
||
}
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="message text-danger" style="background-color:yellow">
|
||
@TempData["successMsg"]
|
||
@TempData["errorMsg"]
|
||
</div>
|
||
|
||
@if (Model.Status == Weee.Models.LCAStatus.Waiting)
|
||
{
|
||
<div class="pull-right docs-btn-group">
|
||
<input id="confirm-button" type="button" value="@Resource.Approve" class="header-button" />
|
||
@using (Html.BeginForm("OrganizationLcaConfirm", "LCA", new { lcaId = Model.ID }, FormMethod.Post, new { @id = "lca-confirm", @class = "docs-inline" })) { }
|
||
|
||
<input id="reject-button" type="button" value="@Resource.Reject" class="header-button" />
|
||
@using (Html.BeginForm("OrganizationLcaReject", "LCA", new { lcaId = Model.ID }, FormMethod.Post, new { @id = "lca-reject", @class = "docs-inline" })) { }
|
||
|
||
<button class="header-button" id="upload-button" onclick="showModel()">@Resource.StaticLabelGlobal_Upload</button>
|
||
</div>
|
||
}
|
||
@if (Model.Status == Weee.Models.LCAStatus.Processing)
|
||
{
|
||
<div class="pull-right docs-btn-group">
|
||
<input id="refuse-button" type="button" value="@Resource.Refuse" class="header-button" />
|
||
@using (Html.BeginForm("OrganizationLcaRefuse", "LCA", new { lcaId = Model.ID }, FormMethod.Post, new { @id = "lca-refuse", @class = "docs-inline" })) { }
|
||
</div>
|
||
}
|
||
<div>
|
||
<div>
|
||
<h4 id="total-workhour" class="docs-inline">@Resource.TotalWorkHours - @Resource.DirectStaff</h4>
|
||
<a class="iframe pull-right" href="~/Certification/Comment?lcaId=@(Model.ID)&category=WorkHour" data-fancybox-type="iframe">@Resource.Comment</a>
|
||
<table class="table docs-table">
|
||
<tr class="certification_table_header">
|
||
<th>@Resource.StaticLabelGlobal_Month</th>
|
||
<th>@Resource.WorkerNumber</th>
|
||
<th>@Resource.WorkDays</th>
|
||
<th>@Resource.AverageHourPerDay</th>
|
||
<th>@(Resource.ProportionOfWorkingHours)(%)</th>
|
||
<th>@(Resource.TotalWorkHours)(Hours)</th>
|
||
<th>KgCO2e</th>
|
||
</tr>
|
||
@foreach (var workHour in Model.WorkHourSheet)
|
||
{
|
||
if (workHour.Type.ToString() == "Direct")
|
||
{
|
||
<tr align="right">
|
||
<td>@workHour.MonthLabel()</td>
|
||
<td>@workHour.WorkerNumber.ToString("F0")</td>
|
||
<td>@workHour.WorkDay.ToString("F")</td>
|
||
<td>@workHour.AverageHourPerDay.ToString("F4")</td>
|
||
<td>@((workHour.AverageHourPerDay / 8).ToString("F4"))</td>
|
||
<td>@((workHour.WorkerNumber * workHour.WorkDay * workHour.AverageHourPerDay).ToString("F4"))</td>
|
||
<td>@workHour.KgCO2e.ToString("F4")</td>
|
||
</tr>
|
||
}
|
||
}
|
||
<tr align="right">
|
||
<td>@Resource.Total</td>
|
||
<td>@Model.WorkHourSheet.ToList().GetTotalDirectWorkerNumber().ToString("F0")</td>
|
||
<td>@Model.WorkHourSheet.ToList().GetTotalDirectWorkDay().ToString("F4")</td>
|
||
<td>@Model.WorkHourSheet.ToList().GetTotalDirectAverageHourPerDay().ToString("F4")</td>
|
||
<td>@Model.WorkHourSheet.ToList().GetTotalDirectProportionWorkHour().ToString("F4")</td>
|
||
<td>@Model.WorkHourSheet.ToList().GetTotalDirectWorkHours().ToString("F4")</td>
|
||
<td>@Model.WorkHourSheet.ToList().GetTotalKgCO2e().ToString("F4")</td>
|
||
</tr>
|
||
</table>
|
||
|
||
<h4 class="docs-inline">@Resource.TotalWorkHours - @Resource.IndirectStaff</h4>
|
||
<table class="table docs-table">
|
||
<tr class="certification_table_header">
|
||
<th>@Resource.StaticLabelGlobal_Month</th>
|
||
<th>@Resource.WorkerNumber</th>
|
||
<th>@Resource.WorkDays</th>
|
||
<th>@Resource.AverageHourPerDay</th>
|
||
<th>@(Resource.ProportionOfWorkingHours)(%)</th>
|
||
<th>@(Resource.TotalWorkHours)(Hours)</th>
|
||
<th>KgCO2e</th>
|
||
</tr>
|
||
@foreach (var workHour in Model.WorkHourSheet)
|
||
{
|
||
if (workHour.Type.ToString() == "Indirect")
|
||
{
|
||
<tr align="right">
|
||
<td>@workHour.MonthLabel()</td>
|
||
<td>@workHour.WorkerNumber.ToString("F0")</td>
|
||
<td>@workHour.WorkDay.ToString("F4")</td>
|
||
<td>@workHour.AverageHourPerDay.ToString("F4")</td>
|
||
<td>@((workHour.AverageHourPerDay / 8).ToString("F4"))</td>
|
||
<td>@((workHour.WorkerNumber * workHour.WorkDay * workHour.AverageHourPerDay).ToString("F4"))</td>
|
||
<td>@workHour.KgCO2e.ToString("F4")</td>
|
||
</tr>
|
||
}
|
||
}
|
||
<tr align="right">
|
||
<td>@Resource.Total</td>
|
||
<td>@Model.WorkHourSheet.ToList().GetTotalIndirectWorkerNumber().ToString("F0")</td>
|
||
<td>@Model.WorkHourSheet.ToList().GetTotalIndirectWorkDay().ToString("F4")</td>
|
||
<td>@Model.WorkHourSheet.ToList().GetTotalIndirectAverageHourPerDay().ToString("F4")</td>
|
||
<td>@Model.WorkHourSheet.ToList().GetTotalIndirectProportionWorkHour().ToString("F4")</td>
|
||
<td>@Model.WorkHourSheet.ToList().GetTotalIndirectWorkHours().ToString("F4")</td>
|
||
<td>@Model.WorkHourSheet.ToList().GetTotalKgCO2e().ToString("F4")</td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
|
||
|
||
<div>
|
||
<h4 id="power-usage" class="docs-inline">@Resource.PowerNormal / @Resource.PowerGreen</h4>
|
||
<a class="iframe pull-right" href="~/Certification/Comment?lcaId=@(Model.ID)&category=PowerUsage" data-fancybox-type="iframe">@Resource.Comment</a>
|
||
<table class="table docs-table">
|
||
<tr class="certification_table_header">
|
||
<th>@Resource.StaticLabelGlobal_Month</th>
|
||
<th>@Resource.Peak</th>
|
||
<th>@Resource.HalfPeak</th>
|
||
<th>@Resource.SaturdayHalfPeak</th>
|
||
<th>@Resource.OffPeak</th>
|
||
<th>@Resource.TotalPowerUsage</th>
|
||
<th>@Resource.StaticLabelGlobal_Years</th>
|
||
<th>KgCO2e</th>
|
||
<th>@Resource.StaticLabelEvidenceOfElectronicFile</th>
|
||
</tr>
|
||
@foreach (var powerUsage in Model.PowerUsageSheet)
|
||
{
|
||
<tr>
|
||
<td align="right">@powerUsage.MonthLabel()</td>
|
||
<td align="right">@(powerUsage.Peak.HasValue ? powerUsage.Peak.Value.ToString("F4") : null)</td>
|
||
<td align="right">@(powerUsage.HalfPeak.HasValue ? powerUsage.HalfPeak.Value.ToString("F4") : null)</td>
|
||
<td align="right">@(powerUsage.SaturdayHalfPeak.HasValue ? powerUsage.SaturdayHalfPeak.Value.ToString("F4") : null)</td>
|
||
<td align="right">@(powerUsage.OffPeak.HasValue ? powerUsage.OffPeak.Value.ToString("F4") : null)</td>
|
||
<td align="right">@((powerUsage.Peak.Value + powerUsage.HalfPeak.Value + powerUsage.SaturdayHalfPeak.Value + powerUsage.OffPeak.Value).ToString("F4"))</td>
|
||
<td align="right">@powerUsage.Year</td>
|
||
<td align="right">@powerUsage.KgCO2e.ToString("F4")</td>
|
||
<td>
|
||
@if (!string.IsNullOrEmpty(powerUsage.ReferenceFileLink))
|
||
{<a href="@powerUsage.ReferenceFileLink">@Resource.StaticLabelDownload</a>}
|
||
</td>
|
||
</tr>
|
||
}
|
||
<tr align="right">
|
||
<td>@Resource.Total</td>
|
||
<td>@Model.PowerUsageSheet.ToList().GetTotalPowerPeak().ToString("F4")</td>
|
||
<td>@Model.PowerUsageSheet.ToList().GetTotalPowerHalfPeak().ToString("F4")</td>
|
||
<td>@Model.PowerUsageSheet.ToList().GetTotalPowerSaturdayHalfPeak().ToString("F4")</td>
|
||
<td>@Model.PowerUsageSheet.ToList().GetTotalPowerOffPeak().ToString("F4")</td>
|
||
<td>@Model.PowerUsageSheet.ToList().GetTotalPowerUsage().ToString("F4")</td>
|
||
<td></td>
|
||
<td>@Model.PowerUsageSheet.ToList().GetTotalKgCO2e().ToString("F4")</td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
|
||
<div>
|
||
<h4 id="vehicle" class="docs-inline">@Resource.ParamemterCategoriesVehicle</h4>
|
||
<a class="iframe pull-right" href="~/Certification/Comment?lcaId=@(Model.ID)&category=Vehicle" data-fancybox-type="iframe">@Resource.Comment</a>
|
||
<table class="table docs-table">
|
||
<tr class="certification_table_header">
|
||
<th>@Resource.VehicleVehicleType</th>
|
||
@*<th>@Resource.FactoryAndProcessItems</th>
|
||
<th>@Resource.ResponsibleUnit</th>
|
||
<th>@Resource.OfficialDepotVehicleModel</th>*@
|
||
<th>@Resource.CarPlateNo</th>
|
||
<th>@Resource.Area</th>
|
||
<th>@Resource.FuelType</th>
|
||
<th>@Resource.StaticLabelGlobal_Years</th>
|
||
<th>@Resource.FuelConsumptionDuringInterrogation</th>
|
||
<th>@Resource.RefuelingRecord</th>
|
||
<th>@Resource.OfficialVehiclePhoto</th>
|
||
<th>@Resource.EmitPara</th>
|
||
<th>KgCO2e</th>
|
||
<th>@Resource.SimaproParametersRemark</th>
|
||
</tr>
|
||
|
||
@if (Model.VehicleSheet.Count() == 0)
|
||
{
|
||
<tr>
|
||
<td class="text-center" colspan="13">@Resource.NoData</td>
|
||
</tr>
|
||
}
|
||
|
||
@foreach (var vehicle in Model.VehicleSheet)
|
||
{
|
||
<tr>
|
||
<td>@vehicle.Type.ToString()</td>
|
||
@*<td>@vehicle.ProcessName</td>
|
||
<td>@vehicle.ResponsibleUnit</td>
|
||
<td>@vehicle.Name</td>*@
|
||
<td>@vehicle.CarPlateNo</td>
|
||
<td>
|
||
@(vehicle.Parameter != null && vehicle.Parameter.Area != null ? vehicle.Parameter.Area.DisplayName : "")
|
||
</td>
|
||
<td>
|
||
@(vehicle.Parameter != null && vehicle.Parameter.Type != null ? ViewHelper.GetEntityCategory(vehicle.Parameter.Type.DisplayName) : "")
|
||
</td>
|
||
<td align="right">@(vehicle.Parameter != null ? vehicle.Parameter.Year.ToString() : "")</td>
|
||
<td align="right">@vehicle.Scalar.ToString("F4")</td>
|
||
<td>
|
||
@if (!string.IsNullOrEmpty(vehicle.ReferenceFileUrl))
|
||
{<a href="@vehicle.ReferenceFileUrl">@Resource.StaticLabelDownload</a>}
|
||
</td>
|
||
<td>
|
||
@if (!string.IsNullOrEmpty(vehicle.ReferencePhotoUrl))
|
||
{<a href="@vehicle.ReferencePhotoUrl">@Resource.StaticLabelDownload</a>}
|
||
</td>
|
||
<td align="right">@vehicle.Parameter.CO2Value</td>
|
||
<td align="right">@vehicle.KgCO2e.ToString("F4")</td>
|
||
<td>
|
||
<a class="iframe" href="~/Certification/Parameter/yearly/@vehicle.ParameterID" data-fancybox-type="iframe">@Resource.StaticLabelGlobal_CheckOut</a>
|
||
</td>
|
||
</tr>
|
||
}
|
||
</table>
|
||
</div>
|
||
|
||
<div>
|
||
<h4 id="gasoline" class="docs-inline">@Resource.DieselEquipment</h4>
|
||
<a class="iframe pull-right" href="~/Certification/Comment?lcaId=@(Model.ID)&category=GasolineEquipment" data-fancybox-type="iframe">@Resource.Comment</a>
|
||
<table class="table docs-table">
|
||
<tr class="certification_table_header">
|
||
<th>@Resource.FactoryAndProcessItems</th>
|
||
<th>@Resource.ResponsibleUnit</th>
|
||
<th>@Resource.OilEquipment</th>
|
||
<th>@Resource.Area</th>
|
||
<th>@Resource.FuelType</th>
|
||
<th>@Resource.StaticLabelGlobal_Years</th>
|
||
<th>@(Resource.FuelConsumptionDuringInterrogation)(L)</th>
|
||
<th>@Resource.SupportDocumentOfUsageAmount</th>
|
||
<th>@Resource.EquipmentAndPhoto</th>
|
||
<th>@Resource.EmitPara</th>
|
||
<th>KgCO2e</th>
|
||
<th>@Resource.SimaproParametersRemark</th>
|
||
</tr>
|
||
|
||
@if (Model.GasolineEquipmentSheet.Count() == 0)
|
||
{
|
||
<tr>
|
||
<td class="text-center" colspan="11">@Resource.NoData</td>
|
||
</tr>
|
||
}
|
||
|
||
@foreach (var gasolineEquipment in Model.GasolineEquipmentSheet)
|
||
{
|
||
<tr>
|
||
<td>@gasolineEquipment.ProcessName</td>
|
||
<td>@gasolineEquipment.ResponsibleUnit</td>
|
||
<td>@gasolineEquipment.Name</td>
|
||
<td>
|
||
@(gasolineEquipment.Parameter != null && gasolineEquipment.Parameter.Area != null ? gasolineEquipment.Parameter.Area.DisplayName : "")
|
||
</td>
|
||
<td>
|
||
@(gasolineEquipment.Parameter != null && gasolineEquipment.Parameter.Type != null ? ViewHelper.GetEntityCategory(gasolineEquipment.Parameter.Type.DisplayName) : "")
|
||
</td>
|
||
<td align="right">
|
||
@(gasolineEquipment.Parameter != null ? gasolineEquipment.Parameter.Year.ToString() : "")
|
||
</td>
|
||
<td align="right">@gasolineEquipment.Scalar.ToString("F4")</td>
|
||
<td>
|
||
@if (!string.IsNullOrEmpty(gasolineEquipment.ReferenceFileUrl))
|
||
{<a href="@gasolineEquipment.ReferenceFileUrl">@Resource.StaticLabelDownload</a>}
|
||
</td>
|
||
<td>
|
||
@if (!string.IsNullOrEmpty(gasolineEquipment.ReferencePhotoUrl))
|
||
{<a href="@gasolineEquipment.ReferencePhotoUrl">@Resource.StaticLabelDownload</a>}
|
||
</td>
|
||
<td align="right">@gasolineEquipment.Parameter.CO2Value</td>
|
||
<td align="right">@gasolineEquipment.KgCO2e.ToString("F4")</td>
|
||
<td>
|
||
@if (gasolineEquipment.ParameterID.HasValue)
|
||
{
|
||
<a class="iframe" href="~/Certification/Parameter/yearly/@gasolineEquipment.ParameterID.Value" data-fancybox-type="iframe">@Resource.StaticLabelGlobal_CheckOut</a>
|
||
}
|
||
</td>
|
||
</tr>
|
||
}
|
||
</table>
|
||
</div>
|
||
|
||
<div>
|
||
<h4 id="kitchen-owned" class="docs-inline">@(Resource.Kitchen)</h4>
|
||
<a class="iframe pull-right" href="~/Certification/Comment?lcaId=@(Model.ID)&category=Kitchen_Company" data-fancybox-type="iframe">@Resource.Comment</a>
|
||
<table class="table docs-table">
|
||
<tr class="certification_table_header">
|
||
<th>@Resource.FactoryAndProcessItems</th>
|
||
<th>@Resource.ResponsibleUnit</th>
|
||
<th>@Resource.DeviceName</th>
|
||
<th>@Resource.Area</th>
|
||
<th>@Resource.FuelType</th>
|
||
<th>@Resource.StaticLabelGlobal_Years</th>
|
||
<th>@(Resource.FuelConsumptionDuringInterrogation)(L)</th>
|
||
<th>@Resource.SupportDocumentOfUsageAmount</th>
|
||
<th>@Resource.EquipmentAndPhoto</th>
|
||
<th>@Resource.EmitPara</th>
|
||
<th>KgCO2e</th>
|
||
<th>@Resource.SimaproParametersRemark</th>
|
||
</tr>
|
||
|
||
@if (kitchensOwned.Count() == 0)
|
||
{
|
||
<tr>
|
||
<td class="text-center" colspan="11">@Resource.NoData</td>
|
||
</tr>
|
||
}
|
||
|
||
@foreach (var kitchen in kitchensOwned)
|
||
{
|
||
<tr>
|
||
<td>@kitchen.ProcessName</td>
|
||
<td>@kitchen.ResponsibleUnit</td>
|
||
<td>@kitchen.Name</td>
|
||
<td>
|
||
@(kitchen.Parameter != null && kitchen.Parameter.Area != null ? kitchen.Parameter.Area.DisplayName : "")
|
||
</td>
|
||
<td>
|
||
@(kitchen.Parameter != null && kitchen.Parameter.Type != null ? ViewHelper.GetEntityCategory(kitchen.Parameter.Type.DisplayName) : "")
|
||
</td>
|
||
<td align="right">
|
||
@(kitchen.Parameter != null ? kitchen.Parameter.Year.ToString() : "")
|
||
</td>
|
||
<td align="right">@kitchen.Scalar.ToString("F4")</td>
|
||
<td>
|
||
@if (!string.IsNullOrEmpty(kitchen.ReferenceFileUrl))
|
||
{<a href="@kitchen.ReferenceFileUrl">@Resource.StaticLabelDownload</a>}
|
||
</td>
|
||
<td>
|
||
@if (!string.IsNullOrEmpty(kitchen.ReferencePhotoUrl))
|
||
{<a href="@kitchen.ReferencePhotoUrl">@Resource.StaticLabelDownload</a>}
|
||
</td>
|
||
<td align="right">@kitchen.Parameter.CO2Value</td>
|
||
<td align="right">@kitchen.KgCO2e.ToString("F4")</td>
|
||
<td>
|
||
@if (kitchen.ParameterID.HasValue)
|
||
{
|
||
<a class="iframe" href="~/Certification/Parameter/yearly/@kitchen.ParameterID.Value" data-fancybox-type="iframe">@Resource.StaticLabelGlobal_CheckOut</a>
|
||
}
|
||
</td>
|
||
</tr>
|
||
}
|
||
</table>
|
||
</div>
|
||
|
||
<div style="display:none">
|
||
<h4 id="kitchen-outsourcing" class="docs-inline">@(Resource.Kitchen)(@Resource.Outsourcing)</h4>
|
||
<a class="iframe pull-right" href="~/Certification/Comment?lcaId=@(Model.ID)&category=Kitchen_Outsourcing" data-fancybox-type="iframe">@Resource.Comment</a>
|
||
<table class="table docs-table">
|
||
<tr class="certification_table_header">
|
||
@*<th>@Resource.FactoryAndProcessItems</th>
|
||
<th>@Resource.ResponsibleUnit</th>*@
|
||
<th>@Resource.DeviceName</th>
|
||
<th>@Resource.Area</th>
|
||
<th>@Resource.FuelType</th>
|
||
<th>@Resource.StaticLabelGlobal_Years</th>
|
||
<th>@(Resource.FuelConsumptionDuringInterrogation)(L)</th>
|
||
<th>@Resource.SupportDocumentOfUsageAmount</th>
|
||
<th>@Resource.EquipmentAndPhoto</th>
|
||
<th>KgCO2e</th>
|
||
<th>@Resource.SimaproParametersRemark</th>
|
||
</tr>
|
||
|
||
@if (kitchensOutsourcing.Count() == 0)
|
||
{
|
||
<tr>
|
||
<td class="text-center" colspan="11">@Resource.NoData</td>
|
||
</tr>
|
||
}
|
||
|
||
@foreach (var kitchen in kitchensOutsourcing)
|
||
{
|
||
<tr>
|
||
@*<td>@kitchen.ProcessName</td>
|
||
<td>@kitchen.ResponsibleUnit</td>*@
|
||
<td>@kitchen.Name</td>
|
||
<td>
|
||
@(kitchen.Parameter != null && kitchen.Parameter.Area != null ? kitchen.Parameter.Area.DisplayName : "")
|
||
</td>
|
||
<td>
|
||
@(kitchen.Parameter != null && kitchen.Parameter.Type != null ? ViewHelper.GetEntityCategory(kitchen.Parameter.Type.DisplayName) : "")
|
||
</td>
|
||
<td>
|
||
@(kitchen.Parameter != null ? kitchen.Parameter.Year.ToString() : "")
|
||
</td>
|
||
<td>@kitchen.Scalar.ToString("F4")</td>
|
||
<td>
|
||
@if (!string.IsNullOrEmpty(kitchen.ReferenceFileUrl))
|
||
{<a href="@kitchen.ReferenceFileUrl">@Resource.StaticLabelDownload</a>}
|
||
</td>
|
||
<td>
|
||
@if (!string.IsNullOrEmpty(kitchen.ReferencePhotoUrl))
|
||
{<a href="@kitchen.ReferencePhotoUrl">@Resource.StaticLabelDownload</a>}
|
||
</td>
|
||
<td>@kitchen.KgCO2e.ToString("F4")</td>
|
||
<td>
|
||
@if (kitchen.ParameterID.HasValue)
|
||
{
|
||
<a class="iframe" href="~/Certification/Parameter/yearly/@kitchen.ParameterID.Value" data-fancybox-type="iframe">@Resource.StaticLabelGlobal_CheckOut</a>
|
||
}
|
||
</td>
|
||
</tr>
|
||
}
|
||
</table>
|
||
</div>
|
||
|
||
<div style="display:none">
|
||
<h4 id="kitchen-other" class="docs-inline">@(Resource.Kitchen)(@Resource.Other)</h4>
|
||
<a class="iframe pull-right" href="~/Certification/Comment?lcaId=@(Model.ID)&category=Kitchen_Other" data-fancybox-type="iframe">@Resource.Comment</a>
|
||
<table class="table docs-table">
|
||
<tr class="certification_table_header">
|
||
<th>@Resource.FactoryAndProcessItems</th>
|
||
<th>@Resource.ResponsibleUnit</th>
|
||
<th>@Resource.DeviceName</th>
|
||
<th>@Resource.Area</th>
|
||
<th>@Resource.FuelType</th>
|
||
<th>@Resource.StaticLabelGlobal_Years</th>
|
||
<th>@(Resource.FuelConsumptionDuringInterrogation)(L)</th>
|
||
<th>@Resource.SupportDocumentOfUsageAmount</th>
|
||
<th>@Resource.EquipmentAndPhoto</th>
|
||
<th>KgCO2e</th>
|
||
<th>@Resource.SimaproParametersRemark</th>
|
||
</tr>
|
||
|
||
@if (kitchensOther.Count() == 0)
|
||
{
|
||
<tr>
|
||
<td class="text-center" colspan="11">@Resource.NoData</td>
|
||
</tr>
|
||
}
|
||
|
||
@foreach (var kitchen in kitchensOther)
|
||
{
|
||
<tr>
|
||
<td>@kitchen.ProcessName</td>
|
||
<td>@kitchen.ResponsibleUnit</td>
|
||
<td>@kitchen.Name</td>
|
||
<td>
|
||
@(kitchen.Parameter != null && kitchen.Parameter.Area != null ? kitchen.Parameter.Area.DisplayName : "")
|
||
</td>
|
||
<td>
|
||
@(kitchen.Parameter != null && kitchen.Parameter.Type != null ? ViewHelper.GetEntityCategory(kitchen.Parameter.Type.DisplayName) : "")
|
||
</td>
|
||
<td>
|
||
@(kitchen.Parameter != null ? kitchen.Parameter.Year.ToString() : "")
|
||
</td>
|
||
<td>@kitchen.Scalar.ToString("F4")</td>
|
||
<td>
|
||
@if (!string.IsNullOrEmpty(kitchen.ReferenceFileUrl))
|
||
{<a href="@kitchen.ReferenceFileUrl">@Resource.StaticLabelDownload</a>}
|
||
</td>
|
||
<td>
|
||
@if (!string.IsNullOrEmpty(kitchen.ReferencePhotoUrl))
|
||
{<a href="@kitchen.ReferencePhotoUrl">@Resource.StaticLabelDownload</a>}
|
||
</td>
|
||
<td>@kitchen.KgCO2e.ToString("F4")</td>
|
||
<td>
|
||
@if (kitchen.ParameterID.HasValue)
|
||
{
|
||
<a class="iframe" href="~/Certification/Parameter/yearly/@kitchen.ParameterID.Value" data-fancybox-type="iframe">@Resource.StaticLabelGlobal_CheckOut</a>
|
||
}
|
||
</td>
|
||
</tr>
|
||
}
|
||
</table>
|
||
</div>
|
||
|
||
<div>
|
||
<h4 id="fire-equipment" class="docs-inline">@Resource.FireEquipment</h4>
|
||
<a class="iframe pull-right" href="~/Certification/Comment?lcaId=@(Model.ID)&category=FireEquipment" data-fancybox-type="iframe">@Resource.Comment</a>
|
||
<table class="table docs-table">
|
||
<tr class="certification_table_header">
|
||
@*<th>@Resource.FactoryAndProcessItems</th>
|
||
<th>@Resource.ResponsibleUnit</th>*@
|
||
<th>@Resource.DeviceName</th>
|
||
<th>@Resource.Quantity</th>
|
||
<th>@Resource.EmissionSources</th>
|
||
<th>@(Resource.UsageAmount)(kg)</th>
|
||
<th>@Resource.Notes</th>
|
||
<th>@Resource.EmitPara</th>
|
||
<th>KgCO2e</th>
|
||
<th>@Resource.SimaproParametersRemark</th>
|
||
</tr>
|
||
|
||
@if (Model.FireEquipmentSheet.Count() == 0)
|
||
{
|
||
<tr>
|
||
<td class="text-center" colspan="9">@Resource.NoData</td>
|
||
</tr>
|
||
}
|
||
|
||
@foreach (var fireEquipment in Model.FireEquipmentSheet)
|
||
{
|
||
<tr>
|
||
@*<td>@fireEquipment.ProcessName</td>
|
||
<td>@fireEquipment.ResponsibleUnit</td>*@
|
||
<td>@fireEquipment.Name</td>
|
||
<td align="right">@fireEquipment.Quantity</td>
|
||
<td>
|
||
@(fireEquipment.ARnGWP != null ? fireEquipment.ARnGWP.ingredientName : "")
|
||
</td>
|
||
<td align="right">@fireEquipment.Scalar.ToString("F4")</td>
|
||
<td>@fireEquipment.Description</td>
|
||
<td align="right">
|
||
@(fireEquipment.ARnGWP != null ? (Model.ARversion == "AR4" ? fireEquipment.ARnGWP.AR4GWP100.ToString()
|
||
: Model.ARversion == "AR5" ? fireEquipment.ARnGWP.AR5GWP100.ToString()
|
||
: Model.ARversion == "AR6" ? fireEquipment.ARnGWP.AR6GWP100.ToString() : "0" ) : "0"))
|
||
</td>
|
||
<td align="right">@fireEquipment.KgCO2e.ToString("F4")</td>
|
||
<td>
|
||
@if (fireEquipment.ParameterID.HasValue)
|
||
{
|
||
<a class="iframe" href="~/Certification/Parameter/nonYearly/@fireEquipment.ParameterID.Value" data-fancybox-type="iframe">@Resource.StaticLabelGlobal_CheckOut</a>
|
||
}
|
||
</td>
|
||
</tr>
|
||
}
|
||
</table>
|
||
</div>
|
||
|
||
<div>
|
||
<h4 id="refrigerant" class="docs-inline">@Resource.RefrigerantEquipment</h4>
|
||
<a class="iframe pull-right" href="~/Certification/Comment?lcaId=@(Model.ID)&category=Refrigerant" data-fancybox-type="iframe">@Resource.Comment</a>
|
||
<table class="table docs-table">
|
||
<tr class="certification_table_header">
|
||
<th>@Resource.FactoryAndProcessItems</th>
|
||
@*<th>@Resource.ResponsibleUnit</th>*@
|
||
<th>@Resource.DeviceName</th>
|
||
<th>@Resource.MaterialType</th>
|
||
<th>@Resource.UnitsNumberOfWholeFactory</th>
|
||
<th>@(Resource.OriginalFillingAmountOfRefrigerant)(kg)</th>
|
||
<th>@Resource.UsedMonth</th>
|
||
<th>@Resource.TypeOfRefrigerant</th>
|
||
<th>GWP</th>
|
||
<th>@Resource.DeviceTypeAndEmissionFactor</th>
|
||
<th>@Resource.EmitPara</th>
|
||
<th>KgCO2e</th>
|
||
<th>@Resource.SimaproParametersRemark</th>
|
||
</tr>
|
||
|
||
@if (Model.RefrigerantSheet.Count() == 0)
|
||
{
|
||
<tr>
|
||
<td class="text-center" colspan="10">@Resource.NoData</td>
|
||
</tr>
|
||
}
|
||
|
||
@foreach (var refrigerant in Model.RefrigerantSheet)
|
||
{
|
||
<tr>
|
||
<td>@refrigerant.ProcessName</td>
|
||
@*<td>@refrigerant.ResponsibleUnit</td>*@
|
||
<td>@refrigerant.Name</td>
|
||
<td>@refrigerant.ModelNumber</td>
|
||
<td align="right">@refrigerant.TotalNumber</td>
|
||
<td align="right">@refrigerant.Scalar.ToString("F4")</td>
|
||
<td align="right">@refrigerant.UsedMonth</td>
|
||
<td>
|
||
@(refrigerant.ARnGWP != null ? refrigerant.ARnGWP.ingredientName : "")
|
||
</td>
|
||
<td align="right">
|
||
@(refrigerant.ARnGWP != null ? (Model.ARversion == "AR4" ? refrigerant.ARnGWP.AR4GWP100.ToString()
|
||
: Model.ARversion == "AR5" ? refrigerant.ARnGWP.AR5GWP100.ToString()
|
||
: Model.ARversion == "AR6" ? refrigerant.ARnGWP.AR6GWP100.ToString() : "0" ) : "0"))
|
||
</td>
|
||
<td>
|
||
@(refrigerant.Factor != null && refrigerant.Factor.Type != null ? refrigerant.Factor.Type.DisplayName : "")
|
||
</td>
|
||
<td align="right">@refrigerant.Factor.Value</td>
|
||
<td align="right">@refrigerant.KgCO2e.ToString("F4")</td>
|
||
<td>
|
||
@if (refrigerant.ParameterID.HasValue)
|
||
{
|
||
<a class="iframe" href="~/Certification/Parameter/nonYearly/@refrigerant.ParameterID.Value" data-fancybox-type="iframe">@Resource.StaticLabelGlobal_CheckOut</a>
|
||
}
|
||
</td>
|
||
</tr>
|
||
}
|
||
</table>
|
||
</div>
|
||
|
||
<div>
|
||
<h4 id="steam-usage" class="docs-inline">@Resource.SteamUsage</h4>
|
||
<a class="iframe pull-right" href="~/Certification/Comment?lcaId=@(Model.ID)&category=SteamUsage" data-fancybox-type="iframe">@Resource.Comment</a>
|
||
<table class="table docs-table">
|
||
<tr class="certification_table_header">
|
||
<th>@Resource.StaticLabelGlobal_Month</th>
|
||
<th>@(Resource.UsageAmount)(Kg)</th>
|
||
<th>@Resource.StaticLabelGlobal_Years</th>
|
||
<th>KgCO2e</th>
|
||
<th>@Resource.EvidenceEBooks</th>
|
||
<th>@Resource.SimaproParametersRemark</th>
|
||
</tr>
|
||
@foreach (var steam in Model.SteamUsageSheet)
|
||
{
|
||
<tr>
|
||
<td align="right">@steam.MonthLabel()</td>
|
||
<td align="right">@steam.Scalar.ToString("F4")</td>
|
||
<td align="right">
|
||
@(steam.Parameter != null ? steam.Parameter.Year.ToString() : "")
|
||
</td>
|
||
<td align="right">@steam.KgCO2e</td>
|
||
<td>
|
||
@if (!string.IsNullOrEmpty(steam.ReferenceFileLink))
|
||
{<a href="@steam.ReferenceFileLink">@Resource.StaticLabelDownload</a>}
|
||
</td>
|
||
<td>
|
||
@if (steam.ParameterID.HasValue)
|
||
{
|
||
<a class="iframe" href="~/Certification/Parameter/yearly/@steam.ParameterID.Value" data-fancybox-type="iframe">@Resource.StaticLabelGlobal_CheckOut</a>
|
||
}
|
||
</td>
|
||
</tr>
|
||
}
|
||
<tr align="right">
|
||
<td>@Resource.Total</td>
|
||
<td>@Model.SteamUsageSheet.ToList().GetTotalSteamUsage().ToString("F4")</td>
|
||
<td></td>
|
||
<td>@Model.SteamUsageSheet.ToList().GetTotalKgCO2e().ToString("F4")</td>
|
||
<td></td>
|
||
<td></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
|
||
|
||
<div>
|
||
<h4 id="other-compound" class="docs-inline">@Resource.OtherCompound</h4>
|
||
<a class="iframe pull-right" href="~/Certification/Comment?lcaId=@(Model.ID)&category=OtherCompound" data-fancybox-type="iframe">@Resource.Comment</a>
|
||
<table class="table docs-table">
|
||
<tr class="certification_table_header">
|
||
<th>@Resource.FactoryAndProcessItems</th>
|
||
<th>@Resource.ResponsibleUnit</th>
|
||
<th>@Resource.DeviceName</th>
|
||
<th>@Resource.EmissionSources</th>
|
||
<th>@Resource.CO2Factor</th>
|
||
<th>@Resource.UsageAmount</th>
|
||
<th>@Resource.RefuelingRecord</th>
|
||
<th>@Resource.StaticLabelGlobal_Remark</th>
|
||
<th>@Resource.KgCO2e (KgCO2e)</th>
|
||
</tr>
|
||
@foreach (var other in Model.OtherCompound)
|
||
{
|
||
<tr>
|
||
<td>@other.ProcessName</td>
|
||
<td>@other.ResponsibleUnit</td>
|
||
<td>@other.Name</td>
|
||
<td>@other.ingredientName</td>
|
||
<td align="right">@other.CO2Factor</td>
|
||
<td align="right">@other.Scalar.ToString("F4")</td>
|
||
<td>
|
||
@if (!string.IsNullOrEmpty(other.ReferenceFileUrl))
|
||
{<a href="@other.ReferenceFileUrl">@Resource.StaticLabelDownload</a>}
|
||
</td>
|
||
<td>@other.Description</td>
|
||
<td align="right">@other.KgCO2e.ToString("F4")</td>
|
||
</tr>
|
||
}
|
||
@if (Model.OtherCompound.Count() == 0)
|
||
{
|
||
<tr>
|
||
<td class="text-center" colspan="9">@Resource.NoData</td>
|
||
</tr>
|
||
}
|
||
</table>
|
||
</div>
|
||
|
||
@if (Model.Status == Weee.Models.LCAStatus.Waiting)
|
||
{
|
||
<div class="pull-right docs-btn-group">
|
||
<input id="confirm-button2" type="button" value="@Resource.Approve" class="header-button" />
|
||
@using (Html.BeginForm("OrganizationLcaConfirm", "LCA", new { lcaId = Model.ID }, FormMethod.Post, new { @id = "lca-confirm2", @class = "docs-inline" })) { }
|
||
|
||
<input id="reject-button2" type="button" value="@Resource.Reject" class="header-button" />
|
||
@using (Html.BeginForm("OrganizationLcaReject", "LCA", new { lcaId = Model.ID }, FormMethod.Post, new { @id = "lca-reject2", @class = "docs-inline" })) { }
|
||
|
||
<button class="header-button" id="upload-button" onclick="showModel()">@Resource.StaticLabelGlobal_Upload</button>
|
||
</div>
|
||
}
|
||
@if (Model.Status == Weee.Models.LCAStatus.Processing)
|
||
{
|
||
<div class="pull-right docs-btn-group">
|
||
<input id="refuse-button2" type="button" value="@Resource.Refuse" class="header-button" />
|
||
@using (Html.BeginForm("OrganizationLcaRefuse", "LCA", new { lcaId = Model.ID }, FormMethod.Post, new { @id = "lca-refuse2", @class = "docs-inline" })) { }
|
||
</div>
|
||
}
|
||
|
||
<div class="pull-right docs-btn-group">
|
||
<div class="row">
|
||
<div class="col-lg-12"> </div>
|
||
</div>
|
||
<div class="row">
|
||
<div class="col-lg-12"> </div>
|
||
</div>
|
||
<div class="row">
|
||
<div class="col-lg-12"> </div>
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
@using (Html.BeginForm("OrganizationLcaUploadFile", "LCA", new { lcaId = Model.ID }, FormMethod.Post, new { enctype = "multipart/form-data" }))
|
||
{
|
||
|
||
<div class="table_edit_wrap transition show_table_edit" id="file-upload" style="display: none; width: 100%; height: calc(100vh + 150px); background-color: rgb(128,128,128, 0.6); position: fixed; z-index: 1001;margin-top: -150px">
|
||
<div>
|
||
<div class="edit_form" style="z-index: 1001; position: fixed; margin: auto; left: 0; right: 0; top: 30%; background-color: #eeeeee; width: 500px; border: 1px solid #bbb; border-radius: 5px; padding-bottom: 20px; box-shadow: 1px 1px 1px 1px #ddd; height: 140px;">
|
||
<div style="float:right;margin: 10px 10px;cursor: pointer;" onclick="cancel()">
|
||
<img src="~/Browser_Local/img/header_image7_1.png" alt="close" />
|
||
</div>
|
||
<div id="upload-file-result-msg" style="padding: 20px 0 10px 10px;">上传文件:</div>
|
||
<div style="margin-left: 30px;">
|
||
<input id="fileUpload" type="file" name="uploadedFile" />
|
||
<input type="submit" value="@Resource.StaticLabelImport" class="btn btn-default" />
|
||
</div>
|
||
<p style="color:red;margin-top: 0;margin-left:28px;">仅支持的文件类型:zip</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
}
|
||
</div>
|
||
</html>
|
||
<script>
|
||
function cancel() {
|
||
let box = document.getElementById('file-upload');
|
||
box.style.display = 'none';
|
||
}
|
||
</script>
|
||
@Scripts.Render("~/jQuery")
|
||
@Scripts.Render("~/bootstrap")
|
||
<script>
|
||
function showModel() {
|
||
var model = document.getElementById("file-upload");
|
||
model.style.display = "block";
|
||
}
|
||
</script>
|