Skip to content

A free open source IT asset/license management system

adds serial to components tab of assets

Godfrey M4442b446b994
diff --git a/resources/views/hardware/view.blade.php b/resources/views/hardware/view.blade.php
index 39a43521c6..a6e1e680a4 100755
--- a/resources/views/hardware/view.blade.php
+++ b/resources/views/hardware/view.blade.php
@@ -964,6 +964,7 @@
<th>{{ trans('general.name') }}</th>
<th>{{ trans('general.qty') }}</th>
<th>{{ trans('general.purchase_cost') }}</th>
+ <th>{{trans('admin/hardware/form.serial')}}</th>
</thead>
<tbody>
<?php $totalCost = 0; ?>
@@ -977,6 +978,7 @@
</td>
<td>{{ $component->pivot->assigned_qty }}</td>
<td>{{ Helper::formatCurrencyOutput($component->purchase_cost) }} each</td>
+ <td>{{$component->serial}}</td>
<?php $totalCost = $totalCost + ($component->purchase_cost *$component->pivot->assigned_qty) ?>
</tr>