{{app('general_setting')->company_name}}

{{app('general_setting')->phone}}

{{app('general_setting')->email}}

{{$order->order_number}}

{{ __('common.billing_info') }}

{{ __('common.name') }} : {{($order->customer_id) ? $order->address->billing_name : $order->guest_info->billing_name}}

{{ __('common.email') }} : {{($order->customer_id) ? $order->address->billing_email : $order->guest_info->billing_email}}

{{ __('common.phone') }} : {{($order->customer_id) ? $order->address->billing_phone : $order->guest_info->billing_phone}}

{{ __('common.address') }} : {{($order->customer_id) ? $order->address->billing_address : $order->guest_info->billing_address}}

{{ __('common.city') }} : {{($order->customer_id) ? @$order->address->getBillingCity->name : @$order->guest_info->getBillingCity->name}}

{{ __('common.state') }} : {{($order->customer_id) ? @$order->address->getBillingState->name : @$order->guest_info->getBillingState->name}}

{{ __('common.country') }} : {{($order->customer_id) ? @$order->address->getBillingCountry->name : @$order->guest_info->getBillingCountry->name}}

{{ __('common.company_info') }}

{{ __('common.name') }} : {{app('general_setting')->company_name}}

{{ __('common.email') }} : {{app('general_setting')->email}}

{{ __('common.phone') }} : {{app('general_setting')->phone}}

{{ __('common.website') }} : {{ app('general_setting')->system_domain }}

{{__('common.order')}} {{ __('common.date') }} : {{ date(app('general_setting')->dateFormat->format, strtotime(@$order->created_at)) }}

{{ __('shipping.shipping_info') }} @if($order->delivery_type == 'pickup_location')(Collect from Pickup location) @endif

{{ __('common.name') }} : {{($order->customer_id) ? $order->address->shipping_name : $order->guest_info->shipping_name}}

{{ __('common.email') }} : {{($order->customer_id) ? $order->address->shipping_email : $order->guest_info->shipping_email}}

{{ __('common.phone') }} : {{($order->customer_id) ? $order->address->shipping_phone : $order->guest_info->shipping_phone}}

{{ __('common.address') }} : {{($order->customer_id) ? $order->address->shipping_address : $order->guest_info->shipping_address}}

{{ __('common.city') }} : {{($order->customer_id) ? @$order->address->getShippingCity->name : $order->guest_info->getShippingCity->name}}

{{ __('common.state') }} : {{($order->customer_id) ? @$order->address->getShippingState->name : $order->guest_info->getShippingState->name}}

{{ __('common.country') }} : {{($order->customer_id) ? $order->address->getShippingCountry->name : $order->guest_info->getShippingCountry->name}}

@if($order->customer_id == null) @endif @if($order->coupon) @endif
{{ __('order.order_info') }}

{{ __('common.secret_id') }} : {{$order->guest_info->guest_id}}

{{ __('order.is_paid') }} : {{$order->is_paid == 1 ? 'Yes' : 'No'}}

{{ __('order.subtotal') }} : {{single_price($order->sub_total)}}

{{ __('common.discount') }} : - {{single_price($order->discount_total)}}

{{ __('common.coupon') }} {{__('common.discount')}} : - {{single_price($order->coupon->discount_amount)}}

{{ __('common.shipping_charge') }} : {{single_price($order->shipping_total)}}

{{ __('gst.total_gst') }} : {{single_price($order->tax_amount)}}

{{ __('common.grand_total') }} : {{single_price($order->grand_total)}}

{{ __('order.ordered_products') }}

@foreach ($order->packages as $key => $order_package) @if($order->delivery_type == 'home_delivery') @endif

{{ __('common.package') }} : {{ $order_package->package_code }}

@if(isModuleActive('MultiVendor'))

{{ __('common.shop_name') }} : @if($order_package->seller->role->type == 'seller'){{ (@$order_package->seller->SellerAccount->seller_shop_display_name) ? @$order_package->seller->SellerAccount->seller_shop_display_name : @$order_package->seller->first_name }} @else {{ app('general_setting')->company_name }} @endif

@endif
@if (file_exists(base_path().'/Modules/GST/') && (app('gst_config')['enable_gst'] == "gst" || app('gst_config')['enable_gst'] == "flat_tax")) @foreach ($order_package->gst_taxes as $key => $gst_tax)

{{ $gst_tax->gst->name }} : {{ single_price($gst_tax->amount) }}

@endforeach @endif

{{ __('shipping.shipping_method') }} : {{ $order_package->shipping->method_name }}

@foreach ($order_package->products as $key => $package_product) @if (@$package_product->seller_product_sku->sku->product->product_type == 2) @else @endif @endforeach
{{ __('common.name') }} {{ __('common.details') }} {{ __('common.price') }} {{ __('common.total') }}
{{ @$package_product->seller_product_sku->product->product_name??@$package_product->seller_product_sku->sku->product->product_name }} Qty: {{ $package_product->qty }}
@php $countCombinatiion = count(@$package_product->seller_product_sku->product_variations); @endphp @foreach (@$package_product->seller_product_sku->product_variations as $key => $combination) @if ($combination->attribute->id == 1) {{ @$combination->attribute->name }}: {{ @$combination->attribute_value->color->name }} @else {{ $combination->attribute->name }}: {{ $combination->attribute_value->value }} @endif @if ($countCombinatiion > $key + 1)
@endif @endforeach
Qty: {{ $package_product->qty }}{{ single_price($package_product->price) }} {{ single_price($package_product->price * $package_product->qty) }}

@endforeach