This commit is contained in:
paoloar77
2024-08-13 09:36:20 +02:00
parent 43547d1e20
commit fe7fc8efbc

View File

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