abschlussprojekt-device-man.../device-app/resources/views/components/location-transaction.blade.php
2023-04-06 12:17:42 +02:00

15 lines
480 B
PHP

<tr>
<td>{{ $location->room_code }}</td>
<td>{{ $location->timestamp_located_since }}</td>
@can('admin-only')
<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>
@endcan
</tr>