@php $restCount = max($order->items->count() - 3, 0); @endphp @foreach ($order->items->take(3) as $item)
@if ($item->product?->images->count() > 0) {{ $item->qty_ordered }} @else

@lang('admin::app.sales.invoices.view.product-image')

@endif
@endforeach @if ($restCount >= 1)

@lang('admin::app.sales.orders.index.datagrid.product-count', ['count' => $restCount])

@endif