rework components

This commit is contained in:
TimmensOne
2023-03-29 22:32:49 +02:00
parent 7a8e277887
commit 656056a3b3
17 changed files with 217 additions and 33 deletions

View File

@ -11,4 +11,15 @@
<li>{{ $device['serial_number'] }}</li>
<li>{{ $device['image_url'] }}</li>
</ul>
</div>
<x-purchasing-information :device="$device" />
@php
$locationTransactions = $device->locations;
$ownerTransactins = $device->owners;
@endphp
@foreach ($locationTransactions as $location)
<x-location-transaction :location="$location" />
@endforeach
@foreach ($ownerTransactins as $owner)
<x-owner-transaction :owner="$owner" />
@endforeach
</div>