This commit is contained in:
Paolo A
2024-08-13 13:50:19 +00:00
6 changed files with 2116 additions and 40 deletions

View File

@@ -0,0 +1,25 @@
@foreach($orders as $order)
@php
$product = $order->product;
$titolo = $product && isset($product->permalink)
? "<a href='{$product->permalink}' target='_blank'><span style='font-weight: bold;'>{$product->name}</span></a>"
: "";
@endphp
{{ getvalstr("", $order->Codice) }}
{{ getvalstr("", $order->DataOra) }}
{{ getvalstr("", $titolo) }}
{{ getvalstr("Ordine", $order->IdInternet, true) }}
{{ getvalstr("Articolo", $order->CodArticoloGM, true) }}
{{ getvalstr("Prezzo", $order->PrezzoLordo) }}
{{ getvalstr("Quantità", $order->Qta) }}
@if($order->PercSconto)
{{ getvalstr("Sconto", $order->PercSconto) }}
@endif
@if($order->Descrizione)
{{ getvalstr("Descr", $order->Descrizione) }}
@endif
<a href="{{ $baseUrl }}apimacro/public/setordine/{{ $order->IdInternet }}/del/" target="_blank">ELIMINA!</a>
<br>
@endforeach