Machines list shows model type
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
<th>Machine #</th>
|
||||
<th>Name</th>
|
||||
<th>Serial Number</th>
|
||||
<th>Machine Type</th>
|
||||
<th>Model Type</th>
|
||||
<th>Vendor</th>
|
||||
<th>Status</th>
|
||||
<th>Location</th>
|
||||
@@ -42,7 +42,14 @@
|
||||
</td>
|
||||
<td>{{ item.name || '-' }}</td>
|
||||
<td class="mono">{{ item.serialnumber || '-' }}</td>
|
||||
<td>{{ item.machine?.machinetypename || '-' }}</td>
|
||||
<!--
|
||||
The catalog model's type, not the machine's own. 134 machines
|
||||
arrived from the classic ASP database on machinetypeid=1 - a
|
||||
LocationOnly placeholder the import refuses to carry across as
|
||||
a real subtype - so Machine Type is blank for them while the
|
||||
model knows exactly what they are.
|
||||
-->
|
||||
<td>{{ item.machine?.modeltypename || '-' }}</td>
|
||||
<td>{{ item.machine?.vendorname || '-' }}</td>
|
||||
<td>
|
||||
<span class="badge" :style="colorStyle(item.statuscolor)">
|
||||
|
||||
Reference in New Issue
Block a user