­{{ $order->created_at }}

{{ __('Hi') }} {{ $order->user->name }}!

{{ __('This is your receipt.') }}

{{ __('From') }} {{ $order->vendor->name }} ­{{ $order->vendor->address }}
@if ($order->vendor->is_package_vendor) @else @foreach ($order->products as $product) @endforeach @endif {{-- subtotal --}} {{-- discount --}} {{-- delivery fee --}} {{-- tax --}} {{-- vendor fees --}} @foreach (json_decode($order->fees ?? '[]', true) as $orderFee) @endforeach

1 x {{ $order->package_type->name ?? '' }}

{{ currencyFormat($order->sub_total ?? '0.00') }}

{{ $product->quantity }} x {{ $product->product->name }} {{ $product->options }}

{{ currencyFormat($product->price) }}

{{ __('Subtotal') }}

{{ currencyFormat($order->sub_total ?? '0.00') }}

{{ __('Discount Amount') }}

- {{ currencyFormat($order->discount ?? '0.00') }}

{{ __('Delivery fee') }}

+ {{ currencyFormat($order->delivery_fee ?? '0.00') }}

{{ __('Tax') }}

+ {{ currencyFormat($order->tax ?? '0.00') }}

{{ $orderFee['name'] ?? '' }}

+ {{ currencyFormat($orderFee['amount'] ?? '0.00') }}

{{ __('Total charged') }}:

{{ currencyFormat($order->total ?? '0.00') }}

{{ __('Payment Method') }}

{{ $order->payment_method->name ?? '' }}