#pragma warning disable 1591 //------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:4.0.30319.34011 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ namespace Disco.Web.Views.Job { 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; using Disco.BI.Extensions; using Disco.Models.Repository; using Disco.Services; using Disco.Services.Authorization; using Disco.Services.Web; using Disco.Web; using Disco.Web.Extensions; [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "2.0.0.0")] [System.Web.WebPages.PageVirtualPathAttribute("~/Views/Job/LogWarrantyError.cshtml")] public partial class LogWarrantyError : Disco.Services.Web.WebViewPage { public LogWarrantyError() { } public override void Execute() { #line 2 "..\..\Views\Job\LogWarrantyError.cshtml" Authorization.Require(Claims.Job.Actions.LogWarranty); ViewBag.Title = Html.ToBreadcrumb("Jobs", MVC.Job.Index(), string.Format("Job: {0}", Model.Job.Id), MVC.Job.Show(Model.Job.Id), "Log Warranty Error"); #line default #line hidden WriteLiteral("\r\n\r\n

\r\n Submission Error

\r\n \r\n \r\n " + "
\r\n
\r\n "); #line 14 "..\..\Views\Job\LogWarrantyError.cshtml" Write(Model.Error.Message); #line default #line hidden WriteLiteral("\r\n
\r\n (show more)\r\n \r\n
\r\n Error Type: "); #line 19 "..\..\Views\Job\LogWarrantyError.cshtml" Write(Model.Error.GetType().Name); #line default #line hidden WriteLiteral("\r\n
\r\n Stack Trace:\r\n" + " \r\n"); WriteLiteral(" "); #line 23 "..\..\Views\Job\LogWarrantyError.cshtml" Write(Model.Error.StackTrace.ToMultilineString()); #line default #line hidden WriteLiteral("\r\n \r\n"); #line 25 "..\..\Views\Job\LogWarrantyError.cshtml" #line default #line hidden #line 25 "..\..\Views\Job\LogWarrantyError.cshtml" if (Model.Error.InnerException != null) { #line default #line hidden WriteLiteral("
\r\n"); WriteLiteral("
\r\n Inner Exceptio" + "n: "); #line 29 "..\..\Views\Job\LogWarrantyError.cshtml" Write(Model.Error.InnerException.Message); #line default #line hidden WriteLiteral("
\r\n Error Type: "); #line 30 "..\..\Views\Job\LogWarrantyError.cshtml" Write(Model.Error.GetType().Name); #line default #line hidden WriteLiteral("
\r\n Stack Trace:\r\n " + " \r\n"); WriteLiteral(" "); #line 33 "..\..\Views\Job\LogWarrantyError.cshtml" Write(Model.Error.InnerException.StackTrace); #line default #line hidden WriteLiteral("\r\n
\r\n \r\n"); #line 36 "..\..\Views\Job\LogWarrantyError.cshtml" } #line default #line hidden WriteLiteral(" \r\n $(function () { $('#warrantyJobErrorShow').click(function () { $(this).hide(); $('#warrantyJobErrorMore').slideDown(); }); });
\r\n

\r\n Warranty Submission Details

\r\n \r\n \r" + "\n \r\n " + " \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n " + " \r\n Repair Address:\r\n \r\n \r\n " + " \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n Internal Job Id:\r\n \r\n"); WriteLiteral(" "); #line 59 "..\..\Views\Job\LogWarrantyError.cshtml" Write(Model.JobId); #line default #line hidden WriteLiteral("\r\n
\r\n " + " Device Serial Number:\r\n \r\n"); WriteLiteral(" "); #line 67 "..\..\Views\Job\LogWarrantyError.cshtml" Write(Model.Job.Device.SerialNumber); #line default #line hidden WriteLiteral("\r\n
\r\n " + " Device Model:\r\n \r\n"); WriteLiteral(" "); #line 75 "..\..\Views\Job\LogWarrantyError.cshtml" Write(Model.Job.Device.DeviceModel.Manufacturer); #line default #line hidden WriteLiteral(" "); #line 75 "..\..\Views\Job\LogWarrantyError.cshtml" Write(Model.Job.Device.DeviceModel.Model); #line default #line hidden WriteLiteral("\r\n
\r\n " + " Technician:\r\n \r\n"); WriteLiteral(" "); #line 83 "..\..\Views\Job\LogWarrantyError.cshtml" Write(Model.TechUser.DisplayName); #line default #line hidden WriteLiteral("\r\n \r\n Email Address: "); #line 85 "..\..\Views\Job\LogWarrantyError.cshtml" Write(Model.TechUser.EmailAddress); #line default #line hidden WriteLiteral("
\r\n Phone Number: "); #line 86 "..\..\Views\Job\LogWarrantyError.cshtml" Write(Model.TechUser.PhoneNumber); #line default #line hidden WriteLiteral("\r\n \r\n
\r\n " + " \r\n"); WriteLiteral(" "); #line 96 "..\..\Views\Job\LogWarrantyError.cshtml" Write(Model.OrganisationAddress.Name); #line default #line hidden WriteLiteral("\r\n \r\n "); #line 98 "..\..\Views\Job\LogWarrantyError.cshtml" Write(Model.OrganisationAddress.Address); #line default #line hidden WriteLiteral("
\r\n "); #line 99 "..\..\Views\Job\LogWarrantyError.cshtml" Write(Model.OrganisationAddress.Suburb); #line default #line hidden WriteLiteral(", "); #line 99 "..\..\Views\Job\LogWarrantyError.cshtml" Write(Model.OrganisationAddress.Postcode); #line default #line hidden WriteLiteral("
\r\n "); #line 100 "..\..\Views\Job\LogWarrantyError.cshtml" Write(Model.OrganisationAddress.State); #line default #line hidden WriteLiteral(", "); #line 100 "..\..\Views\Job\LogWarrantyError.cshtml" Write(Model.OrganisationAddress.Country); #line default #line hidden WriteLiteral("\r\n \r\n \r\n
\r\n Warranty Provider:" + "\r\n \r\n"); WriteLiteral(" "); #line 110 "..\..\Views\Job\LogWarrantyError.cshtml" Write(Model.WarrantyProvider.Name); #line default #line hidden WriteLiteral(" ("); #line 110 "..\..\Views\Job\LogWarrantyError.cshtml" Write(Model.WarrantyProvider.Id); #line default #line hidden WriteLiteral(") "); #line 110 "..\..\Views\Job\LogWarrantyError.cshtml" Write(Model.WarrantyProvider.PluginManifest.Version.ToString(3)); #line default #line hidden WriteLiteral("\r\n
\r\n " + " Fault Description:\r\n \r\n"); WriteLiteral(" "); #line 118 "..\..\Views\Job\LogWarrantyError.cshtml" Write(Model.FaultDescription.ToMultilineString()); #line default #line hidden WriteLiteral("\r\n
\r\n\r\n\r\n"); WriteLiteral(" "); #line 124 "..\..\Views\Job\LogWarrantyError.cshtml" Write(Html.ActionLinkButton("Try Again", MVC.Job.LogWarranty(Model.JobId, null, null))); #line default #line hidden WriteLiteral("\r\n"); WriteLiteral(" "); #line 125 "..\..\Views\Job\LogWarrantyError.cshtml" Write(Html.ActionLinkButton("Return to Job", MVC.Job.Show(Model.JobId))); #line default #line hidden WriteLiteral("\r\n\r\n"); } } } #pragma warning restore 1591