mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07: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
|
@endif
|
||||||
{{ \App\Helpers\Helper::formatCurrencyOutput($asset->purchase_cost)}}
|
{{ \App\Helpers\Helper::formatCurrencyOutput($asset->purchase_cost)}}
|
||||||
|
|
||||||
@if ($asset->order_number)
|
|
||||||
(Order #{{ $asset->order_number }})
|
</td>
|
||||||
|
</tr>
|
||||||
@endif
|
@endif
|
||||||
|
@if ($asset->order_number)
|
||||||
|
<tr>
|
||||||
|
<td>{{ trans('general.order_number') }}</td>
|
||||||
|
<td>
|
||||||
|
#{{ $asset->order_number }}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@endif
|
@endif
|
||||||
|
|
Loading…
Reference in a new issue