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