mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Removed unused block
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
1e34398c99
commit
ede16ad2c2
|
@ -439,42 +439,15 @@
|
||||||
@endif
|
@endif
|
||||||
</td>
|
</td>
|
||||||
<td>{{ $asset->serial }}</td>
|
<td>{{ $asset->serial }}</td>
|
||||||
</tr>
|
|
||||||
@if($settings->show_assigned_assets)
|
|
||||||
@php
|
|
||||||
$assignedCounter = 1
|
|
||||||
@endphp
|
|
||||||
@foreach ($asset->assignedAssets as $asset)
|
|
||||||
<tr>
|
|
||||||
<td>{{ $counter }}.{{ $assignedCounter }}</td>
|
|
||||||
<td>{{ $asset->model->category->name }}</td>
|
|
||||||
<td>{{ $asset->asset_tag }}</td>
|
|
||||||
<td>{{ $asset->name }}</td>
|
|
||||||
<td>
|
|
||||||
@if ($asset->physical=='1')
|
|
||||||
{{ $asset->model->name }}
|
|
||||||
@endif
|
|
||||||
</td>
|
|
||||||
<td>{{ $asset->serial }}</td>
|
|
||||||
<td>
|
|
||||||
@if (($asset->image) && ($asset->image!=''))
|
|
||||||
<img src="{{ Storage::disk('public')->url(app('assets_upload_path').e($asset->image)) }}" height="50" width="50">
|
|
||||||
|
|
||||||
@elseif (($asset->model) && ($asset->model->image!=''))
|
|
||||||
<img src="{{ Storage::disk('public')->url(app('models_upload_path').e($asset->model->image)) }}" height="50" width="50">
|
|
||||||
@endif
|
|
||||||
</td>
|
|
||||||
|
|
||||||
@foreach ($field_array as $db_column => $field_value)
|
@foreach ($field_array as $db_column => $field_value)
|
||||||
<td>{{ $asset->{$db_column} }} skjgh</td>
|
<td>
|
||||||
|
{{ $asset->{$db_column} }}
|
||||||
|
</td>
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
@php
|
|
||||||
$assignedCounter++
|
|
||||||
@endphp
|
|
||||||
@endforeach
|
|
||||||
@endif
|
|
||||||
@php
|
@php
|
||||||
$counter++
|
$counter++
|
||||||
@endphp
|
@endphp
|
||||||
|
|
Loading…
Reference in a new issue