@extends('layouts.email_layout') @section('content')

{{__('lang.inform_you', [], $lang)}} #{{ $order->order }} {{__('lang.delivered', [], $lang)}}

{{__('lang.enjoying_purchase', [], $lang)}}

{{__('lang.write_review', [], $lang)}}
{{__('lang.shipped_to', [], $lang)}}
@if (!is_null($order->address))
{{ $order->address->name }}
@else
{{ $order->user->name }}
@endif

{{ $order->formatted_address }}

@if($order->user)

{{__('lang.email', [], $lang)}}: {{ $order->user->email }}

@elseif($order->guest_user)

{{__('lang.email', [], $lang)}}: {{ $order->guest_user->email }}

@endif @if (!is_null($order->address))

{{__('lang.phone', [], $lang)}}: {{ $order->user->phone }}

@endif
{{__('lang.paid_via', [], $lang)}}
{{ $order->order_method }}
@foreach ($order->ordered_products as $op) @endforeach
{{__('lang.title', [], $lang)}} {{__('lang.delivery_fee', [], $lang)}} {{__('lang.quantity', [], $lang)}} {{__('lang.price', [], $lang)}} {{__('lang.total', [], $lang)}}
{{ $op->product->title }} {{ \App\Models\Helper\MailHelper::generatingAttribute($op) }} {{ $setting->currency_icon }} {{ \App\Models\Helper\MailHelper::shippingPrice($op->shipping_place, $op->shipping_type) }} {{ $op->quantity }} {{ $setting->currency_icon }}{{ $op->selling }} {{ $setting->currency_icon }}{{ $op->selling * $op->quantity }}
@if ((int) $order->calculated_price['bundle_offer'] > 0) @endif @if ((int) $order->calculated_price['voucher_price'] > 0) @endif @if ((int) $order->calculated_price['tax'] > 0) @endif @stop