ID | Customer Detail | Order Detail | Status | Total Amount | Created At | Action |
---|---|---|---|---|---|---|
--}} {{-- {{ $order->id }}--}} {{-- | --}} {{----}}
{{-- --}}
{{-- Customer ID: {{ $order->customer_id }}--}}
{{-- | --}}
{{-- --}}
{{-- @foreach($order->orderItems as $orderItem)--}}
{{-- @foreach($orderItem->orderItemProducts as $orderItemProduct)--}}
{{-- --}} {{-- Brand: {{ $orderItemProduct->brand_name }}--}} {{-- Category: {{ $orderItemProduct->category_name }}--}} {{-- Product: {{ $orderItemProduct->product_name }}--}} {{-- --}} {{----}} {{-- @endforeach--}} {{-- @foreach($orderItem->orderItemDeals as $orderItemDeal)--}} {{-- --}}
{{-- Deal--}}
{{-- Name: {{!empty($orderItemDeal->deal_name) ? $orderItemDeal->deal_name : 'N/A' }}--}}
{{-- ,--}}
{{-- Qty: {{!empty($orderItemDeal->quantity) ? $orderItemDeal->quantity: 'N/A' }}--}}
{{-- --}} {{-- @endforeach--}} {{-- @endforeach--}} {{-- | --}}
{{-- --}}
{{-- | --}}
{{-- --}} {{-- {!! $currencySign !!} @if($order->is_promo_code == 0){{ $order->actual_price }} @else {{ $order->discounted_price }} @endif--}} {{-- | --}} {{--{{ $order->created_at}} | --}} {{----}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- @if($order->status->status == 'Delivered' || $order->status->status == 'Dispatched')--}} {{-- --}} {{-- @else--}} {{-- --}} {{-- @endif--}} {{-- | --}} {{--