Sản phẩm Số lượng Giá Tạm tính @if (!empty($order->orderItems->count())) {{-- {{ dd($order->orderItems) }} --}} @foreach ($order->orderItems as $index => $orderItem) {{ $orderItem->item->getFullName() }} {{ $orderItem->quantity }} {{ hCurrency($orderItem->price) }} {{ hCurrency($orderItem->amount()) }} @endforeach @endif

Tổng mặt hàng: {{ $order->getTotalQuantity() }}

Tạm tính: {{ hCurrency($order->sub_total) }}

Giảm giá: {{ hCurrency($order->discount) }}

Thuế: {{ hCurrency($order->sub_total*$order->tax/100) }}

Tổng cộng: {{ hCurrency($order->grand_total) }}

Log
@if (!empty($items->count())) @foreach ($items as $item)
{{ $item->currentQuantity() }} {{ $item->product->name }}

{{ $item->product->name }}

@if ($item->sku) {{ $item->sku }} @endif {{ hCurrency($item->price) }}
@endforeach @endif