add create/edit functionality

This commit is contained in:
TimmensOne
2023-03-31 12:14:57 +02:00
parent d5770b8cb5
commit 73ba1c8fed
8 changed files with 84 additions and 11 deletions

View File

@ -23,12 +23,12 @@
$ownerTransactins = $device->owners;
@endphp
<h3>Location Transactions</h3>
<button><a href="{{ $device->device_id }}/location/create">New Location</a></button>
<button><a href="{{ $device->device_id }}/locations/create">New Location</a></button>
@foreach ($locationTransactions as $location)
<x-location-transaction :location="$location" />
@endforeach
<h3>Owner Transactions</h3>
<button><a href="{{ $device->device_id }}/owner/create">New Owner</a></button>
<button><a href="{{ $device->device_id }}/owners/create">New Owner</a></button>
@foreach ($ownerTransactins as $owner)
<x-owner-transaction :owner="$owner" />
@endforeach