@php $lineQty = $orderItemQty[$cartKey] ?? ($orderItemQty[$normKey] ?? 1); $lineAmount = (float) ($orderItemAmount[$cartKey] ?? ($orderItemAmount[$normKey] ?? 0)); $itemName = $item->item_name ?? ($item->name ?? __('app.item')); $lineSellByWeight = (bool) (is_object($item) ? ($item->sell_by_weight ?? false) : (data_get($item, 'sell_by_weight', false))); $lineQtyDisplay = \App\Support\PosQuantity::formatDisplay($lineQty, $lineSellByWeight); @endphp
{{ $itemName }}
{{ __('modules.order.qty') }}: {{ $lineQtyDisplay }}
{{ currency_format($lineAmount, restaurant()->currency_id) }}
@include('pos.partials.cart-item-delete-button', ['cartItemKey' => $cartKey])