mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Fixed #4517 - order number not visible if no purchase cost given on asset view
This commit is contained in:
parent
51168e8e10
commit
0a5b72e71e
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue