| Internal Job Id: + | ++ @Model.JobId + | +
|---|---|
| Device Serial Number: + | ++ @Model.Job.Device.SerialNumber + | +
| Device Model: + | ++ @Model.Job.Device.DeviceModel.Manufacturer @Model.Job.Device.DeviceModel.Model + | +
| Technician: + | +
+ @Model.TechUser.DisplayName
+
+ Email Address: @Model.TechUser.EmailAddress
+ + Phone Number: @Model.TechUser.PhoneNumber + |
+
| Address: + | +
+ @Html.DropDownListFor(model => model.OrganisationAddressId, Model.OrganisationAddresses.ToSelectListItems(Model.OrganisationAddressId, (Model.OrganisationAddress == null))) + @Html.ValidationMessageFor(m => m.OrganisationAddressId) +
+ @{
+ var oa = Model.OrganisationAddress;
+ if (oa != null)
+ {
+ @oa.Address
+
+ + @oa.Suburb, @oa.Postcode + + @oa.State, @oa.Country + } + } + |
+
| Insurance Provider: + | +
+ @Html.DropDownListFor(model => model.ProviderId, Model.Providers.ToSelectListItems(Model.ProviderId, AdditionalItems: new Dictionary + @Html.ValidationMessageFor(m => m.ProviderId) + @if (Model.Providers.Count == 0 && Authorization.Has(Claims.Config.Plugin.Install)) + { +
+
+ }
+ + View the Plugin Catalogue to discover and install provider plugins. + + |
+
| Insurer Name: | +
+ @Html.EditorFor(model => model.ManualProviderName) + @Html.ValidationMessageFor(m => m.ManualProviderName) + |
+
| Insurer Reference: | +
+ @Html.EditorFor(model => model.ManualProviderReference) + @Html.ValidationMessageFor(m => m.ManualProviderReference) + |
+
|
+
+ @foreach (var ja in Model.Job.JobAttachments)
+ {
+
+
+
+
+ |
+
| Internal Job Id:\r\n " + +" | \r\n\r\n"); + +WriteLiteral(" "); + + + #line 20 "..\..\Views\Job\LogInsurance.cshtml" + Write(Model.JobId); + + + #line default + #line hidden +WriteLiteral("\r\n | \r\n
|---|---|
| Device Serial Number:\r\n | \r\n\r\n"); + +WriteLiteral(" "); + + + #line 27 "..\..\Views\Job\LogInsurance.cshtml" + Write(Model.Job.Device.SerialNumber); + + + #line default + #line hidden +WriteLiteral("\r\n | \r\n
| Device Model:\r\n | \r\n\r\n"); + +WriteLiteral(" "); + + + #line 34 "..\..\Views\Job\LogInsurance.cshtml" + Write(Model.Job.Device.DeviceModel.Manufacturer); + + + #line default + #line hidden +WriteLiteral(" "); + + + #line 34 "..\..\Views\Job\LogInsurance.cshtml" + Write(Model.Job.Device.DeviceModel.Model); + + + #line default + #line hidden +WriteLiteral("\r\n | \r\n
| Technician:\r\n | \r\n\r\n");
+
+WriteLiteral(" ");
+
+
+ #line 41 "..\..\Views\Job\LogInsurance.cshtml"
+ Write(Model.TechUser.DisplayName);
+
+
+ #line default
+ #line hidden
+WriteLiteral("\r\n \r\n Email Address: ");
+
+
+ #line 43 "..\..\Views\Job\LogInsurance.cshtml"
+ Write(Model.TechUser.EmailAddress);
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n \r\n Phone Number: "); + + + #line 44 "..\..\Views\Job\LogInsurance.cshtml" + Write(Model.TechUser.PhoneNumber); + + + #line default + #line hidden +WriteLiteral("\r\n | \r\n
| Address:\r\n | \r\n\r\n");
+
+WriteLiteral(" ");
+
+
+ #line 52 "..\..\Views\Job\LogInsurance.cshtml"
+ Write(Html.DropDownListFor(model => model.OrganisationAddressId, Model.OrganisationAddresses.ToSelectListItems(Model.OrganisationAddressId, (Model.OrganisationAddress == null))));
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n"); + +WriteLiteral(" "); + + + #line 53 "..\..\Views\Job\LogInsurance.cshtml" + Write(Html.ValidationMessageFor(m => m.OrganisationAddressId)); + + + #line default + #line hidden +WriteLiteral("\r\n \r\n");
+
+
+ #line 55 "..\..\Views\Job\LogInsurance.cshtml"
+
+
+ #line default
+ #line hidden
+
+ #line 55 "..\..\Views\Job\LogInsurance.cshtml"
+
+ var oa = Model.OrganisationAddress;
+ if (oa != null)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral(" ");
+
+
+ #line 59 "..\..\Views\Job\LogInsurance.cshtml"
+ Write(oa.Address);
+
+
+ #line default
+ #line hidden
+WriteLiteral("\r\n");
+
+WriteLiteral(" \r\n \r\n"); + +WriteLiteral(" "); + + + #line 61 "..\..\Views\Job\LogInsurance.cshtml" + Write(oa.Suburb); + + + #line default + #line hidden +WriteLiteral(", "); + + + #line 61 "..\..\Views\Job\LogInsurance.cshtml" + Write(oa.Postcode); + + + #line default + #line hidden +WriteLiteral("\r\n"); + +WriteLiteral(" \r\n"); + +WriteLiteral(" "); + + + #line 63 "..\..\Views\Job\LogInsurance.cshtml" + Write(oa.State); + + + #line default + #line hidden +WriteLiteral(", "); + + + #line 63 "..\..\Views\Job\LogInsurance.cshtml" + Write(oa.Country); + + + #line default + #line hidden +WriteLiteral("\r\n"); + + + #line 64 "..\..\Views\Job\LogInsurance.cshtml" + } + + + #line default + #line hidden +WriteLiteral("\r\n | \r\n
| Insurance Provider:\r\n | \r\n " + +"\r\n");
+
+WriteLiteral(" ");
+
+
+ #line 73 "..\..\Views\Job\LogInsurance.cshtml"
+ Write(Html.DropDownListFor(model => model.ProviderId, Model.Providers.ToSelectListItems(Model.ProviderId, AdditionalItems: new Dictionary \r\n"); + +WriteLiteral(" "); + + + #line 74 "..\..\Views\Job\LogInsurance.cshtml" + Write(Html.ValidationMessageFor(m => m.ProviderId)); + + + #line default + #line hidden +WriteLiteral("\r\n"); + + + #line 75 "..\..\Views\Job\LogInsurance.cshtml" + + + #line default + #line hidden + + #line 75 "..\..\Views\Job\LogInsurance.cshtml" + if (Model.Providers.Count == 0 && Authorization.Has(Claims.Config.Plugin.Install)) + { + + + #line default + #line hidden +WriteLiteral(" \r\n \r\n");
+
+
+ #line 82 "..\..\Views\Job\LogInsurance.cshtml"
+ }
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n View the (Url.Action(MVC.Config.Plugins.Install()) + + #line default + #line hidden +, 3394), false) +); + +WriteLiteral(">Plugin Catalogue to discover and install provider plugins.\r\n " + +" \r\n | \r\n
| Insurer Name: | \r\n " + +"\r\n");
+
+WriteLiteral(" ");
+
+
+ #line 90 "..\..\Views\Job\LogInsurance.cshtml"
+ Write(Html.EditorFor(model => model.ManualProviderName));
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n"); + +WriteLiteral(" "); + + + #line 91 "..\..\Views\Job\LogInsurance.cshtml" + Write(Html.ValidationMessageFor(m => m.ManualProviderName)); + + + #line default + #line hidden +WriteLiteral("\r\n | \r\n
| Insurer Reference: | \r\n " + +"\r\n");
+
+WriteLiteral(" ");
+
+
+ #line 97 "..\..\Views\Job\LogInsurance.cshtml"
+ Write(Html.EditorFor(model => model.ManualProviderReference));
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n"); + +WriteLiteral(" "); + + + #line 98 "..\..\Views\Job\LogInsurance.cshtml" + Write(Html.ValidationMessageFor(m => m.ManualProviderReference)); + + + #line default + #line hidden +WriteLiteral("\r\n | \r\n
| \r\n \r\n");
+
+
+ #line 112 "..\..\Views\Job\LogInsurance.cshtml"
+
+
+ #line default
+ #line hidden
+
+ #line 112 "..\..\Views\Job\LogInsurance.cshtml"
+ foreach (var ja in Model.Job.JobAttachments)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral(" (Url.Action(MVC.API.Job.AttachmentDownload(ja.Id))
+
+ #line default
+ #line hidden
+, 4846), false)
+);
+
+WriteLiteral(" data-attachmentid=\"");
+
+
+ #line 114 "..\..\Views\Job\LogInsurance.cshtml"
+ Write(ja.Id);
+
+
+ #line default
+ #line hidden
+WriteLiteral("\"");
+
+WriteLiteral(" data-mimetype=\"");
+
+
+ #line 114 "..\..\Views\Job\LogInsurance.cshtml"
+ Write(ja.MimeType);
+
+
+ #line default
+ #line hidden
+WriteLiteral("\"");
+
+WriteLiteral(">\r\n (ja.Id
+
+ #line default
+ #line hidden
+, 5054), false)
+);
+
+WriteLiteral(" ");
+
+
+ #line 115 "..\..\Views\Job\LogInsurance.cshtml"
+ Write(Model.AttachmentIds.Contains(ja.Id) ? "checked" : null);
+
+
+ #line default
+ #line hidden
+WriteLiteral(" />\r\n (ja.Filename
+
+ #line default
+ #line hidden
+, 5182), false)
+);
+
+WriteLiteral(">\r\n \r\n | \r\n
| Internal Job Id:\r\n " + +" | \r\n\r\n"); + +WriteLiteral(" "); + + + #line 22 "..\..\Views\Job\LogInsuranceDisclose.cshtml" + Write(Model.JobId); + + + #line default + #line hidden +WriteLiteral("\r\n | \r\n||
|---|---|---|---|
| Device Serial Number:\r\n | \r\n\r\n"); + +WriteLiteral(" "); + + + #line 29 "..\..\Views\Job\LogInsuranceDisclose.cshtml" + Write(Model.Job.Device.SerialNumber); + + + #line default + #line hidden +WriteLiteral("\r\n | \r\n||
| Device Model:\r\n | \r\n\r\n"); + +WriteLiteral(" "); + + + #line 36 "..\..\Views\Job\LogInsuranceDisclose.cshtml" + Write(Model.Job.Device.DeviceModel.Manufacturer); + + + #line default + #line hidden +WriteLiteral(" "); + + + #line 36 "..\..\Views\Job\LogInsuranceDisclose.cshtml" + Write(Model.Job.Device.DeviceModel.Model); + + + #line default + #line hidden +WriteLiteral("\r\n | \r\n||
| Technician:\r\n | \r\n\r\n");
+
+WriteLiteral(" ");
+
+
+ #line 43 "..\..\Views\Job\LogInsuranceDisclose.cshtml"
+ Write(Model.TechUser.DisplayName);
+
+
+ #line default
+ #line hidden
+WriteLiteral("\r\n \r\n Email Address: ");
+
+
+ #line 45 "..\..\Views\Job\LogInsuranceDisclose.cshtml"
+ Write(Model.TechUser.EmailAddress);
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n \r\n Phone Number: "); + + + #line 46 "..\..\Views\Job\LogInsuranceDisclose.cshtml" + Write(Model.TechUser.PhoneNumber); + + + #line default + #line hidden +WriteLiteral("\r\n | \r\n ||
| Address:\r\n | \r\n\r\n \r\n");
+
+WriteLiteral(" ");
+
+
+ #line 55 "..\..\Views\Job\LogInsuranceDisclose.cshtml"
+ Write(Model.OrganisationAddress.Name);
+
+
+ #line default
+ #line hidden
+WriteLiteral("\r\n \r\n " +
+" \r\n ");
+
+
+ #line 57 "..\..\Views\Job\LogInsuranceDisclose.cshtml"
+ Write(Model.OrganisationAddress.Address);
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n \r\n "); + + + #line 58 "..\..\Views\Job\LogInsuranceDisclose.cshtml" + Write(Model.OrganisationAddress.Suburb); + + + #line default + #line hidden +WriteLiteral(", "); + + + #line 58 "..\..\Views\Job\LogInsuranceDisclose.cshtml" + Write(Model.OrganisationAddress.Postcode); + + + #line default + #line hidden +WriteLiteral(" \r\n "); + + + #line 59 "..\..\Views\Job\LogInsuranceDisclose.cshtml" + Write(Model.OrganisationAddress.State); + + + #line default + #line hidden +WriteLiteral(", "); + + + #line 59 "..\..\Views\Job\LogInsuranceDisclose.cshtml" + Write(Model.OrganisationAddress.Country); + + + #line default + #line hidden +WriteLiteral("\r\n | \r\n ||
| Provider:\r\n " + +" | \r\n\r\n"); + +WriteLiteral(" "); + + + #line 68 "..\..\Views\Job\LogInsuranceDisclose.cshtml" + Write(Model.Provider.Name); + + + #line default + #line hidden +WriteLiteral(" ("); + + + #line 68 "..\..\Views\Job\LogInsuranceDisclose.cshtml" + Write(Model.Provider.Id); + + + #line default + #line hidden +WriteLiteral(") "); + + + #line 68 "..\..\Views\Job\LogInsuranceDisclose.cshtml" + Write(Model.Provider.PluginManifest.Version.ToString(3)); + + + #line default + #line hidden +WriteLiteral("\r\n | \r\n||
| Disclosed Information\r\n | \r\n\r\n " +
+" \r\n \r\n \r\n
| ||
| Sending Attachments | \r\n " + +"\r\n \r\n \r\n " +
+" \r\n");
+
+
+ #line 97 "..\..\Views\Job\LogInsuranceDisclose.cshtml"
+
+
+ #line default
+ #line hidden
+
+ #line 97 "..\..\Views\Job\LogInsuranceDisclose.cshtml"
+ foreach (var ja in Model.Attachments)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral(" (ja.Id
+
+ #line default
+ #line hidden
+, 3925), false)
+);
+
+WriteLiteral(" />\r\n");
+
+WriteLiteral(" (Url.Action(MVC.API.Job.AttachmentDownload(ja.Id))
+
+ #line default
+ #line hidden
+, 3982), false)
+);
+
+WriteLiteral(" data-attachmentid=\"");
+
+
+ #line 100 "..\..\Views\Job\LogInsuranceDisclose.cshtml"
+ Write(ja.Id);
+
+
+ #line default
+ #line hidden
+WriteLiteral("\"");
+
+WriteLiteral(" data-mimetype=\"");
+
+
+ #line 100 "..\..\Views\Job\LogInsuranceDisclose.cshtml"
+ Write(ja.MimeType);
+
+
+ #line default
+ #line hidden
+WriteLiteral("\"");
+
+WriteLiteral(">\r\n (ja.Filename
+
+ #line default
+ #line hidden
+, 4158), false)
+);
+
+WriteLiteral(">\r\n \r\n | \r\n
|
+
+ @Model.Error.Message
+
+ (show more)
+
+
+ |
+
| Internal Job Id: + | ++ @Model.JobId + | +
|---|---|
| Device Serial Number: + | ++ @Model.Job.Device.SerialNumber + | +
| Device Model: + | ++ @Model.Job.Device.DeviceModel.Manufacturer @Model.Job.Device.DeviceModel.Model + | +
| Technician: + | +
+ @Model.TechUser.DisplayName
+
+ Email Address: @Model.TechUser.EmailAddress
+ + Phone Number: @Model.TechUser.PhoneNumber + |
+
| Address: + | +
+
+ @Model.OrganisationAddress.Name
+
+
+ @Model.OrganisationAddress.Address
+ + @Model.OrganisationAddress.Suburb, @Model.OrganisationAddress.Postcode + @Model.OrganisationAddress.State, @Model.OrganisationAddress.Country + |
+
| Provider: + | ++ @if (Model.Provider != null) + { + + @Model.Provider.Name (@Model.Provider.Id) @Model.Provider.PluginManifest.Version.ToString(3) + + } + else + { + None Selected + } + | +
| \r\n " +
+" \r\n ");
+
+
+ #line 13 "..\..\Views\Job\LogInsuranceError.cshtml"
+ Write(Model.Error.Message);
+
+
+ #line default
+ #line hidden
+WriteLiteral("\r\n \r\n (show more)\r\n \r\n \r\n
+ \r\n Error Type: "); + + + #line 18 "..\..\Views\Job\LogInsuranceError.cshtml" + Write(Model.Error.GetType().Name); + + + #line default + #line hidden +WriteLiteral("\r\n \r\n Stack Trace:\r\n" + +" \r\n");
+
+WriteLiteral(" ");
+
+
+ #line 22 "..\..\Views\Job\LogInsuranceError.cshtml"
+ Write(Model.Error.StackTrace.ToMultilineString());
+
+
+ #line default
+ #line hidden
+WriteLiteral("\r\n \r\n");
+
+
+ #line 24 "..\..\Views\Job\LogInsuranceError.cshtml"
+
+
+ #line default
+ #line hidden
+
+ #line 24 "..\..\Views\Job\LogInsuranceError.cshtml"
+ if (Model.Error.InnerException != null)
+ {
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n"); + +WriteLiteral(" \r\n Inner Exceptio" +
+"n: ");
+
+
+ #line 28 "..\..\Views\Job\LogInsuranceError.cshtml"
+ Write(Model.Error.InnerException.Message);
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n");
+
+
+ #line 35 "..\..\Views\Job\LogInsuranceError.cshtml"
+ }
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n Error Type: "); + + + #line 29 "..\..\Views\Job\LogInsuranceError.cshtml" + Write(Model.Error.GetType().Name); + + + #line default + #line hidden +WriteLiteral(" \r\n Stack Trace:\r\n " + +" \r\n");
+
+WriteLiteral(" ");
+
+
+ #line 32 "..\..\Views\Job\LogInsuranceError.cshtml"
+ Write(Model.Error.InnerException.StackTrace);
+
+
+ #line default
+ #line hidden
+WriteLiteral("\r\n \r\n |
+
| Internal Job Id:\r\n | \r\n\r\n"); + +WriteLiteral(" "); + + + #line 57 "..\..\Views\Job\LogInsuranceError.cshtml" + Write(Model.JobId); + + + #line default + #line hidden +WriteLiteral("\r\n | \r\n
|---|---|
| Device Serial N" + +"umber:\r\n | \r\n\r\n"); + +WriteLiteral(" "); + + + #line 64 "..\..\Views\Job\LogInsuranceError.cshtml" + Write(Model.Job.Device.SerialNumber); + + + #line default + #line hidden +WriteLiteral("\r\n | \r\n
| Device Model:\r\n" + +" | \r\n\r\n"); + +WriteLiteral(" "); + + + #line 71 "..\..\Views\Job\LogInsuranceError.cshtml" + Write(Model.Job.Device.DeviceModel.Manufacturer); + + + #line default + #line hidden +WriteLiteral(" "); + + + #line 71 "..\..\Views\Job\LogInsuranceError.cshtml" + Write(Model.Job.Device.DeviceModel.Model); + + + #line default + #line hidden +WriteLiteral("\r\n | \r\n
| Technician:\r\n " + +" | \r\n\r\n");
+
+WriteLiteral(" ");
+
+
+ #line 78 "..\..\Views\Job\LogInsuranceError.cshtml"
+ Write(Model.TechUser.DisplayName);
+
+
+ #line default
+ #line hidden
+WriteLiteral("\r\n \r\n Email Address: ");
+
+
+ #line 80 "..\..\Views\Job\LogInsuranceError.cshtml"
+ Write(Model.TechUser.EmailAddress);
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n \r\n Phone Number: "); + + + #line 81 "..\..\Views\Job\LogInsuranceError.cshtml" + Write(Model.TechUser.PhoneNumber); + + + #line default + #line hidden +WriteLiteral("\r\n | \r\n
| Address:\r\n | \r\n\r\n \r\n");
+
+WriteLiteral(" ");
+
+
+ #line 90 "..\..\Views\Job\LogInsuranceError.cshtml"
+ Write(Model.OrganisationAddress.Name);
+
+
+ #line default
+ #line hidden
+WriteLiteral("\r\n \r\n \r\n ");
+
+
+ #line 92 "..\..\Views\Job\LogInsuranceError.cshtml"
+ Write(Model.OrganisationAddress.Address);
+
+
+ #line default
+ #line hidden
+WriteLiteral(" \r\n \r\n "); + + + #line 93 "..\..\Views\Job\LogInsuranceError.cshtml" + Write(Model.OrganisationAddress.Suburb); + + + #line default + #line hidden +WriteLiteral(", "); + + + #line 93 "..\..\Views\Job\LogInsuranceError.cshtml" + Write(Model.OrganisationAddress.Postcode); + + + #line default + #line hidden +WriteLiteral(" \r\n "); + + + #line 94 "..\..\Views\Job\LogInsuranceError.cshtml" + Write(Model.OrganisationAddress.State); + + + #line default + #line hidden +WriteLiteral(", "); + + + #line 94 "..\..\Views\Job\LogInsuranceError.cshtml" + Write(Model.OrganisationAddress.Country); + + + #line default + #line hidden +WriteLiteral("\r\n | \r\n " +
+"
| Provider:\r\n | \r\n " + +"\r\n"); + + + #line 103 "..\..\Views\Job\LogInsuranceError.cshtml" + + + #line default + #line hidden + + #line 103 "..\..\Views\Job\LogInsuranceError.cshtml" + if (Model.Provider != null) + { + + + #line default + #line hidden +WriteLiteral(" \r\n"); + +WriteLiteral(" "); + + + #line 106 "..\..\Views\Job\LogInsuranceError.cshtml" + Write(Model.Provider.Name); + + + #line default + #line hidden +WriteLiteral(" ("); + + + #line 106 "..\..\Views\Job\LogInsuranceError.cshtml" + Write(Model.Provider.Id); + + + #line default + #line hidden +WriteLiteral(") "); + + + #line 106 "..\..\Views\Job\LogInsuranceError.cshtml" + Write(Model.Provider.PluginManifest.Version.ToString(3)); + + + #line default + #line hidden +WriteLiteral("\r\n \r\n"); + + + #line 108 "..\..\Views\Job\LogInsuranceError.cshtml" + } + else + { + + + #line default + #line hidden +WriteLiteral(" None Selected\r\n"); + + + #line 112 "..\..\Views\Job\LogInsuranceError.cshtml" + } + + + #line default + #line hidden +WriteLiteral(" | \r\n
| Internal Job Id: + | + Internal Job Id: | @Model.JobId | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Device Serial Number: + | + Device Serial Number: | @Model.Job.Device.SerialNumber | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Device Model: + | + Device Model: | @Model.Job.Device.DeviceModel.Manufacturer @Model.Job.Device.DeviceModel.Model | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Technician: + | + Technician: | @Model.TechUser.DisplayName @@ -45,28 +50,30 @@ | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Repair Address: + | + Repair Address: |
@Html.DropDownListFor(model => model.OrganisationAddressId, Model.OrganisationAddresses.ToSelectListItems(Model.OrganisationAddressId, (Model.OrganisationAddress == null))) @Html.ValidationMessageFor(m => m.OrganisationAddressId)
@{
- var oa = Model.OrganisationAddress;
- if (oa != null)
- {
- @oa.Address
-
- @oa.Suburb, @oa.Postcode - - @oa.State, @oa.Country - } + var oa = Model.OrganisationAddress; + if (oa != null) + { + @oa.Address + + @oa.Suburb, @oa.Postcode + + @oa.State, @oa.Country + } } |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Repair Provider: + | + Repair Provider: |
@Html.DropDownListFor(model => model.RepairProviderId, Model.RepairProviders.ToSelectListItems(Model.RepairProviderId, AdditionalItems: new Dictionary @@ -179,6 +186,8 @@ $('').attr({ type: 'hidden', name: 'ManualProviderName', value: $('#ManualProviderName').val() }) ).append( $('').attr({ type: 'hidden', name: 'ManualProviderReference', value: $('#ManualProviderReference').val() }) + ).append( + $('').attr({ type: 'hidden', name: '__RequestVerificationToken', value: $providerId.closest('form').find('input[name="__RequestVerificationToken"]').val() }) ).appendTo('body').submit(); } diff --git a/Disco.Web/Views/Job/LogRepair.generated.cs b/Disco.Web/Views/Job/LogRepair.generated.cs index fc641856..1515720e 100644 --- a/Disco.Web/Views/Job/LogRepair.generated.cs +++ b/Disco.Web/Views/Job/LogRepair.generated.cs @@ -48,7 +48,7 @@ namespace Disco.Web.Views.Job Authorization.Require(Claims.Job.Actions.LogRepair); - ViewBag.Title = Html.ToBreadcrumb("Jobs", MVC.Job.Index(), string.Format("Job: {0}", Model.Job.Id), MVC.Job.Show(Model.Job.Id), "Log Repair"); + ViewBag.Title = Html.ToBreadcrumb("Jobs", MVC.Job.Index(), string.Format("Job: {0}", Model.Job.Id), MVC.Job.Show(Model.Job.Id), "Lodge Repair"); #line default @@ -65,41 +65,55 @@ WriteLiteral("\r\n"); #line hidden #line 9 "..\..\Views\Job\LogRepair.cshtml" -Write(Html.ValidationSummary(true)); +Write(Html.AntiForgeryToken()); #line default #line hidden #line 9 "..\..\Views\Job\LogRepair.cshtml" - + #line default #line hidden #line 10 "..\..\Views\Job\LogRepair.cshtml" +Write(Html.ValidationSummary(true)); + + + #line default + #line hidden + + #line 10 "..\..\Views\Job\LogRepair.cshtml" + + + + #line default + #line hidden + + #line 11 "..\..\Views\Job\LogRepair.cshtml" Write(Html.HiddenFor(m => m.JobId)); #line default #line hidden - #line 10 "..\..\Views\Job\LogRepair.cshtml" + #line 11 "..\..\Views\Job\LogRepair.cshtml" #line default #line hidden - #line 11 "..\..\Views\Job\LogRepair.cshtml" + #line 12 "..\..\Views\Job\LogRepair.cshtml" Write(Html.ValidationMessageFor(m => m.JobId)); #line default #line hidden - #line 11 "..\..\Views\Job\LogRepair.cshtml" + #line 12 "..\..\Views\Job\LogRepair.cshtml" @@ -111,14 +125,14 @@ WriteLiteral(" type=\"hidden\""); WriteLiteral(" name=\"SubmissionAction\""); -WriteAttribute("value", Tuple.Create(" value=\"", 489), Tuple.Create("\"", 546) +WriteAttribute("value", Tuple.Create(" value=\"", 521), Tuple.Create("\"", 578) - #line 12 "..\..\Views\Job\LogRepair.cshtml" -, Tuple.Create(Tuple.Create("", 497), Tuple.Create
|