@if (Model.ProductLca.Status == Weee.Models.LCAStatus.Confirmed)
{
}
@Model.ProductLca.LCAStarter
@Model.ProductLca.LCAStarterPhone
@Model.ProductLca.StartDate.ToShortDateString()
@Model.ProductLca.LCAStarterJob
@Model.ProductLca.LCAStarterDepartment
@Model.ProductLca.EndDate.ToShortDateString()
@Model.ProductLca.LCAStarterEmail
@if (Model.ProductLca.InterrogationResultUrl != null && Model.ProductLca.InterrogationResultUrl != "")
{
/*Start CFT-6*/
if (Model.ProductLca.InterrogationResultUrl.Contains("Browser_Local"))
{
@Resource.DownloadLink
}
else
{
@Resource.DownloadLink
}
@*
@Resource.DownloadLink*@
//End CFT-6
}
@if (Model.ProductLca.ProductInventoryResultUrl != null && Model.ProductLca.ProductInventoryResultUrl != "")
{
/*Start CFT-6*/
if (Model.ProductLca.ProductInventoryResultUrl.Contains("Browser_Local"))
{
@Resource.DownloadLink
}
else
{
@Resource.DownloadLink
}
@*
@Resource.DownloadLink*@
//End CFT-6
}
@if (Model.ProductLca.TargetProduct.PhotoUrl != null)
{
/*Start CFT-6*/
if (Model.ProductLca.TargetProduct.PhotoUrl.Contains("Browser_Local"))
{
@Resource.Browse
}
else
{
@Resource.Browse
}
@*
@Resource.Browse*@
//End CFT-6
}
@if (Model.ProductLca.Status == Weee.Models.LCAStatus.Waiting)
{
using (Html.BeginForm("ProductLcaChangeScheduledVerificationDate", "LCA", new { lcaId = Model.ProductLca.ID }, FormMethod.Post, new { @id = "lca-ChangeScheduledVerificationDate", @class = "docs-inline" }))
{
@Html.TextBoxFor(model => model.ProductLca.ScheduledVerificationDate, new { @type = "date", @Value = Model.ProductLca.ScheduledVerificationDate.HasValue ? Model.ProductLca.ScheduledVerificationDate.Value.ToString("yyyy-MM-dd") : "" })
}
}
else
{
@(Model.ProductLca.ScheduledVerificationDate.HasValue ? (Model.ProductLca.ScheduledVerificationDate.Value).ToString("YYYY/MM/DD") : "")
}
@TempData["successMsg"]
@TempData["errorMsg"]
@if (Model.ProductLca.Status == Weee.Models.LCAStatus.Waiting)
{
@using (Html.BeginForm("ProductLcaConfirm", "LCA", new { lcaId = Model.ProductLca.ID }, FormMethod.Post, new { @id = "lca-confirm", @class = "docs-inline" })) { }
@using (Html.BeginForm("ProductLcaReject", "LCA", new { lcaId = Model.ProductLca.ID }, FormMethod.Post, new { @id = "lca-reject", @class = "docs-inline" })) { }
}
@if (Model.ProductLca.Status == Weee.Models.LCAStatus.Processing)
{
@using (Html.BeginForm("ProductLcaRefuse", "LCA", new { lcaId = Model.ProductLca.ID }, FormMethod.Post, new { @id = "lca-refuse", @class = "docs-inline" })) { }
LCI-@Resource.MaterialDirectMaterial
@if (@Model.DirectMaterial.SheetFillerName != null)
{
var sheetheader = Model.DirectMaterial;
}
@Resource.Comment
@if (Model.ProductLca.Materials.Count(x => x.MaterialType.ToString() == "DirectMaterial") == 0)
{
@Resource.NoData |
}
@foreach (var Material in Model.ProductLca.Materials)
{
if (Material.MaterialType.ToString() == "DirectMaterial")
{
@Material.Level |
@Material.PartNumber |
@Material.Name |
@Material.Components |
@Material.Composite |
@Material.Length.ToString("F4") |
@Material.Area.ToString("F4") |
@Material.Scalar.ToString("F4") |
@if (Material.WeightUnit == "mg")
{@Resource.Weight_mg}
@if (Material.WeightUnit == "g")
{@Resource.Weight_g}
@if (Material.WeightUnit == "kg")
{@Resource.Weight_kg}
@if (Material.WeightUnit == "t")
{@Resource.Weight_t}
|
@Material.Volume.ToString("F4") |
@Material.VolumeUnit |
@(Material.Density != null ? ((decimal)Material.Density).ToString("F4") : "") |
@Material.Quantity_BOM.ToString("F4") |
@Material.ActivityIntensity_BOM.ToString("F4") |
@Material.Quantity.ToString("F4") |
@Material.ActivityIntensity.ToString("F4") |
@if (Material.RequestSent != null && Material.RequestSent.ReceiveBy != null)
{@Material.RequestSent.ReceiveBy.Name}
|
@Material.ParameterValue.ToString("F10") |
@if (Material.ParameterSource == 1)
{@Resource.PrimaryData}
@if (Material.ParameterSource == 2)
{@Resource.SecondaryData}
@if (Material.ParameterSource == 3)
{@Resource.SpecificFactoryData}
|
@Material.Unit |
@if (Material.ParameterID.HasValue && !string.IsNullOrWhiteSpace(Material.ParameterDescription))
{
@Resource.StaticLabelGlobal_CheckOut
}
|
@Resource.MetaDataDQI1
@Resource.MetaDataDQI2
@Resource.MetaDataDQI3
|
@Material.KgCO2e_BOM.ToString("F3") |
@Material.KgCO2e.ToString("F3") |
@Material.Description |
@Material.SupplierCompanyName |
@Material.SupplierCompanyType |
@if (Material.SupplierCompanyName != null && Material.RequestSent != null && Material.RequestSent.RepliedByWhichLCA != null)
{
@Html.ActionLink(Material.SupplierCompanyName, "SupplierLcaDetail", new { supplierLcaId = Material.RequestSent.RepliedByWhichLCA.ID, productLcaId = Model.ProductLca.ID })
}
|
}
}
LCI-@Resource.MaterialIndirectMaterial
@if (@Model.IndirectMaterial.SheetFillerName != null)
{
var sheetheader = Model.IndirectMaterial;
}
@Resource.Comment
@if (Model.ProductLca.Materials.Count(x => x.MaterialType.ToString() == "IndirectMaterial") == 0)
{
@Resource.NoData |
}
@foreach (var Material in Model.ProductLca.Materials)
{
if (Material.MaterialType.ToString() == "IndirectMaterial")
{
@Material.Level |
@Material.PartNumber |
@Material.Name |
@Material.Components |
@Material.Composite |
@Material.Length.ToString("F4") |
@Material.Area.ToString("F4") |
@Material.Scalar.ToString("F4") |
@if (Material.WeightUnit == "mg")
{@Resource.Weight_mg}
@if (Material.WeightUnit == "g")
{@Resource.Weight_g}
@if (Material.WeightUnit == "kg")
{@Resource.Weight_kg}
@if (Material.WeightUnit == "t")
{@Resource.Weight_t}
|
@Material.Volume.ToString("F4") |
@Material.VolumeUnit |
@(Material.Density==null ? "" : ((decimal)Material.Density).ToString("F4")) |
@Material.Quantity.ToString("F4") |
@Material.ActivityIntensity.ToString("F4") |
@Material.ParameterValue.ToString("F10") |
@Material.Unit |
@if (Material.ParameterID.HasValue && !string.IsNullOrWhiteSpace(Material.ParameterDescription))
{
@Resource.StaticLabelGlobal_CheckOut
}
|
@Resource.MetaDataDQI1
@Resource.MetaDataDQI2
@Resource.MetaDataDQI3
|
@Material.KgCO2e.ToString("F3") |
@Material.Description |
@Material.SupplierCompanyName |
@Material.SupplierCompanyType |
}
}
LCI-@Resource.MaterialWrapMaterial
@if (@Model.WrapMaterial.SheetFillerName != null)
{
var sheetheader = Model.WrapMaterial;
}
@Resource.Comment
@if (Model.ProductLca.Materials.Count(x => x.MaterialType.ToString() == "WrapMaterial") == 0)
{
@Resource.NoData |
}
@foreach (var Material in Model.ProductLca.Materials)
{
if (Material.MaterialType.ToString() == "WrapMaterial")
{
@Material.Level |
@Material.PartNumber |
@Material.Name |
@Material.Components |
@Material.Composite |
@Material.Length.ToString("F4") |
@Material.Area.ToString("F4") |
@Material.Scalar.ToString("F4") |
@if (Material.WeightUnit == "mg")
{@Resource.Weight_mg}
@if (Material.WeightUnit == "g")
{@Resource.Weight_g}
@if (Material.WeightUnit == "kg")
{@Resource.Weight_kg}
@if (Material.WeightUnit == "t")
{@Resource.Weight_t}
|
@Material.Volume.ToString("F4") |
@Material.VolumeUnit |
@(Material.Density==null ? "" : ((decimal)Material.Density).ToString("F4")) |
@Material.Quantity.ToString("F4") |
@Material.ActivityIntensity.ToString("F4") |
@Material.ParameterValue.ToString("F10") |
@Material.Unit |
@if (Material.ParameterID.HasValue && !string.IsNullOrWhiteSpace(Material.ParameterDescription))
{
@Resource.StaticLabelGlobal_CheckOut
}
|
@Resource.MetaDataDQI1
@Resource.MetaDataDQI2
@Resource.MetaDataDQI3
|
@Material.KgCO2e.ToString("F3") |
@Material.Description |
@Material.SupplierCompanyName |
@Material.SupplierCompanyType |
}
}
@Resource.TotalWorkHours - @Resource.DirectStaff
@if (@Model.WorkHourHeader.SheetFillerName != null)
{
var sheetheader = Model.WorkHourHeader;
}
@Resource.Comment
@foreach (var workHour in Model.ProductLca.WorkHourSheet)
{
if (workHour.Type.ToString() == "Direct")
{
@workHour.MonthLabel() |
@workHour.WorkerNumber.ToString("F0") |
@workHour.WorkDay.ToString("F4") |
@workHour.AverageHourPerDay.ToString("F4") |
@((workHour.AverageHourPerDay / 8).ToString("F4")) |
@((workHour.WorkerNumber * workHour.WorkDay * workHour.AverageHourPerDay).ToString("F4")) |
}
}
@Resource.Total |
@Model.ProductLca.WorkHourSheet.ToList().GetTotalDirectWorkerNumber().ToString("F0") |
@Model.ProductLca.WorkHourSheet.ToList().GetTotalDirectWorkDay().ToString("F4") |
@Model.ProductLca.WorkHourSheet.ToList().GetTotalDirectAverageHourPerDay().ToString("F4") |
@Model.ProductLca.WorkHourSheet.ToList().GetTotalDirectProportionWorkHour().ToString("F4") |
@Model.ProductLca.WorkHourSheet.ToList().GetTotalDirectWorkHours().ToString("F4") |
@Resource.TotalWorkHours - @Resource.IndirectStaff
@foreach (var workHour in Model.ProductLca.WorkHourSheet)
{
if (workHour.Type.ToString() == "Indirect")
{
@workHour.MonthLabel() |
@workHour.WorkerNumber.ToString("F0") |
@workHour.WorkDay.ToString("F4") |
@workHour.AverageHourPerDay.ToString("F4") |
@((workHour.AverageHourPerDay / 8).ToString("F4")) |
@((workHour.WorkerNumber * workHour.WorkDay * workHour.AverageHourPerDay).ToString("F4")) |
}
}
@Resource.Total |
@Model.ProductLca.WorkHourSheet.ToList().GetTotalIndirectWorkerNumber().ToString("F0") |
@Model.ProductLca.WorkHourSheet.ToList().GetTotalIndirectWorkDay().ToString("F4") |
@Model.ProductLca.WorkHourSheet.ToList().GetTotalIndirectAverageHourPerDay().ToString("F4") |
@Model.ProductLca.WorkHourSheet.ToList().GetTotalIndirectProportionWorkHour().ToString("F4") |
@Model.ProductLca.WorkHourSheet.ToList().GetTotalIndirectWorkHours().ToString("F4") |
@Resource.PowerUsage
@if (@Model.PowerHeader.SheetFillerName != null)
{
var sheetheader = Model.PowerHeader;
}
@Resource.Comment
@foreach (var powerUsage in Model.ProductLca.PowerUsageSheet)
{
@powerUsage.MonthLabel() |
@(powerUsage.Peak.HasValue ? powerUsage.Peak.Value.ToString("F4") : null) |
@(powerUsage.HalfPeak.HasValue ? powerUsage.HalfPeak.Value.ToString("F4") : null) |
@(powerUsage.SaturdayHalfPeak.HasValue ? powerUsage.SaturdayHalfPeak.Value.ToString("F4") : null) |
@(powerUsage.OffPeak.HasValue ? powerUsage.OffPeak.Value.ToString("F4") : null) |
@((powerUsage.Peak.Value + powerUsage.HalfPeak.Value + powerUsage.SaturdayHalfPeak.Value + powerUsage.OffPeak.Value).ToString("F4")) |
@powerUsage.Year |
@if (!string.IsNullOrEmpty(powerUsage.ReferenceFileLink))
{@Resource.StaticLabelDownload}
|
}
@Resource.Total |
@Model.ProductLca.PowerUsageSheet.ToList().GetTotalPowerPeak().ToString("F4") |
@Model.ProductLca.PowerUsageSheet.ToList().GetTotalPowerHalfPeak().ToString("F4") |
@Model.ProductLca.PowerUsageSheet.ToList().GetTotalPowerSaturdayHalfPeak().ToString("F4") |
@Model.ProductLca.PowerUsageSheet.ToList().GetTotalPowerOffPeak().ToString("F4") |
@Model.ProductLca.PowerUsageSheet.ToList().GetTotalPowerUsage().ToString("F4") |
|
|
@Resource.WaterUsage
@if (@Model.WaterHeader.SheetFillerName != null)
{
var sheetheader = Model.WaterHeader;
}
@Resource.Comment
@foreach (var waterUsage in Model.ProductLca.WaterUsageSheet)
{
@waterUsage.MonthLabel() |
@waterUsage.Scalar.ToString("F4") |
@waterUsage.Year |
@if (!string.IsNullOrEmpty(waterUsage.ReferenceFileLink))
{@Resource.StaticLabelDownload}
|
}
@Resource.Total |
@Model.ProductLca.WaterUsageSheet.ToList().GetTotalWaterUsage().ToString("F4") |
|
|
@Resource.WasteWaterCategory
@if (@Model.WasteWaterHeader.SheetFillerName != null)
{
var sheetheader = Model.WasteWaterHeader;
}
@Resource.Comment
@if (Model.ProductLca.WasteSheet.Count(x => x.Type.ToString() == "water") == 0)
{
@Resource.NoData |
}
@foreach (var waste in Model.ProductLca.WasteSheet)
{
if (waste.Type.ToString() == "water")
{
@(waste.Parameter != null && waste.Parameter.Type != null ? ViewHelper.GetEntityCategory(waste.Parameter.Type.DisplayName) : "")
|
@(waste.Parameter != null && waste.Parameter.Type != null ? ViewHelper.GetProcessOrType(waste.Parameter.Type.DisplayName) : "")
|
@(waste.WaterBOD.HasValue ? waste.WaterBOD.Value.ToString("F4") : null) |
@(waste.WaterCOD.HasValue ? waste.WaterCOD.Value.ToString("F4") : null) |
@(waste.WaterCMD.HasValue ? waste.WaterCMD.Value.ToString("F4") : null) |
@waste.Scalar.ToString("F4") |
@waste.DQI |
@*@waste.DQIDescription | *@
@waste.Description |
@waste.KgCO2e.ToString("F4") |
@if (waste.ParameterID.HasValue)
{
@Resource.StaticLabelGlobal_CheckOut
}
|
}
}
@Resource.WasteCategory
@Resource.Comment
@if (Model.ProductLca.WasteSheet.Count(x => x.Type.ToString() == "other") == 0)
{
@Resource.NoData |
}
@foreach (var waste in Model.ProductLca.WasteSheet)
{
if (waste.Type.ToString() == "other")
{
@(waste.Parameter != null && waste.Parameter.Type != null ? ViewHelper.GetEntityCategory(waste.Parameter.Type.DisplayName) : "")
|
@(waste.Parameter != null && waste.Parameter.Type != null ? ViewHelper.GetProcessOrType(waste.Parameter.Type.DisplayName) : "")
|
@waste.Scalar.ToString("F4") |
@waste.DQI |
@*@waste.DQIDescription | *@
@waste.Description |
@waste.KgCO2e.ToString("F4") |
@if (waste.ParameterID.HasValue)
{
@Resource.StaticLabelGlobal_CheckOut
}
|
}
}
@Resource.Transport
@if (@Model.TransportHeader.SheetFillerName != null)
{
var sheetheader = Model.TransportHeader;
}
@Resource.Comment
@if (Model.ProductLca.TransportSheet.Count() == 0)
{
@Resource.NoData |
}
@foreach (var transport in Model.ProductLca.TransportSheet)
{
@(transport.TransportType == 0 ? Resource.UpstreamTransport : Resource.DownstreamTransport)
|
@(transport.TransportDate != null ? transport.TransportDate.ToLongDateString() : "")
|
@transport.JourneyNO |
@(transport.NonYearlyParameter != null && transport.NonYearlyParameter.Type != null ? ViewHelper.GetEntityCategory(transport.NonYearlyParameter.Type.DisplayName) : "")
|
@transport.StartLocation |
@transport.EndLocation |
@transport.TransportDistance.ToString("F4") |
@(transport.NonYearlyParameter != null && transport.NonYearlyParameter.Type != null ? ViewHelper.GetProcessOrType(transport.NonYearlyParameter.Type.DisplayName) : "")
|
@transport.TransportQuantity.ToString("F4") |
@transport.TransportWeight.ToString("F4") |
@transport.DQI |
@((transport.TransportWeight * transport.TransportDistance / 1000).ToString("F4")) |
@transport.KgCO2e.ToString("F4") |
@if (transport.ParameterID.HasValue)
{
@Resource.StaticLabelGlobal_CheckOut
}
|
}
@Resource.WasteTransportation
@if (@Model.WasteTransportHeader.SheetFillerName != null)
{
var sheetheader = Model.WasteTransportHeader;
}
@Resource.Comment
@if (Model.ProductLca.WasteTransportSheet.Count() == 0)
{
@Resource.NoData |
}
@foreach (var wasteTransport in Model.ProductLca.WasteTransportSheet)
{
@wasteTransport.JourneyNO |
@*
@(wasteTransport.Parameter != null && wasteTransport.Parameter.Type != null ? ViewHelper.GetEntityCategory(wasteTransport.Parameter.Type.DisplayName) : "")
| *@
@wasteTransport.StartLocation |
@wasteTransport.EndLocation |
@wasteTransport.TransportDistance.ToString("F4") |
@*
@(wasteTransport.Parameter != null && wasteTransport.Parameter.Type != null ? ViewHelper.GetProcessOrType(wasteTransport.Parameter.Type.DisplayName) : "")
| *@
@wasteTransport.WasteName |
@wasteTransport.TransportWeight.ToString("F4") |
@wasteTransport.DQI |
@((wasteTransport.TransportWeight * wasteTransport.TransportDistance / 1000).ToString("F4")) |
@wasteTransport.KgCO2e.ToString("F4") |
@if (wasteTransport.ParameterID.HasValue)
{
@Resource.StaticLabelGlobal_CheckOut
}
|
}
@Resource.ParamemterCategoriesVehicle
@if (@Model.VehicleHeader.SheetFillerName != null)
{
var sheetheader = Model.VehicleHeader;
}
@Resource.Comment
@if (Model.ProductLca.VehicleSheet.Count() == 0)
{
@Resource.NoData |
}
@foreach (var vehicle in Model.ProductLca.VehicleSheet)
{
@vehicle.Type.ToString() |
@vehicle.ProcessName |
@vehicle.ResponsibleUnit |
@vehicle.Name |
@vehicle.CarPlateNo |
@(vehicle.Parameter != null && vehicle.Parameter.Area != null ? vehicle.Parameter.Area.DisplayName : "")
|
@(vehicle.Parameter != null && vehicle.Parameter.Type != null ? ViewHelper.GetEntityCategory(vehicle.Parameter.Type.DisplayName) : "")
|
@(vehicle.Parameter != null ? vehicle.Parameter.Year.ToString() : "") |
@vehicle.Scalar.ToString("F4") |
@if (!string.IsNullOrEmpty(vehicle.ReferenceFileUrl))
{@Resource.StaticLabelDownload}
|
@if (!string.IsNullOrEmpty(vehicle.ReferencePhotoUrl))
{@Resource.StaticLabelDownload}
|
@vehicle.KgCO2e.ToString("F4") |
@Resource.StaticLabelGlobal_CheckOut
|
}
@Resource.DieselEquipment
@if (@Model.GasolineHeader.SheetFillerName != null)
{
var sheetheader = Model.GasolineHeader;
}
@Resource.Comment
@if (Model.ProductLca.GasolineEquipmentSheet.Count() == 0)
{
@Resource.NoData |
}
@foreach (var gasolineEquipment in Model.ProductLca.GasolineEquipmentSheet)
{
@gasolineEquipment.ProcessName |
@gasolineEquipment.ResponsibleUnit |
@gasolineEquipment.Name |
@(gasolineEquipment.Parameter != null ? gasolineEquipment.Parameter.Area.DisplayName : "")
|
@(gasolineEquipment.Parameter != null ? ViewHelper.GetEntityCategory(gasolineEquipment.Parameter.Type.DisplayName) : "")
|
@(gasolineEquipment.Parameter != null ? gasolineEquipment.Parameter.Year.ToString() : "")
|
@gasolineEquipment.Scalar.ToString("F4") |
@if (!string.IsNullOrEmpty(gasolineEquipment.ReferenceFileUrl))
{@Resource.StaticLabelDownload}
|
@if (!string.IsNullOrEmpty(gasolineEquipment.ReferencePhotoUrl))
{@Resource.StaticLabelDownload}
|
@gasolineEquipment.KgCO2e.ToString("F4") |
@if (gasolineEquipment.ParameterID.HasValue)
{
@Resource.StaticLabelGlobal_CheckOut
}
|
}
@(Resource.Kitchen)(@Resource.CompanyHas)
@if (@Model.KitchenHeader.SheetFillerName != null)
{
var sheetheader = Model.KitchenHeader;
}
@Resource.Comment
@if (Model.ProductLca.KitchenSheet.Count(x => x.Type.ToString() == "owned") == 0)
{
@Resource.NoData |
}
@foreach (var kitchen in Model.ProductLca.KitchenSheet)
{
if (kitchen.Type.ToString() == "owned")
{
@kitchen.ProcessName |
@kitchen.ResponsibleUnit |
@kitchen.Name |
@(kitchen.Parameter != null ? kitchen.Parameter.Area.DisplayName : "")
|
@(kitchen.Parameter != null ? ViewHelper.GetEntityCategory(kitchen.Parameter.Type.DisplayName) : "")
|
@(kitchen.Parameter != null ? kitchen.Parameter.Year.ToString() : "")
|
@kitchen.Scalar.ToString("F4") |
@if (!string.IsNullOrEmpty(kitchen.ReferenceFileUrl))
{@Resource.StaticLabelDownload}
|
@if (!string.IsNullOrEmpty(kitchen.ReferencePhotoUrl))
{@Resource.StaticLabelDownload}
|
@kitchen.KgCO2e.ToString("F4") |
@if (kitchen.ParameterID.HasValue)
{
@Resource.StaticLabelGlobal_CheckOut
}
|
}
}
@(Resource.Kitchen)(@Resource.Outsourcing)
@Resource.Comment
@if (Model.ProductLca.KitchenSheet.Count(x => x.Type.ToString() == "outsourcing") == 0)
{
@Resource.NoData |
}
@foreach (var kitchen in Model.ProductLca.KitchenSheet)
{
if (kitchen.Type.ToString() == "outsourcing")
{
@kitchen.ProcessName |
@kitchen.ResponsibleUnit |
@kitchen.Name |
@(kitchen.Parameter != null ? kitchen.Parameter.Area.DisplayName : "")
|
@(kitchen.Parameter != null ? ViewHelper.GetEntityCategory(kitchen.Parameter.Type.DisplayName) : "")
|
@(kitchen.Parameter != null ? kitchen.Parameter.Year.ToString() : "")
|
@kitchen.Scalar.ToString("F4") |
@if (!string.IsNullOrEmpty(kitchen.ReferenceFileUrl))
{@Resource.StaticLabelDownload}
|
@if (!string.IsNullOrEmpty(kitchen.ReferencePhotoUrl))
{@Resource.StaticLabelDownload}
|
@kitchen.KgCO2e.ToString("F4") |
@if (kitchen.ParameterID.HasValue)
{
@Resource.StaticLabelGlobal_CheckOut
}
|
}
}
@(Resource.Kitchen)(@Resource.Other)
@Resource.Comment
@if (Model.ProductLca.KitchenSheet.Count(x => x.Type.ToString() == "other") == 0)
{
@Resource.NoData |
}
@foreach (var kitchen in Model.ProductLca.KitchenSheet)
{
if (kitchen.Type.ToString() == "other")
{
@kitchen.ProcessName |
@kitchen.ResponsibleUnit |
@kitchen.Name |
@(kitchen.Parameter != null ? kitchen.Parameter.Area.DisplayName : "")
|
@(kitchen.Parameter != null ? ViewHelper.GetEntityCategory(kitchen.Parameter.Type.DisplayName) : "")
|
@(kitchen.Parameter != null ? kitchen.Parameter.Year.ToString() : "")
|
@kitchen.Scalar.ToString("F4") |
@if (!string.IsNullOrEmpty(kitchen.ReferenceFileUrl))
{@Resource.StaticLabelDownload}
|
@if (!string.IsNullOrEmpty(kitchen.ReferencePhotoUrl))
{@Resource.StaticLabelDownload}
|
@kitchen.KgCO2e.ToString("F4") |
@if (kitchen.ParameterID.HasValue)
{
@Resource.StaticLabelGlobal_CheckOut
}
|
}
}
@Resource.ContainsRefrigerant
@if (@Model.RefrigerantHeader.SheetFillerName != null)
{
var sheetheader = Model.RefrigerantHeader;
}
@Resource.Comment
@if (Model.ProductLca.RefrigerantSheet.Count() == 0)
{
@Resource.NoData |
}
@foreach (var refrigerant in Model.ProductLca.RefrigerantSheet)
{
@refrigerant.ProcessName |
@*@refrigerant.ResponsibleUnit | *@
@refrigerant.Name |
@refrigerant.ModelNumber |
@refrigerant.TotalNumber |
@refrigerant.Scalar.ToString("F4") |
@refrigerant.UsedMonth |
@(refrigerant.ARnGWP != null ? refrigerant.ARnGWP.ingredientName : "")
|
@(refrigerant.ARnGWP != null ? (Model.ProductLca.ARversion == "AR4" ? refrigerant.ARnGWP.AR4GWP100.ToString()
: Model.ProductLca.ARversion == "AR5" ? refrigerant.ARnGWP.AR5GWP100.ToString()
: Model.ProductLca.ARversion == "AR6" ? refrigerant.ARnGWP.AR6GWP100.ToString() : "0" ) : "0"))
|
@(refrigerant.Factor != null && refrigerant.Factor.Type != null ? refrigerant.Factor.Type.DisplayName : "")
|
@refrigerant.Factor.Value |
@refrigerant.KgCO2e.ToString("F4") |
@if (refrigerant.ParameterID.HasValue)
{
@Resource.StaticLabelGlobal_CheckOut
}
|
}
@Resource.FireEquipment
@if (@Model.FireEquipmentHeader.SheetFillerName != null)
{
var sheetheader = Model.FireEquipmentHeader;
}
@Resource.Comment
@if (Model.ProductLca.FireEquipmentSheet.Count() == 0)
{
@Resource.NoData |
}
@foreach (var fireEquipment in Model.ProductLca.FireEquipmentSheet)
{
@*@fireEquipment.ProcessName |
@fireEquipment.ResponsibleUnit | *@
@fireEquipment.Name |
@fireEquipment.Quantity |
@(fireEquipment.ARnGWP != null ? fireEquipment.ARnGWP.ingredientName : "")
|
@fireEquipment.Scalar.ToString("F4") |
@fireEquipment.Description |
@(fireEquipment.ARnGWP != null ? (Model.ProductLca.ARversion == "AR4" ? fireEquipment.ARnGWP.AR4GWP100.ToString()
: Model.ProductLca.ARversion == "AR5" ? fireEquipment.ARnGWP.AR5GWP100.ToString()
: Model.ProductLca.ARversion == "AR6" ? fireEquipment.ARnGWP.AR6GWP100.ToString() : "0" ) : "0")
|
@fireEquipment.KgCO2e.ToString("F4") |
@if (fireEquipment.ParameterID.HasValue)
{
@Resource.StaticLabelGlobal_CheckOut
}
|
}
@Resource.SteamUsage
@if (@Model.SteamHeader.SheetFillerName != null)
{
var sheetheader = Model.SteamHeader;
}
@Resource.Comment
@foreach (var steam in Model.ProductLca.SteamUsageSheet)
{
@steam.MonthLabel() |
@steam.Scalar.ToString("F4") |
@(steam.Parameter != null ? steam.Parameter.Year.ToString() : "")
|
@if (!string.IsNullOrEmpty(steam.ReferenceFileLink))
{@Resource.StaticLabelDownload}
|
@if (steam.ParameterID.HasValue)
{
@Resource.StaticLabelGlobal_CheckOut
}
|
}
@Resource.Total |
@Model.ProductLca.SteamUsageSheet.ToList().GetTotalSteamUsage().ToString("F4") |
|
|
|
@Resource.OtherCompound
@if (@Model.OtherHeader.SheetFillerName != null)
{
var sheetheader = Model.OtherHeader;
}
@Resource.Comment
@if (Model.ProductLca.OtherCompoundSheet.Count() == 0)
{
@Resource.NoData |
}
@foreach (var other in Model.ProductLca.OtherCompoundSheet)
{
@other.ProcessName |
@other.ResponsibleUnit |
@other.Name |
@other.ingredientName |
@other.CO2Factor |
@other.Scalar.ToString("F4") |
@if (!string.IsNullOrEmpty(other.ReferenceFileUrl))
{@Resource.StaticLabelDownload}
|
@other.Description |
@other.KgCO2e.ToString("F4") |
}
@Resource.ProductUsageStage
@Resource.Comment
@if (Model.UsageStage != null)
{
@Model.UsageStage.WattInOperation.ToString("F4") |
@Model.UsageStage.WattInLowOperation.ToString("F4") |
@Model.UsageStage.TurnOnHourPerDayInWorkDay |
@Model.UsageStage.TurnOnHourPerDayInOffDay |
@Model.UsageStage.WorkDayPerYear |
@Model.UsageStage.PowerFactor.ToString("F4") |
@Model.UsageStage.Description |
@Model.UsageStage.CalculateResult.ToString("F4") |
}
else
{
@Resource.NoData |
}
@Resource.AbandonedStage
@Resource.Comment
@if (Model.AbandonedStage != null)
{
@Model.AbandonedStage.WasteWeight.ToString("F4") |
@Model.AbandonedStage.RecyclePercentage.ToString("F4") |
@Model.AbandonedStage.ReusePercentage.ToString("F4") |
@Model.AbandonedStage.RecoverPercentage.ToString("F4") |
@Model.AbandonedStage.IncinerationParameter.ToString("F4") |
@Model.AbandonedStage.AbandonedParameter.ToString("F4") |
@Model.AbandonedStage.Description |
@Model.AbandonedStage.CalculateResult.ToString("F4") |
}
else
{
@Resource.NoData |
}
@if (Model.ProductLca.Status == Weee.Models.LCAStatus.Waiting)
{
@using (Html.BeginForm("ProductLcaConfirm", "LCA", new { lcaId = Model.ProductLca.ID }, FormMethod.Post, new { @id = "lca-confirm2", @class = "docs-inline" })) { }
@using (Html.BeginForm("ProductLcaReject", "LCA", new { lcaId = Model.ProductLca.ID }, FormMethod.Post, new { @id = "lca-reject2", @class = "docs-inline" })) { }
}
@if (Model.ProductLca.Status == Weee.Models.LCAStatus.Processing)
{
@using (Html.BeginForm("ProductLcaRefuse", "LCA", new { lcaId = Model.ProductLca.ID }, FormMethod.Post, new { @id = "lca-refuse2", @class = "docs-inline" })) { }
}
@if (ViewBag.ProductLcaId != null)
{
@Html.ActionLink(Resource.StaticLabelGlobal_BackToList, "ProductLcaDetail", new { id = ViewBag.ProductLcaId }, new { @class = "header-button", style = "text-decoration: none;" })
}
@*
*@