mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 22:37:28 -08:00
One more fix for #6175 (non-accessories)
This commit is contained in:
parent
5da9120870
commit
2cecd5e056
|
@ -113,7 +113,7 @@
|
||||||
@endphp
|
@endphp
|
||||||
|
|
||||||
@foreach ($licenses as $license)
|
@foreach ($licenses as $license)
|
||||||
|
@if ($license)
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ $lcounter }}</td>
|
<td>{{ $lcounter }}</td>
|
||||||
<td>{{ $license->name }}</td>
|
<td>{{ $license->name }}</td>
|
||||||
|
@ -123,6 +123,8 @@
|
||||||
@php
|
@php
|
||||||
$lcounter++
|
$lcounter++
|
||||||
@endphp
|
@endphp
|
||||||
|
|
||||||
|
@endif
|
||||||
@endforeach
|
@endforeach
|
||||||
</table>
|
</table>
|
||||||
@endif
|
@endif
|
||||||
|
@ -185,7 +187,7 @@
|
||||||
@endphp
|
@endphp
|
||||||
|
|
||||||
@foreach ($consumables as $consumable)
|
@foreach ($consumables as $consumable)
|
||||||
|
@if ($consumable)
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ $ccounter }}</td>
|
<td>{{ $ccounter }}</td>
|
||||||
<td>{{ ($consumable->manufacturer) ? $consumable->manufacturer->name : '' }} {{ $consumable->name }} {{ $consumable->model_number }}</td>
|
<td>{{ ($consumable->manufacturer) ? $consumable->manufacturer->name : '' }} {{ $consumable->name }} {{ $consumable->model_number }}</td>
|
||||||
|
@ -195,6 +197,7 @@
|
||||||
@php
|
@php
|
||||||
$ccounter++
|
$ccounter++
|
||||||
@endphp
|
@endphp
|
||||||
|
@endif
|
||||||
@endforeach
|
@endforeach
|
||||||
</table>
|
</table>
|
||||||
@endif
|
@endif
|
||||||
|
|
Loading…
Reference in a new issue