@extends('dashboards.vendor.index') @section('content')

Order Details

Order

  • Deliver TO:
  • @if($order->user->name)Name: {{ $order->user->name ?? '' }}
    @endif @if($order->shipping_address)Shipping Address: {{ $order->shipping_address ?? '' }}
    @endif @if($order->user->phone) Phone: {{ $order->user->phone ?? '' }} @endif
  • Order No: {{ $order->order_number ?? '' }}
  • {{--
  • Account:0000 12345 678900
  • --}}
  • Date:{{ $user->created_at->format('y-m-d') }}
@forelse($order->details as $index => $item) @empty @endforelse
SL PRODUCT NAME SIZE COLOR PRICE QTY TOTAL
{{$index + 1 ?? ''}} {{ $item->product->name ?? '' }} {{ $item->size->name ?? 'No Size' }} @if(isset($item->color))
@else No Color @endif
${{ $item->unit_price ?? '' }} {{ $item->quantity ?? '' }} ${{ $item->subtotal ?? '' }}
Something went wrong!
{{--
    --}} {{--
  • Payment Info:
  • --}} {{--
  • --}} {{-- Account: 1234567890
    --}} {{-- A/C Name:
    --}} {{-- Bank Details: Add your details--}} {{--
  • --}} {{--
--}}
  • SUB TOTAL:${{ $order->total_price ?? 0.00 }}
  • DISCOUNT:${{ $order->discount ?? 0.00 }}
  • TOTAL: ${{isset($order->total_amount_after_discount) ? $order->total_amount_after_discount : $order->total_price}}
@endsection