@model Fab2ApprovalSystem.Models.LTLotTravelerHeaderViewModel @{ ViewBag.Title = "LotTraveler - Execute"; } @{ 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") .BindTo(new SelectList(ViewBag.LotTravRevisionList, "ID", "RevisionNumber")) .OptionLabel("Select") )         
@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.Status, 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 (Session[GlobalVars.IS_ADMIN] != null) { }
@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.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"); }) .Resizable(e => e.Columns(true)) .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("PendingTasks") .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.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("Edit").Click("ExecuteHoldStep")).Width("50px"); }) .Resizable(e => e.Columns(true)) .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")