@using Weee.ViewModels @using Resources @model LCARequestAnonymousReplyViewModel @section PageStyles { @Styles.Render("~/account/css") @Styles.Render("~/bootstrap/css") } @section PageScripts { @Scripts.Render("~/jQuery") @Scripts.Render("~/bootstrap") } @{ Layout = "~/Views/Shared/_LayoutRegister.cshtml"; ViewBag.Title = Resource.Register; } @*
*@
@*

@Resource.AnonymousReply

*@

@Resource.AnonymousReply

@using (Html.BeginForm("AnonymousReply", "LCARequest", FormMethod.Post, new { enctype = "multipart/form-data" })) { @Html.AntiForgeryToken() @Html.ValidationSummary(true)
@Html.LabelFor(model => model.SenderCompanyName, new { @class = "control-label col-md-4" })
@Model.SenderCompanyName
@Html.LabelFor(model => model.SenderName, new { @class = "control-label col-md-4" })
@Model.SenderName
@Html.LabelFor(model => model.MaterialName, new { @class = "control-label col-md-4" })
@Model.MaterialName
@*
@Html.LabelFor(model => model.Distribute, new { @class = "control-label col-md-2" })
@Model.Distribute
*@
@Html.DropDownListFor(model => model.replyMode, new List(){ new SelectListItem{ Text=Resource.CertifiedCarbonReport, Value="3"}, new SelectListItem{ Text=Resource.SalesProportion, Value="4"}, }, new { @class = "form-control", id = "replymode", disabled="disabled" }) @**@
@Html.LabelFor(model => model.KgCO2e, new { @class = "control-label col-md-4" })
@Html.EditorFor(model => model.KgCO2e, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.KgCO2e, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.KgCO2eUnit, new { @class = "control-label col-md-4" })
@*@Html.EditorFor(model => model.KgCO2eUnit, new { htmlAttributes = new { @class = "form-control" } })*@ @Html.ValidationMessageFor(model => model.KgCO2eUnit, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.FunctionUnit, new { @class = "control-label col-md-4" })
@Html.EditorFor(model => model.FunctionUnit, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.FunctionUnit, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.WeightPerFunctionUnit, new { @class = "control-label col-md-4" })
@Html.EditorFor(model => model.WeightPerFunctionUnit, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.WeightPerFunctionUnit, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.uploadReportFile, new { @class = "control-label col-md-4" })
@Html.TextBoxFor(model => model.uploadReportFile, null, new { type = "file", @class = "input-file" }) @**@ @Html.ValidationMessageFor(model => model.uploadReportFile, "", new { @class = "text-danger" })
@Html.HiddenFor(model => model.ReportFile) @Html.HiddenFor(model => model.ReferenceFile)
@Html.LabelFor(model => model.uploadReferenceFile, new { @class = "control-label col-md-4" })
@Html.TextBoxFor(model => model.uploadReferenceFile, null, new { type = "file", @class = "input-file" }) @**@ @Html.ValidationMessageFor(model => model.uploadReferenceFile, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.tCO2e, new { @class = "control-label col-md-4" })
@Html.EditorFor(model => model.tCO2e, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.tCO2e, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.YearlyRevenue, new { @class = "control-label col-md-4" })
@Html.EditorFor(model => model.YearlyRevenue, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.YearlyRevenue, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.TotalAmount, new { @class = "control-label col-md-4" })
@Html.EditorFor(model => model.TotalAmount, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.TotalAmount, "", new { @class = "text-danger" })
@Html.LabelFor(model => model.TotalQuantity, new { @class = "control-label col-md-4" })
@Html.EditorFor(model => model.TotalQuantity, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.TotalQuantity, "", new { @class = "text-danger" })
}













@Scripts.Render("~/jQuery") @Styles.Render("~/bootstrap/css")