25 lines
908 B
PHP
25 lines
908 B
PHP
@foreach($orders as $order)
|
|
@php
|
|
$product = $order->product;
|
|
$titolo = $product
|
|
? "<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 |