@model Disco.Web.Models.Job.LogWarrantyModel @{ 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.ValidationMessageFor(m => m.JobId)
| 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 |
| 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 } } |
| Warranty Provider: |
@Html.DropDownListFor(model => model.WarrantyProviderId, Model.WarrantyProviders.ToSelectListItems(Model.WarrantyProviderId, true)) @Html.ValidationMessageFor(m => m.WarrantyProviderId) |
|
@Html.EditorFor(model => model.FaultDescription) @Html.ValidationMessageFor(m => m.FaultDescription) |