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

14 lines
435 B
PHP

<tr>
<td>{{ $owner->rz_username }}</td>
<td>{{ $owner->timestamp_owner_since }}</td>
@can('admin-only')
<td>
<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>
</td>
@endcan
</tr>