abschlussprojekt-device-man.../device-app/resources/views/components/purchasing-information.blade.php
2023-03-31 10:52:12 +02:00

14 lines
531 B
PHP

<div>
@php
$purchasing = $device->purchasing;
@endphp
<h3>Purchasing Information</h3>
<ul>
<li>price: {{ $purchasing->price }}</li>
<li>timestamp_warranty_end: {{ $purchasing->timestamp_warranty_end }}</li>
<li>timestamp_purchase: {{ $purchasing->timestamp_purchase }}</li>
<li>cost_centre: {{ $purchasing->cost_centre }}</li>
<li>seller: {{ $purchasing->seller }}</li>
</ul>
<button><a href="{{ $device->device_id }}/purchasing/edit">Edit</a></button>
</div>