Fixed missing @endcan

This commit is contained in:
snipe 2019-02-26 19:14:28 -08:00
parent 983a9a4e0e
commit c47fa5ad1c

View file

@ -245,7 +245,7 @@
<div class="col-md-12" style="padding-top: 5px;"> <div class="col-md-12" style="padding-top: 5px;">
<a href="{{ route('users.print', $user->id) }}" style="width: 100%;" class="btn btn-sm btn-default hidden-print">{{ trans('admin/users/general.print_assigned') }}</a> <a href="{{ route('users.print', $user->id) }}" style="width: 100%;" class="btn btn-sm btn-default hidden-print">{{ trans('admin/users/general.print_assigned') }}</a>
</div> </div>
@endcan
@can('delete', $user) @can('delete', $user)
@if ($user->deleted_at=='') @if ($user->deleted_at=='')
<div class="col-md-12" style="padding-top: 5px;"> <div class="col-md-12" style="padding-top: 5px;">
@ -380,7 +380,7 @@
<tbody> <tbody>
@foreach ($user->consumables as $consumable) @foreach ($user->consumables as $consumable)
<tr> <tr>
<td>{!! $consumable->present()->nameUrl() !!}</a></td> <td>{!! $consumable->present()->nameUrl() !!}</td>
<td>{{ $consumable->created_at }}</td> <td>{{ $consumable->created_at }}</td>
</tr> </tr>
@endforeach @endforeach
@ -513,7 +513,7 @@
<tbody> <tbody>
@foreach ($user->managedLocations as $location) @foreach ($user->managedLocations as $location)
<tr> <tr>
<td>{!! $location->present()->nameUrl() !!}</a></td> <td>{!! $location->present()->nameUrl() !!}</td>
<td>{{ $location->created_at }}</td> <td>{{ $location->created_at }}</td>
</tr> </tr>
@endforeach @endforeach