@foreach ($this->visibleLines as $line)
  • @if ($this->transactions->count()) @endif
    @if ($thumbnail = $line->purchasable?->getThumbnail()) @else @endif

    {{ $line->quantity }} @ {{ $line->unit_price->formatted }} {{ $line->sub_total->formatted }}

    {{-- --}} {{-- --}}
    @if (!is_null($line->purchasable?->stock)) $line->purchasable->stock < 50, 'text-green-500' => $line->purchasable->stock > 50, ])> {{ __('adminhub::partials.orders.lines.current_stock_level', [ 'count' => $line->purchasable->stock, ]) }} @if (!is_null($line->meta?->stock_level ?? null)) ({{ __('adminhub::partials.orders.lines.purchase_stock_level', [ 'count' => $line->meta->stock_level, ]) }}) @endif @endif

    {{ __('adminhub::global.notes') }}: {{ $line->notes }}

    @foreach ($line->tax_breakdown as $tax) @endforeach
    {{ __('adminhub::partials.orders.lines.unit_price') }} {{ $line->unit_price->formatted }} / {{ $line->unit_quantity }}
    {{ __('adminhub::partials.orders.lines.quantity') }} {{ $line->quantity }}
    {{ __('adminhub::partials.orders.lines.sub_total') }} {{ $line->sub_total->formatted }}
    {{ __('adminhub::partials.orders.lines.discount_total') }} {{ $line->discount_total->formatted }}
    {{ $tax->description }} {{ $tax->total->formatted }}
    {{ __('adminhub::partials.orders.lines.total') }} {{ $line->total->formatted }}
  • @endforeach