@model Fab2ApprovalSystem.Models.CorrectiveAction @{ ViewBag.Title = "Edit"; }
@using (Html.BeginForm()) {
@if (ViewBag.IsApprover == "true") {
} else {
}
@Html.AntiForgeryToken()
Corrective Action
Basic Information
@Html.TextBoxFor(model => model.CANoDisp, new { id = "txtCANo", @class = "k-textbox", Readonly = "Readonly", style = "background-color:lightblue" })
@Html.TextAreaFor(model => model.CATitle, new { id = "txtCATitle", @class = "k-textbox", style = "width:100%" })
@(Html.Kendo().DropDownList() .Name("RequestorList") .BindTo(new SelectList(ViewBag.UserList, "UserID", "UserName")) .OptionLabel("Select") .HtmlAttributes(new { style = " font-size:10px" }) .Value(Model.RequestorID.ToString()) )
@Html.TextBoxFor(model => model.IssueDate, new { id = "txtIssueDate", @class = "k-textbox", Readonly = "Readonly", style = "background-color:lightblue" })
@(Html.Kendo().DropDownList() .Name("D1AssigneeList") //.BindTo(new SelectList(ViewBag.UserList, "D1AssigneeID", "D1AssigneeName")) .BindTo(new SelectList(ViewBag.UserList, "UserID", "UserName")) .OptionLabel("Select") .HtmlAttributes(new { style = "font-size:10px" }) .Value(Model.D1AssigneeID.ToString()) )
@(Html.Kendo().DropDownList() .Name("CASourceList") .BindTo(new SelectList(ViewBag.CASourceList, "CASourceID", "CASourceName")) .OptionLabel("Select") .HtmlAttributes(new { style = "font-size:10px" }) .Value(Model.CASourceID.ToString()) )
@(Html.Kendo().MultiSelect() .Name("ModuleIDs") .BindTo(new SelectList(ViewBag.ModuleList, "ModuleID", "ModuleName")) .HtmlAttributes(new { style = "font-size:10px" }) .Value(ViewBag.Nothing) )
@Html.TextBoxFor(model => model.StatusName, new { id = "txtStatusName", @class = "k-textbox", Readonly = "Readonly", style = "background-color:lightblue" })
@(Html.Kendo().DropDownList() .Name("D1QAList") //.BindTo(new SelectList(ViewBag.UserList, "D1QAID", "D1QAName")) .BindTo(new SelectList(ViewBag.UserList, "UserID", "UserName")) .OptionLabel("Select") .HtmlAttributes(new { style = "font-size:10px" }) .Value(Model.QAID.ToString()) )
@if (Model.D8DueDate != null) { @Html.TextBoxFor(model => model.D8DueDate, new { id = "txtD8DueDate", @class = "k-textbox", Readonly = "Readonly", style = "background-color:lightblue" }) } else { @(Html.Kendo().DatePickerFor(model => model.D8DueDate) .Name("txtD8DueDate") ) }
@Html.TextBoxFor(model => model.Tools, new { id = "txtTool", @class = "k-textbox" })
@Html.TextBoxFor(model => model.ApprovedDate, new { id = "txtApprovedDate", @class = "k-textbox", Readonly = "Readonly", style = "background-color:lightblue" })
@Html.TextBoxFor(model => model.RelatedMRB, new { id = "txtRelatedMRB", @class = "k-textbox" })
@(Html.Kendo().DropDownList() .Name("CATypeList") .DataTextField("Text") .DataValueField("Value") .BindTo(new List() { new SelectListItem() { Text = "Upto D0", Value = "D0" }, new SelectListItem() { Text = "Upto D3", Value = "D3" }, new SelectListItem() { Text = "Upto D6", Value = "D6" } , new SelectListItem() { Text = "Upto D8", Value = "D8" } } ) .Value(Model.CAType) )
@(Html.Kendo().DropDownList() .Name("CAStandardTypeList") .DataTextField("Text") .DataValueField("Value") .BindTo(new List() { new SelectListItem() { Text = "IATF16949", Value = "IATF16949" }, new SelectListItem() { Text = "ISO14001", Value = "ISO14001" }, new SelectListItem() { Text = "ISO45001", Value = "ISO45001" } } ) .OptionLabel("Select") .Value(Model.CAStandardType) )
@Html.TextArea("txtRelatedAuditFindings", (string)(ViewBag.AuditFinding), new { @class = "form-control", name = "txtRelatedAuditFindings", Readonly = "Readonly", style = "background-color:lightblue" })
@(Html.Kendo().MultiSelect() .Name("RelatedAuditFindingsCategories") .BindTo(new SelectList(ViewBag.AuditFindingCategoriesOptions, "AuditFindingCategoryID", "AuditFindingCategoryName")) .HtmlAttributes(new { style = " font-size:10px", Readonly = "Readonly" }) .Value(ViewBag.AuditFindingCategories) )
@Html.TextBox("txtRelatedViolatedClause", (string)(ViewBag.ViolatedClause), new { @class = "form-control", name = "txtRelatedAuditFindings", Readonly = "Readonly", style = "background-color:lightblue" })
@Html.EditorFor(model => model.CASubmitted)
@(Html.Kendo().Upload() .Name("files") .Async(a => a .Save("AttachSave", "CorrectiveAction", new { caNo = Model.CANo }) .AutoUpload(true) ) .ShowFileList(false) .Events(events => events .Success("onFileUploadSuccess") .Upload("CheckFileType") .Error("onFileUploadError") ) ) @(Html.Kendo().Grid() .Name("Attachments") .Columns(columns => { columns.Bound(a => a.ID).Visible(false); columns.Bound(a => a.CANo).Visible(false); columns.Bound(a => a.FileGUID).Visible(false); columns.Bound(a => a.FileName); columns.Bound(a => a.UploadedByName); columns.Bound(a => a.UploadDateTime).Format("{0:MM/dd/yy hh:mm:ss}"); columns.Command(command => command.Custom("View").Click("DownloadCAAttachment")); columns.Command(command => command.Custom("Delete").Click("DeleteCAAttachment")); }) .Scrollable() .Sortable() .HtmlAttributes(new { style = "height:300px; width:100%; font-size: 10px", Readonly = "Readonly" }) .DataSource(dataSource => dataSource .Ajax() //.Batch(false) .ServerOperation(false) .Events(events => events.Error("error_handler")) .Model(model => { model.Id(p => p.ID); }) .PageSize(50) .Read(read => read.Action("Attachment_Read", "CorrectiveAction", new { caNO = Model.CANo })) .Destroy(destroy => destroy.Action("DeleteCAAttachment", "CorrectionAction")) ) )
D0 - Pipeline Analysis
  • Pipeline analysis (where is the suspect product?)
  • Provide Emergency Response Actions.
  • Evaluate the processing data for applicable lots.
Show/Hide
@Html.EditorFor(model => model.D0Completed) @Html.EditorFor(model => model.D0Approved) @if (ViewBag.IsSectionApprover == true && Model.D0Completed == true && Model.D0Approved != true) { }
*D0-Comments @Html.TextAreaFor(model => model.D0Comments, 20, 30, new { id = "d0Comments", @class = "k-textbox", style = "font-size: 10px;width: 100%;" })
D1 - Establish the Team
  • Identify Team members.
  • Identify Team Captain.
  • Identify Team Sponsor.
Show/Hide
@(Html.Kendo().MultiSelect() .Name("TeamMemberIDs") //.BindTo(new SelectList(ViewBag.UserList, "TeamMemberID", "TeamMemberName")) .BindTo(new SelectList(ViewBag.UserList, "UserID", "UserName")) .Value(ViewBag.Nothing) )
@(Html.Kendo().DropDownList() .Name("TeamCaptainList") .BindTo(new SelectList(ViewBag.UserList, "UserID", "UserName")) .OptionLabel("Select") .HtmlAttributes(new { style = " font-size:10px" }) .Value(Model.TeamCaptainID.ToString()) )
@(Html.Kendo().DropDownList() .Name("CASponsorList") .BindTo(new SelectList(ViewBag.UserList, "UserID", "UserName")) .OptionLabel("Select") .HtmlAttributes(new { style = " font-size:10px" }) .Value(Model.CASponsorID.ToString()) )
D2 - Describe the Problem
  • Analyze existing data.
  • Report lot codes and date codes.
  • Identify "What is wrong with what".
  • Prepare Problem Description.
  • Develop "Is/Is Not" worksheet (1 of 4).
Show/Hide
@Html.TextBoxFor(model => model.CustomerName, new { id = "txtCustomerName", @class = "k-textbox", style = "width:100%" })
@Html.TextBoxFor(model => model.CustomerPartNo, new { id = "txtCustomerPartNo", @class = "k-textbox", style = "width:100%" })
@Html.TextBoxFor(model => model.IFXPartNo, new { id = "txtIFXPartNo", @class = "k-textbox", style = "width:100%" })
@Html.TextBoxFor(model => model.PartQty, new { id = "txtPartQty", @class = "k-textbox", style = "width:100%" })
@Html.TextBoxFor(model => model.InvoiceNo, new { id = "txtInvoiceNo", @class = "k-textbox", style = "width:100%" })
@Html.TextBoxFor(model => model.PurchaseOrderNo, new { id = "txtPurchaseOrderNo", @class = "k-textbox", style = "width:100%" })
@Html.TextBoxFor(model => model.SalesOrderNo, new { id = "txtSalesOrderNo", @class = "k-textbox", style = "width:100%" })
@Html.TextBoxFor(model => model.DollarImpact, new { id = "txtDollarImpact", @class = "k-textbox", style = "width:100%" })
@Html.TextAreaFor(model => model.BackgroundInfo, 20, 30, new { id = "txtBackgroundInfo", @class = "k-textbox", style = "font-size: 10px;width: 100%;" })
@Html.TextAreaFor(model => model.Analysis, 20, 30, new { id = "txtAnalysis", @class = "k-textbox", style = "font-size: 10px;width: 100%;" })
@Html.TextAreaFor(model => model.VisualVerification, 20, 30, new { id = "txtVisualVerification", @class = "k-textbox", style = "font-size: 10px;width: 100%;" })
D3 - Develop Interim Containment Actions (ICAs)
  • Check Team Composition.
  • Description of containment action.
  • Verify ICAs prior to implementation.
  • Implement ICA activities or quantify the risk to the customer.
Show/Hide
@Html.EditorFor(model => model.D3Completed) @Html.EditorFor(model => model.D3Approved) @if (ViewBag.IsSectionApprover == true && Model.D3Completed == true && Model.D3Approved != true) { }
@*@Html.EditorFor(model => model.D3DueDate, new { id = "txtD3DueDate", @class = "k-textbox", Readonly = "Readonly", style = "background-color:lightblue" })*@ @Html.TextBoxFor(model => model.D3DueDate, new { id = "txtD3DueDate", @class = "k-textbox", Readonly = "Readonly", style = "background-color:lightblue" })
@Html.ActionLink("Link to blank forms (FTA, Fish Bone 5Whys, Is/Is Not)", "DownloadTemplatesFiles")
@Html.TextAreaFor(model => model.InterimContainmentAction, 20, 30, new { id = "txtInterimContainmentAction", @class = "k-textbox", style = "font-size: 10px;width: 100%;" })
@Html.TextAreaFor(model => model.ICAVerificationResults, 20, 30, new { id = "txtICAVerificationResults", @class = "k-textbox", style = "font-size: 10px;width: 100%;" })
@Html.TextAreaFor(model => model.ICAValidationActivities, 20, 30, new { id = "txtICAValidationActivities", @class = "k-textbox", style = "font-size: 10px;width: 100%;" })
D4 - Define and Verify Root Cause and Escape Point.
  • Check Team Composition.
  • Perform Comparative Analysis (2 of 4).
  • Develop root cause theories (3 of 4).
  • Evaluate each potential root cause against the Problem Description (4 of 4).
  • Identify the "Escape Point" where the effect of the root cause could have been detected.
  • Report on DOEs, flow charts, fishbone diagrams.
@*
*@
@Html.EditorFor(model => model.D4Completed) @Html.EditorFor(model => model.D4Approved) @if (ViewBag.IsSectionApprover == true && Model.D4Completed == true && Model.D4Approved != true) { }
@Html.ActionLink("Link to blank forms (FTA, Fish Bone 5Whys, Is/Is Not)", "DownloadTemplatesFiles")
@*
*@
Enter in at least one root cause.
@Html.TextAreaFor(model => model.D4RootCause1, 5, 30, new { id = "txtD4RootCause1", @class = "k-textbox", style = "font-size: 10px;width: 100%;" })
@Html.TextAreaFor(model => model.D4RootCause2, 5, 30, new { id = "txtD4RootCause2", @class = "k-textbox", style = "font-size: 10px;width: 100%;" })
@Html.TextAreaFor(model => model.D4RootCause3, 5, 30, new { id = "txtD4RootCause3", @class = "k-textbox", style = "font-size: 10px;width: 100%;" })
@Html.TextAreaFor(model => model.D4RootCause4, 5, 30, new { id = "txtD4RootCause4", @class = "k-textbox", style = "font-size: 10px;width: 100%;" })
@(Html.Kendo().Upload() .Name("D4Files") .Async(a => a .Save("D4FilesAttachSave", "CorrectiveAction", new { caNo = Model.CANo }) .AutoUpload(true) ) .ShowFileList(false) .Events(events => events .Success("onD4FileUploadSuccess") .Upload("CheckFileType") ) )
@(Html.Kendo().Grid() .Name("D4Attachments") .Columns(columns => { columns.Bound(a => a.ID).Visible(false); columns.Bound(a => a.CANo).Visible(false); columns.Bound(a => a.FileGUID).Visible(false); columns.Bound(a => a.FileName); columns.Bound(a => a.UploadedByName); columns.Bound(a => a.UploadDateTime).Format("{0:MM/dd/yy hh:mm:ss}"); columns.Command(command => command.Custom("View").Click("DownloadCAAttachment")); columns.Command(command => command.Custom("Delete").Click("DeleteD4CAAttachment")); }) .Sortable() .Scrollable() .HtmlAttributes(new { style = "height:300px; width:100%; font-size: 10px" }) .DataSource(dataSource => dataSource .Ajax() //.Batch(false) .ServerOperation(false) .Events(events => events.Error("error_handler")) .Model(model => { model.Id(p => p.ID); }) .PageSize(50) .Read(read => read.Action("GetD4AttachmentList", "CorrectiveAction", new { caNO = Model.CANo })) ) )
@Html.TextAreaFor(model => model.RootCauseVerification, 5, 30, new { id = "txtRootCauseVerification", @class = "k-textbox", style = "font-size: 10px;width: 100%;" })
@Html.TextAreaFor(model => model.EscapePoint, 5, 30, new { id = "txtEscapePoint", @class = "k-textbox", style = "font-size: 10px;width: 100%;" })
Corrective/Preventitive Action D5/D6/D7
D5
  • Check Team Composition.
  • Select best PCAs for removal of root causes.
  • Select best PCAs for elimination of escape points.
  • Verify that all actions will be successful without causing undesirable effects.
  • Provide necessary process change notification for applicable changes.
  • Provide assessment of risk to the customer.
D6
  • Implement PCAs identified in D5.
  • Perform Comparative Analysis (2 of 4).
  • Remove applicable ICAs.
  • Validate the PCAs and monitor long-term effects.
D7
  • Address the cause of the cause (systems changes).
  • Modify necessary systems to prevent recurrence.
  • Review the impact on FMEA.
  • Review Impact on Process Control Plan.
Show/Hide
@Html.EditorFor(model => model.D5Completed) @Html.EditorFor(model => model.D5Approved) @Html.EditorFor(model => model.D6Validated) @if (ViewBag.IsSectionApprover == true && Model.D5Completed == true && Model.D5Approved != true) { }
@*@Html.EditorFor(model => model.D3DueDate, new { id = "txtD3DueDate", @class = "k-textbox", Readonly = "Readonly", style = "background-color:lightblue" })*@ @Html.TextBoxFor(model => model.D5D7DueDate, new { id = "txtD5D7DueDate", @class = "k-textbox", Readonly = "Readonly", style = "background-color:lightblue" })
@* @if (ViewBag.IsSectionApprover == true && Model.D5Completed == true && Model.D5Approved != true) { }
@Html.EditorFor(model => model.D5Completed) @Html.EditorFor(model => model.D5Approved) @Html.EditorFor(model => model.D6Validated)
*@
Enter in at least corrective/preventitive action item.
@if (!Model.D5Completed) { }
@if (!Model.D5Completed) { @(Html.Kendo().Grid() .Name("D5D6CorrectivetActions") .Columns(columns => { columns.Bound(a => a.ID).Visible(false); columns.Bound(a => a.CurrentResponsibilityOwnerID).Visible(false); columns.Bound(a => a.ResponsibilityOwnerID).Visible(false); columns.Bound(a => a.ImprovementID).Visible(false); columns.Bound(a => a.CorrectiveAction).Width("500px"); columns.Bound(a => a.AssignedDate).Format("{0:MM/dd/yy}").Width("50px"); columns.Bound(a => a.CARequired).Width("50px").Title("Choose").Visible(false); columns.Bound(a => a.ActionType).Width("50px").Title("Action Type"); columns.Bound(a => a.Result).Width("100px"); columns.Bound(a => a.ECNLinks).ClientTemplate("#=buildECNLinks(ECNLinks)#").Width("100px"); columns.Bound(a => a.AttachmentLinks).ClientTemplate("#=buildLinks(AttachmentLinks, CANo)#").Width("100px"); columns.Bound(a => a.ResponsibilityOwnerName).Width("100px"); columns.Bound(a => a.ECD).Width("100px").Format("{0:MM/dd/yy hh:mm:ss}"); columns.Bound(a => a.ImplementedDate).Width("100px").Format("{0:MM/dd/yy hh:mm:ss}"); columns.Bound(a => a.Improvement).Width("150px").Format("{0:MM/dd/yy hh:mm:ss}"); //columns.Command(c => c.Custom("Add-Remove File").Click("UploadD5D6CAAttachment")).Width("150px"); columns.Command(c => c.Custom("Edit").Click("EditD5D6CorrectivetActionItem")).Width("70px"); columns.Command(c => c.Custom("Delete").Click("DeletetD5D6CorrectivetActionItem")).Width("70px"); }) //.ToolBar(toolbar => toolbar.Create().Text("Add Item")) .Resizable(resize => resize.Columns(true)) .Sortable() .Scrollable() .HtmlAttributes(new { style = "height:125; width:100%; font-size: 11px" }) .DataSource(dataSource => dataSource .Ajax() //.Batch(false) .ServerOperation(false) .Model(model => { model.Id(p => p.ID); model.Field(a => a.CANo).DefaultValue(Model.CANo); }) .PageSize(50) .Read(read => read.Action("GetD5D6CorrectivetActionList", "CorrectiveAction", new { caNo = Model.CANo })) ) ) } else if (Model.D5Completed && !Model.D5Approved) { @(Html.Kendo().Grid() .Name("D5D6CorrectivetActions") .Columns(columns => { columns.Bound(a => a.ID).Visible(false); columns.Bound(a => a.CurrentResponsibilityOwnerID).Visible(false); columns.Bound(a => a.ResponsibilityOwnerID).Visible(false); columns.Bound(a => a.ImprovementID).Visible(false); columns.Bound(a => a.CorrectiveAction).Width("500px"); columns.Bound(a => a.AssignedDate).Format("{0:MM/dd/yy}").Width("50px"); columns.Bound(a => a.CARequired).Width("50px").Title("Choose").Visible(false); columns.Bound(a => a.ActionType).Width("50px").Title("Action Type"); columns.Bound(a => a.Result).Width("100px"); columns.Bound(a => a.ECNLinks).ClientTemplate("#=buildECNLinks(ECNLinks)#").Width("100px"); columns.Bound(a => a.AttachmentLinks).ClientTemplate("#=buildLinks(AttachmentLinks, CANo)#").Width("100px"); columns.Bound(a => a.ResponsibilityOwnerName).Width("100px"); columns.Bound(a => a.ECD).Width("100px").Format("{0:MM/dd/yy hh:mm:ss}"); columns.Bound(a => a.ImplementedDate).Width("100px").Format("{0:MM/dd/yy hh:mm:ss}"); columns.Bound(a => a.Improvement).Width("150px").Format("{0:MM/dd/yy hh:mm:ss}"); //columns.Command(c => c.Custom("Add-Remove File").Click("UploadD5D6CAAttachment")).Width("150px"); //columns.Command(c => c.Custom("Edit").Click("EditD5D6CorrectivetActionItem")).Width("70px"); //columns.Command(c => c.Custom("Delete").Click("DeletetD5D6CorrectivetActionItem")).Width("70px"); }) //.ToolBar(toolbar => toolbar.Create().Text("Add Item")) .Resizable(resize => resize.Columns(true)) .Sortable() .Scrollable() .HtmlAttributes(new { style = "height:125; width:100%; font-size: 11px" }) .DataSource(dataSource => dataSource .Ajax() //.Batch(false) .ServerOperation(false) .Model(model => { model.Id(p => p.ID); model.Field(a => a.CANo).DefaultValue(Model.CANo); }) .PageSize(50) .Read(read => read.Action("GetD5D6CorrectivetActionList", "CorrectiveAction", new { caNo = Model.CANo })) ) ) } else if (Model.D5Completed && Model.D5Approved && !Model.D6Validated) { @(Html.Kendo().Grid() .Name("D5D6CorrectivetActions") .Columns(columns => { columns.Bound(a => a.ID).Visible(false); columns.Bound(a => a.CurrentResponsibilityOwnerID).Visible(false); columns.Bound(a => a.ResponsibilityOwnerID).Visible(false); columns.Bound(a => a.ImprovementID).Visible(false); columns.Bound(a => a.CorrectiveAction).Width("500px"); columns.Bound(a => a.AssignedDate).Format("{0:MM/dd/yy}").Width("50px"); columns.Bound(a => a.CARequired).Width("50px").Title("Choose").Visible(false); columns.Bound(a => a.ActionType).Width("50px").Title("Action Type"); columns.Bound(a => a.Result).Width("100px"); columns.Bound(a => a.ECNLinks).ClientTemplate("#=buildECNLinks(ECNLinks)#").Width("100px"); columns.Bound(a => a.AttachmentLinks).ClientTemplate("#=buildLinks(AttachmentLinks, CANo)#").Width("100px"); columns.Bound(a => a.ResponsibilityOwnerName).Width("100px"); columns.Bound(a => a.ECD).Width("100px").Format("{0:MM/dd/yy hh:mm:ss}"); columns.Bound(a => a.ImplementedDate).Width("100px").Format("{0:MM/dd/yy hh:mm:ss}"); columns.Bound(a => a.Improvement).Width("150px").Format("{0:MM/dd/yy hh:mm:ss}"); columns.Command(c => c.Custom("Edit").Click("EditD5D6CorrectivetActionItem")).Width("70px"); }) .Resizable(resize => resize.Columns(true)) .Sortable() .Scrollable() .HtmlAttributes(new { style = "height:125; width:100%; font-size: 11px" }) .DataSource(dataSource => dataSource .Ajax() .ServerOperation(false) .Model(model => { model.Id(p => p.ID); model.Field(a => a.CANo).DefaultValue(Model.CANo); }) .PageSize(50) .Read(read => read.Action("GetD5D6CorrectivetActionList", "CorrectiveAction", new { caNo = Model.CANo })) ) ) } else if (Model.D6Validated) { @(Html.Kendo().Grid() .Name("D5D6CorrectivetActions") .Columns(columns => { columns.Bound(a => a.ID).Visible(false); columns.Bound(a => a.CurrentResponsibilityOwnerID).Visible(false); columns.Bound(a => a.ResponsibilityOwnerID).Visible(false); columns.Bound(a => a.ImprovementID).Visible(false); columns.Bound(a => a.CorrectiveAction).Width("500px"); columns.Bound(a => a.AssignedDate).Format("{0:MM/dd/yy}").Width("50px"); columns.Bound(a => a.CARequired).Width("50px").Title("Choose").Visible(false); columns.Bound(a => a.ActionType).Width("50px").Title("Action Type"); columns.Bound(a => a.Result).Width("100px"); columns.Bound(a => a.ECNLinks).ClientTemplate("#=buildECNLinks(ECNLinks)#").Width("100px"); columns.Bound(a => a.AttachmentLinks).ClientTemplate("#=buildLinks(AttachmentLinks, CANo)#").Width("100px"); columns.Bound(a => a.ResponsibilityOwnerName).Width("100px"); columns.Bound(a => a.ECD).Width("100px").Format("{0:MM/dd/yy hh:mm:ss}"); columns.Bound(a => a.ImplementedDate).Width("100px").Format("{0:MM/dd/yy hh:mm:ss}"); columns.Bound(a => a.Improvement).Width("150px").Format("{0:MM/dd/yy hh:mm:ss}"); }) .Resizable(resize => resize.Columns(true)) .Sortable() .Scrollable() .HtmlAttributes(new { style = "height:125; width:100%; font-size: 11px" }) .DataSource(dataSource => dataSource .Ajax() //.Batch(false) .ServerOperation(false) .Model(model => { model.Id(p => p.ID); model.Field(a => a.CANo).DefaultValue(Model.CANo); }) .PageSize(50) .Read(read => read.Action("GetD5D6CorrectivetActionList", "CorrectiveAction", new { caNo = Model.CANo })) ) ) }
D8 - Congratulate the team.
Show/Hide
@Html.EditorFor(model => model.D8Completed) @Html.EditorFor(model => model.D8Approved) @if (ViewBag.IsSectionApprover == true && Model.D8Completed == true && Model.D8Approved != true) { }
How we recognized the team: @Html.TextAreaFor(model => model.D8TeamRecognition, 3, 100, new { id = "txtD8TeamRecognition", @class = "k-textbox", style = "font-size: 10px;width: 100%;" })
*Lessons Learned: @Html.TextAreaFor(model => model.D8LessonsLearned, 3, 100, new { id = "txtD8LessonsLearned", @class = "k-textbox", style = "font-size: 10px;width: 100%;" })
Follow Up Show/Hide
Follow Up Due Date @(Html.Kendo().DatePickerFor(model => model.FollowUpDate) .Name("txtFollowUpDate") .Format("yyyy-MM-dd") )
@if (true) {
@if (ViewBag.IsApprover == "true") { } else if (((GlobalVars.IsAdmin(Session) && (Request.IsAuthenticated))) && Model.ClosedDate == null) { }
@if (GlobalVars.IsAdmin(Session) && (Request.IsAuthenticated)) { @(Html.Kendo().Grid() .Name("ApproversList") .Columns(columns => { columns.Bound(a => a.UserID).Visible(false); columns.Bound(a => a.ApprovalID).Visible(false); columns.Bound(a => a.FullName); columns.Bound(a => a.RoleName); columns.Bound(a => a.SubRoleName); columns.Bound(a => a.Status); columns.Bound(a => a.AssignedDate).Format("{0:MM/dd/yy hh:mm:ss}"); ; columns.Bound(a => a.CompletedDate).Format("{0:MM/dd/yy hh:mm:ss}"); ; columns.Bound(a => a.Comments); columns.Command(command => command.Custom("Re-Assign").Click("showReAssignRole")).Width("100px"); }) .Sortable() .Scrollable() .HtmlAttributes(new { style = "height:200px; width:100%; font-size: 10px" }) .DataSource(dataSource => dataSource .Ajax() //.Batch(false) .ServerOperation(false) .Model(model => { model.Id(p => p.ApprovalID); }) .PageSize(20) .Read(read => read.Action("GetApproversList", "CorrectiveAction", new { issueID = Model.CANo, step = Model.CurrentStep })) ) .Resizable(resize => resize.Columns(true)) ) } else { @(Html.Kendo().Grid() .Name("ApproversList") .Columns(columns => { columns.Bound(a => a.UserID).Visible(false); columns.Bound(a => a.ApprovalID).Visible(false); columns.Bound(a => a.FullName); columns.Bound(a => a.RoleName); columns.Bound(a => a.SubRoleName); columns.Bound(a => a.Status); columns.Bound(a => a.AssignedDate).Format("{0:MM/dd/yy hh:mm:ss}"); ; columns.Bound(a => a.CompletedDate).Format("{0:MM/dd/yy hh:mm:ss}"); ; columns.Bound(a => a.Comments); //columns.Command(command => command.Custom("Re-Assign").Click("showReAssignRole")).Width("100px"); }) .Sortable() .Scrollable() .HtmlAttributes(new { style = "height:200px; width:100%; font-size: 10px" }) .DataSource(dataSource => dataSource .Ajax() //.Batch(false) .ServerOperation(false) .Model(model => { model.Id(p => p.ApprovalID); }) .PageSize(20) .Read(read => read.Action("GetApproversList", "CorrectiveAction", new { issueID = Model.CANo, step = Model.CurrentStep })) ) .Resizable(resize => resize.Columns(true)) ) }
}
} @if (ViewBag.IsSectionApprover == true && Model.D0Completed == true && Model.D0Approved != true) { } @if (ViewBag.IsSectionApprover == true && Model.D3Completed == true && Model.D3Approved != true) { } @if (ViewBag.IsSectionApprover == true && Model.D4Completed == true && Model.D4Approved != true) { } @if ((ViewBag.IsSectionApprover == true && Model.D5Completed == true && Model.D5Approved != true) || (ViewBag.IsAIAssignee == true && Model.D5Approved == true)) { } @if (ViewBag.IsSectionApprover == true && Model.D8Completed == true && Model.D8Approved != true) { }