printedparts detail: revision column in transactions
This commit is contained in:
@@ -120,6 +120,7 @@
|
|||||||
<th>When</th>
|
<th>When</th>
|
||||||
<th>Type</th>
|
<th>Type</th>
|
||||||
<th>Qty</th>
|
<th>Qty</th>
|
||||||
|
<th>Rev</th>
|
||||||
<th>Who</th>
|
<th>Who</th>
|
||||||
<th>Reason</th>
|
<th>Reason</th>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -132,11 +133,12 @@
|
|||||||
<td :class="transaction.quantitychange < 0 ? 'qty-out' : 'qty-in'">
|
<td :class="transaction.quantitychange < 0 ? 'qty-out' : 'qty-in'">
|
||||||
{{ transaction.quantitychange > 0 ? '+' : '' }}{{ transaction.quantitychange }}
|
{{ transaction.quantitychange > 0 ? '+' : '' }}{{ transaction.quantitychange }}
|
||||||
</td>
|
</td>
|
||||||
|
<td>{{ transaction.revision != null ? transaction.revision : '-' }}</td>
|
||||||
<td>{{ transaction.employeename || transaction.employeesso }}</td>
|
<td>{{ transaction.employeename || transaction.employeesso }}</td>
|
||||||
<td>{{ transaction.reason || '-' }}</td>
|
<td>{{ transaction.reason || '-' }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="!item.recenttransactions?.length">
|
<tr v-if="!item.recenttransactions?.length">
|
||||||
<td colspan="5" class="empty-state">No transactions yet</td>
|
<td colspan="6" class="empty-state">No transactions yet</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
Reference in New Issue
Block a user