abschlussprojekt-device-man.../device-app/resources/views/components/location-transaction.blade.php

14 lines
493 B
PHP
Raw Normal View History

2023-03-29 22:32:49 +02:00
<div>
<ul>
<li>room_code: {{ $location->room_code }}</li>
<li>timestamp_located_since: {{ $location->timestamp_located_since }}</li>
</ul>
2023-03-31 17:17:09 +02:00
@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
2023-03-29 22:32:49 +02:00
</div>