Fixed #4517 - order number not visible if no purchase cost given on asset view

This commit is contained in:
snipe 2017-11-30 16:39:59 -08:00
parent 51168e8e10
commit 0a5b72e71e

View file

@ -233,9 +233,15 @@
@endif
{{ \App\Helpers\Helper::formatCurrencyOutput($asset->purchase_cost)}}
@if ($asset->order_number)
(Order #{{ $asset->order_number }})
@endif
</td>
</tr>
@endif
@if ($asset->order_number)
<tr>
<td>{{ trans('general.order_number') }}</td>
<td>
#{{ $asset->order_number }}
</td>
</tr>
@endif