@model Disco.Web.Models.Job.LogWarrantyModel @{ 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"); } @using (Html.BeginForm(MVC.Job.LogWarranty(), FormMethod.Post)) { @Html.ValidationSummary(true) @Html.HiddenFor(m => m.JobId) @Html.HiddenFor(m => m.OrganisationAddressId) @Html.HiddenFor(m => m.WarrantyProviderId) @Html.HiddenFor(m => m.FaultDescription) @Html.HiddenFor(m => m.ProviderPropertiesJson)
@if (Model.PublishAttachments.Count > 0) { }
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
Warranty Address:
@Model.OrganisationAddress.Name
@Model.OrganisationAddress.Address
@Model.OrganisationAddress.Suburb, @Model.OrganisationAddress.Postcode
@Model.OrganisationAddress.State, @Model.OrganisationAddress.Country
Warranty Provider: @Model.WarrantyProvider.Name (@Model.WarrantyProvider.Id) @Model.WarrantyProvider.PluginManifest.Version.ToString(3)
Fault Description: @Model.FaultDescription.ToMultilineString()
Disclosed Information
@foreach (var dp in Model.DiscloseProperties) { }
@dp.Key: @dp.Value
Sending Attachments

Submitting Warranty Job...

}