Feature #2: Improve Warranty Logging
Warranty job UI changes to make consistent with plans for Repair Logging
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
@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 Error");
|
||||
}
|
||||
<div class="form" style="width: 650px">
|
||||
<h2>
|
||||
Submission Error</h2>
|
||||
<h2>Submission Error</h2>
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
@@ -40,6 +39,7 @@
|
||||
$('#warrantyJobErrorShow').click(function () {
|
||||
$(this).hide();
|
||||
$('#warrantyJobErrorMore').slideDown();
|
||||
return false;
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@@ -48,36 +48,31 @@
|
||||
</table>
|
||||
</div>
|
||||
<div id="warrantyJobForm" class="form" style="width: 650px; margin-top: 15px;">
|
||||
<h2>
|
||||
Warranty Submission Details</h2>
|
||||
<h2>Warranty Submission Details</h2>
|
||||
<table>
|
||||
<tr>
|
||||
<th>
|
||||
Internal Job Id:
|
||||
<th>Internal Job Id:
|
||||
</th>
|
||||
<td>
|
||||
@Model.JobId
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
Device Serial Number:
|
||||
<th>Device Serial Number:
|
||||
</th>
|
||||
<td>
|
||||
@Model.Job.Device.SerialNumber
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
Device Model:
|
||||
<th>Device Model:
|
||||
</th>
|
||||
<td>
|
||||
@Model.Job.Device.DeviceModel.Manufacturer @Model.Job.Device.DeviceModel.Model
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
Technician:
|
||||
<th>Technician:
|
||||
</th>
|
||||
<td>
|
||||
@Model.TechUser.DisplayName
|
||||
@@ -88,8 +83,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th style="width: 150px">
|
||||
Repair Address:
|
||||
<th style="width: 150px">Repair Address:
|
||||
</th>
|
||||
<td>
|
||||
<div id="organisationAddressDetails">
|
||||
@@ -103,16 +97,23 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
Warranty Provider:
|
||||
<th>Warranty Provider:
|
||||
</th>
|
||||
<td>
|
||||
@Model.WarrantyProvider.Name (@Model.WarrantyProvider.Id) @Model.WarrantyProvider.PluginManifest.Version.ToString(3)
|
||||
@if (Model.WarrantyProvider != null)
|
||||
{
|
||||
<span>
|
||||
@Model.WarrantyProvider.Name (@Model.WarrantyProvider.Id) @Model.WarrantyProvider.PluginManifest.Version.ToString(3)
|
||||
</span>
|
||||
}
|
||||
else
|
||||
{
|
||||
<span class="smallMessage">None Selected</span>
|
||||
}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
Fault Description:
|
||||
<th>Fault Description:
|
||||
</th>
|
||||
<td>
|
||||
@Model.FaultDescription.ToMultilineString()
|
||||
|
||||
Reference in New Issue
Block a user