@model Fab2ApprovalSystem.Models.LTLotTravelerHeaderViewModel @{ ViewBag.Title = "LotTravelerUpdate"; } @{ Layout = "_LotTravelerLayout.cshtml"; } @using (Html.BeginForm()) { @Html.AntiForgeryToken()
         @(Html.Kendo().DropDownList() .Name("LotList") .BindTo(new SelectList(ViewBag.LotList, "LotID", "LotNumber")) .OptionLabel("Select") )          @(Html.Kendo().DropDownList() .Name("Revisions") .DataTextField("RevisionNumber") .DataValueField("ID") .OptionLabel("Select") )                   @if (Model.TravelerClosedDate == null) { }
@Html.TextBoxFor(model => model.SWRNumber, new { @class = "k-textbox", Readonly = "Readonly", style = "background-color:lightblue" })
@Html.TextBoxFor(model => model.LastUpdate, new { id = "txtLastUpdate", @class = "k-textbox", Readonly = "Readonly", style = "background-color:lightblue" })
@Html.TextBoxFor(model => model.Title, new { @class = "k-textbox", Readonly = "Readonly" })
@Html.TextBoxFor(model => model.TravelerClosedReason, new { @class = "k-textbox", Readonly = "Readonly", style = "background-color:lightblue" })
@Html.TextBoxFor(model => model.TravelerClosedBy, new { @class = "k-textbox", Readonly = "Readonly", style = "background-color:lightblue" })
@Html.TextBoxFor(model => model.TravelerClosedDate, new { @class = "k-textbox", Readonly = "Readonly", style = "background-color:lightblue" })
@Html.TextBoxFor(model => model.Originator, new { @class = "k-textbox", Readonly = "Readonly", style = "background-color:lightblue" }) @if (GlobalVars.IsAdminValueNotNull(Session)) { }
@Html.TextBoxFor(model => model.LastUpdatedBy, new { id = "txtUpdatedBy", @class = "k-textbox", Readonly = "Readonly", style = "background-color:lightblue" })
@Html.TextBoxFor(model => model.WIPPartNumber, new { @class = "k-textbox", Readonly = "Readonly" })
@Html.TextBoxFor(model => model.PartDescription, new { @class = "k-textbox", Readonly = "Readonly", style = "background-color:lightblue;width:100%" })
@Html.TextBoxFor(model => model.BaseFlow, new { id = "txtProcessFlow", @class = "k-textbox", Readonly = "Readonly", style = "background-color:lightblue" })
@Html.TextBoxFor(model => model.IsITAR, new { @class = "k-textbox", Readonly = "Readonly", style = "background-color:lightblue" })
@Html.TextAreaFor(model => model.PurposeOfRequest, 5, 100, new { @class = "k-textbox", Readonly = "Readonly", style = "width:100%" })
OLHold Steps - Completed Expand/Collpase
@(Html.Kendo().Grid() .Name("CompletedTasks") .Columns(columns => { columns.Bound(a => a.ID).Visible(false); columns.Bound(a => a.LotTravelerRevisionID).Visible(false); columns.Bound(a => a.Location).Width("50px"); columns.Bound(a => a.OperSequence).Width("50px"); columns.Bound(a => a.Operation).Width("50px"); columns.Bound(a => a.OperationDescription).Width("100px"); columns.Bound(a => a.ChangeInstructions).ClientTemplate("#=changeNewLine(ChangeInstructions)#").Width("250px"); columns.Bound(a => a.FileNames).ClientTemplate("#=buildLinks(FileNames, SWRNumber)#").Width("100px"); columns.Bound(a => a.ExecutionTaskComments).ClientTemplate("#=changeNewLine(ExecutionTaskComments)#").Width("250px"); columns.Bound(a => a.SignedOffByName).Width("50px"); columns.Bound(a => a.SignOffTime).Format("{0:MM/dd/yy hh:mm:ss}").Width("50px"); columns.Bound(a => a.Completed).ClientTemplate("").Width("50px"); }) .Events(e => e.DataBound("onHoldStepsDataBound")) .Sortable() .Scrollable() .HtmlAttributes(new { style = "height:250; width:100%; font-size: 10px" }) .DataSource(dataSource => dataSource .Ajax() .ServerOperation(false) .Model(model => { model.Id(p => p.ID); }) .PageSize(50) .Read(read => read.Action("GetLotTravHoldStepsCompleted", "LotTraveler", new { LotID = Model.ID })) ) )
OLHold Steps - Pending Expand/Collpase
@(Html.Kendo().Grid() .Name("HoldSteps") .Columns(columns => { columns.Bound(a => a.ID).Visible(false); columns.Bound(a => a.LotTravelerRevisionID).Visible(false); columns.Bound(a => a.Location).Width("50px"); columns.Bound(a => a.OperSequence).Width("50px"); columns.Bound(a => a.Operation).Width("50px"); columns.Bound(a => a.OperationDescription).Width("100px"); columns.Bound(a => a.ChangeInstructions).ClientTemplate("#=changeNewLine(ChangeInstructions)#").Width("250px"); columns.Bound(a => a.FileNames).ClientTemplate("#=buildLinks(FileNames, SWRNumber)#").Width("100px"); columns.Bound(a => a.ExecutionTaskComments).ClientTemplate("#=changeNewLine(ExecutionTaskComments)#").Width("250px"); columns.Bound(a => a.SignedOffByName).Width("50px"); columns.Bound(a => a.SignOffTime).Format("{0:MM/dd/yy hh:mm:ss}").Width("50px"); columns.Bound(a => a.Completed).ClientTemplate("").Width("50px"); columns.Command(c => c.Custom("Upload File").Click("UploadHoldStepAttachment")).Width("70px"); columns.Command(c => c.Custom("Edit").Click("EditHoldStep")).Width("50px"); columns.Command(c => c.Custom("Delete").Click("DeleteHoldStep")).Width("50px"); }) .Events(e => e.DataBound("onHoldStepsDataBound")) .Sortable() .Scrollable() .HtmlAttributes(new { style = "height:250; width:100%; font-size: 10px" }) .DataSource(dataSource => dataSource .Ajax() .ServerOperation(false) .Model(model => { model.Id(p => p.ID); }) .PageSize(50) .Read(read => read.Action("GetLotTravHoldStepsPending", "LotTraveler", new { LotID = Model.ID })) ) )
} @Html.Partial("_LTReassignOriginator")