This commit is contained in:
paoloar77
2024-08-13 09:35:01 +02:00
parent 1bbb23088d
commit 43547d1e20

View File

@@ -1,7 +1,7 @@
@foreach($orders as $order)
@php
$product = $order->product;
$titolo = $product
$titolo = $product && $product->permalink
? "<a href='{$product->permalink}' target='_blank'><span style='font-weight: bold;'>{$product->name}</span></a>"
: "";
@endphp