abschlussprojekt-device-man.../device-app/resources/views/components/location-transaction.blade.php
2023-03-31 17:17:09 +02:00

14 lines
493 B
PHP

<div>
<ul>
<li>room_code: {{ $location->room_code }}</li>
<li>timestamp_located_since: {{ $location->timestamp_located_since }}</li>
</ul>
@can('admin-only')
<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>
@endcan
</div>