2023-04-06 12:17:42 +02:00
|
|
|
<tr>
|
|
|
|
<td>{{ $location->room_code }}</td>
|
|
|
|
<td>{{ $location->timestamp_located_since }}</td>
|
2023-03-31 17:17:09 +02:00
|
|
|
@can('admin-only')
|
2023-04-06 12:17:42 +02:00
|
|
|
<td>
|
|
|
|
<button><a href="locations/{{ $location->location_transaction_id }}/edit">Edit</a></button>
|
|
|
|
<form method="POST" action="locations/{{ $location->location_transaction_id }}">
|
|
|
|
@method('DELETE')
|
|
|
|
@csrf
|
|
|
|
<button>Delete</button>
|
|
|
|
</form>
|
|
|
|
</td>
|
2023-03-31 17:17:09 +02:00
|
|
|
@endcan
|
2023-04-06 12:17:42 +02:00
|
|
|
</tr>
|