16 lines
740 B
PHP
16 lines
740 B
PHP
|
@props(['device'])
|
||
|
<div>
|
||
|
<a href="/devices/{{ $device['device_id'] }}">{{ $device->title }}</a>
|
||
|
<ul>
|
||
|
<!--li>{{ $device['device_id'] }}</li-->
|
||
|
<!--li>title:{{ $device['title'] }}</li-->
|
||
|
<li>device_type: {{ $device['device_type'] }}</li>
|
||
|
<li>description: {{ $device['description'] }}</li>
|
||
|
<li>accessories: {{ $device['accessories'] }}</li>
|
||
|
<li>rz_username_buyer: {{ $device['rz_username_buyer'] }}</li>
|
||
|
<li>serial_number: {{ $device['serial_number'] }}</li>
|
||
|
<li>image_url: {{ $device['image_url'] }}</li>
|
||
|
<li>room_code: {{ $device->locations->last()['room_code'] }}</li>
|
||
|
<li>rz_username: {{ $device->owners->last()['rz_username'] }}</li>
|
||
|
</ul>
|
||
|
</div>
|