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

14 lines
435 B
PHP
Raw Normal View History

2023-04-06 12:17:42 +02:00
<tr>
<td>{{ $owner->rz_username }}</td>
<td>{{ $owner->timestamp_owner_since }}</td>
2023-03-31 17:17:09 +02:00
@can('admin-only')
2023-04-06 12:17:42 +02:00
<td>
<button><a href="owners/{{ $owner->owner_transaction_id }}/edit">Edit</a></button>
2023-03-31 17:17:09 +02:00
<form method="POST" action="owners/{{ $owner->owner_transaction_id }}">
@method('DELETE')
@csrf
<button>Delete</button>
</form>
2023-04-06 12:17:42 +02:00
</td>
2023-03-31 17:17:09 +02:00
@endcan
2023-04-06 12:17:42 +02:00
</tr>