Merge pull request #12247 from Godmartinz/gh12225_serial_added_to_components
adds serial to components tab of assets
This commit is contained in:
commit
389ec3a3cb
1 changed files with 2 additions and 0 deletions
|
@ -967,6 +967,7 @@
|
||||||
<th>{{ trans('general.name') }}</th>
|
<th>{{ trans('general.name') }}</th>
|
||||||
<th>{{ trans('general.qty') }}</th>
|
<th>{{ trans('general.qty') }}</th>
|
||||||
<th>{{ trans('general.purchase_cost') }}</th>
|
<th>{{ trans('general.purchase_cost') }}</th>
|
||||||
|
<th>{{trans('admin/hardware/form.serial')}}</th>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php $totalCost = 0; ?>
|
<?php $totalCost = 0; ?>
|
||||||
|
@ -980,6 +981,7 @@
|
||||||
</td>
|
</td>
|
||||||
<td>{{ $component->pivot->assigned_qty }}</td>
|
<td>{{ $component->pivot->assigned_qty }}</td>
|
||||||
<td>{{ Helper::formatCurrencyOutput($component->purchase_cost) }} each</td>
|
<td>{{ Helper::formatCurrencyOutput($component->purchase_cost) }} each</td>
|
||||||
|
<td>{{ $component->serial }}</td>
|
||||||
|
|
||||||
<?php $totalCost = $totalCost + ($component->purchase_cost *$component->pivot->assigned_qty) ?>
|
<?php $totalCost = $totalCost + ($component->purchase_cost *$component->pivot->assigned_qty) ?>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Add table
Reference in a new issue