120 lines
3.4 KiB
C#
120 lines
3.4 KiB
C#
#pragma warning disable 1591
|
|
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
// Runtime Version:4.0.30319.17929
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace Disco.Web.Views.Job.JobParts
|
|
{
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Linq;
|
|
using System.Net;
|
|
using System.Text;
|
|
using System.Web;
|
|
using System.Web.Helpers;
|
|
using System.Web.Mvc;
|
|
using System.Web.Mvc.Ajax;
|
|
using System.Web.Mvc.Html;
|
|
using System.Web.Routing;
|
|
using System.Web.Security;
|
|
using System.Web.UI;
|
|
using System.Web.WebPages;
|
|
using Disco.BI.Extensions;
|
|
|
|
#line 2 "..\..\Views\Job\JobParts\JobMetaAdditions.cshtml"
|
|
using Disco.Models.Repository;
|
|
|
|
#line default
|
|
#line hidden
|
|
using Disco.Web;
|
|
using Disco.Web.Extensions;
|
|
|
|
[System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "1.5.0.0")]
|
|
[System.Web.WebPages.PageVirtualPathAttribute("~/Views/Job/JobParts/JobMetaAdditions.cshtml")]
|
|
public class JobMetaAdditions : System.Web.Mvc.WebViewPage<Disco.Web.Models.Job.ShowModel>
|
|
{
|
|
public JobMetaAdditions()
|
|
{
|
|
}
|
|
public override void Execute()
|
|
{
|
|
|
|
#line 3 "..\..\Views\Job\JobParts\JobMetaAdditions.cshtml"
|
|
|
|
Html.BundleDeferred("~/ClientScripts/Modules/Disco-PropertyChangeHelpers");
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
WriteLiteral("\r\n");
|
|
|
|
|
|
#line 6 "..\..\Views\Job\JobParts\JobMetaAdditions.cshtml"
|
|
switch (Model.Job.JobTypeId)
|
|
{
|
|
case JobType.JobTypeIds.HWar:
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 9 "..\..\Views\Job\JobParts\JobMetaAdditions.cshtml"
|
|
Write(Html.Partial(MVC.Job.Views.JobParts.Warranty));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 9 "..\..\Views\Job\JobParts\JobMetaAdditions.cshtml"
|
|
;
|
|
break;
|
|
case JobType.JobTypeIds.HNWar:
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 12 "..\..\Views\Job\JobParts\JobMetaAdditions.cshtml"
|
|
Write(Html.Partial(MVC.Job.Views.JobParts.NonWarranty));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 12 "..\..\Views\Job\JobParts\JobMetaAdditions.cshtml"
|
|
;
|
|
break;
|
|
case JobType.JobTypeIds.UMgmt:
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 15 "..\..\Views\Job\JobParts\JobMetaAdditions.cshtml"
|
|
Write(Html.Partial(MVC.Job.Views.JobParts.Flags));
|
|
|
|
|
|
#line default
|
|
#line hidden
|
|
|
|
#line 15 "..\..\Views\Job\JobParts\JobMetaAdditions.cshtml"
|
|
;
|
|
break;
|
|
default:
|
|
break;
|
|
}
|
|
|
|
#line default
|
|
#line hidden
|
|
}
|
|
}
|
|
}
|
|
#pragma warning restore 1591
|