{{ __('Invoice') }}

{{ __('Logo') }}

@php $bill = json_decode($order->billing_address, true); @endphp

{{ __('Order Number:') }} {{ $order->Order_Number }}
{{ __('Name:') }} {{ $bill['name'] ?? null }}
{{ __('Email:') }} {{ $bill['email'] ?? null }}
{{ __('Payment Method: ') }} {{ $order->Payment_Method }}
{{ __('TXN: ') }} {{ $order->txn }}

{{ __('Billing Address:') }}
{{ $bill['name'] ?? null }}
{{ $bill['email'] ?? null }}
{{ $bill['street'] ?? null }}
{{ $bill['state'] ?? null }}
{{ $bill['country'] ?? null . __(',') }} {{ $bill['zipcode'] ?? null }}

@php $ship = json_decode($order->shipping_address, true); @endphp

{{ __('Shipping Address:') }}
{{ $ship['name']??null }}
{{ $ship['email']??null }}
{{ $ship['street']??null }}
{{ $ship['state']??null }}
{{ $ship['country']??null . __(',') }} {{ $ship['zipcode']??null }}

{{ __('Products') }}
@foreach ($order->order_details as $od) @endforeach @if (!is_null($order->Coupon_Id)) @endif
{{ __('Name') }} {{ __('Image') }} {{ __('Quantity') }} {{ __('Size') }} {{ __('Color') }} {{ __('Price') }} {{ __('Total') }}
{{ $od->product->en_Product_Name }} {{ $od->Quantity }} {{ is_null($od->Size) ? __('N/A') : $od->Size }} {{ is_null($od->Color) ? __('N/A') : $od->Color }} {{ $od->Price }} {{ $od->Total_Price }}
{{ __('Subtotal') }} {{ $order->Sub_Total }}
{{ __('Shipping Charge') }} {{ $order->Delivery_Charge }}
{{ __('Tax') }} {{ $order->Tax }}
{{ __('Discount (-)') }} {{ $order->Coupon_Amount }}
{{ __('Grand Total') }} {{ $order->Grand_Total }}
{{ __('*All the amount is in USD currency.') }}
{{ __('Print') }}