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

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

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

{{$order->order->order_number}}

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

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

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

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

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

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

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

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

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

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

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

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

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

{{ __('shipping.shipping_info') }}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

{{ __('common.grand_total') }} : {{single_price($order->subTotal() + $order->tax_amount + $order->shipping_cost - @$order->order->coupon->discount_amount)}}

@if(isModuleActive('MultiVendor')) @endif

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

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

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

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

@endforeach @endif

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

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

@foreach ($order->products as $key => $package_product) @if ($package_product->type == "gift_card") @else @if (@$package_product->seller_product_sku->sku->product->product_type == 2) @else @endif @endif @endforeach
{{ __('common.name') }} {{ __('common.details') }} {{ __('common.price') }} {{ __('common.total') }}
@if ($package_product->type == "gift_card") {{ @$package_product->giftCard->name }} @else {{ @$package_product->seller_product_sku->sku->product->product_name }} @endif {{__('common.qty')}} : {{ $package_product->qty }} {{__('common.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 }}:
@else {{ $combination->attribute->name }}: {{ $combination->attribute_value->value }} @endif @if ($countCombinatiion > $key + 1)
@endif @endforeach
{{__('common.qty')}} : {{ $package_product->qty }}{{ single_price($package_product->price) }} {{ single_price($package_product->price * $package_product->qty) }}