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

14 lines
469 B
PHP

<div>
<ul>
<li>rz_username: {{ $owner->rz_username }}</li>
<li>timestamp_owner_since: {{ $owner->timestamp_owner_since }}</li>
</ul>
@can('admin-only')
<button><a href="owners/{{ $owner->owner_transaction_id }}/edit">Edit</a></button>
<form method="POST" action="owners/{{ $owner->owner_transaction_id }}">
@method('DELETE')
@csrf
<button>Delete</button>
</form>
@endcan
</div>