Skip to content

Commit 1ab0911

Browse files
committed
Merge remote-tracking branch 'origin/develop'
2 parents bdbaea7 + 1dacd25 commit 1ab0911

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

resources/views/hardware/view.blade.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1211,7 +1211,11 @@ class="form-inline"
12111211
<a href="{{ route('components.show', $component->id) }}">{{ $component->name }}</a>
12121212
</td>
12131213
<td>{{ $component->pivot->assigned_qty }}</td>
1214-
<td>{{ trans('general.cost_each', ['amount' => Helper::formatCurrencyOutput($component->purchase_cost)]) }} </td>
1214+
<td>
1215+
@if ($component->purchase_cost!='')
1216+
{{ trans('general.cost_each', ['amount' => Helper::formatCurrencyOutput($component->purchase_cost)]) }}
1217+
@endif
1218+
</td>
12151219
<td>{{ $component->serial }}</td>
12161220
<td>
12171221
<a href="{{ route('components.checkin.show', $component->pivot->id) }}" class="btn btn-sm bg-purple hidden-print" data-tooltip="true">{{ trans('general.checkin') }}</a>

0 commit comments

Comments
 (0)