@if($mode === 'test' || $mode === 'dev')
|
##### TEST MODE ##### TEST MODE ##### TEST MODE #####
|
@endif
|
{{ $salutation }}
|
|
{!! nl2br($copy1line) !!}
|
@if($shopping_order->is_abo)
{{ __('abo.abo') }} /
@endif
@if($shopping_order->shopping_user->is_from === 'user_order')
@if($shopping_order->shopping_user->is_for === 'me')
{{__('email.checkout_mail_order_for_me')}}
@else
{{__('email.checkout_mail_order_for_ot')}}
@endif
@endif
@if($shopping_order->shopping_user->is_from === 'wizard')
{{__('email.checkout_mail_order_for_wizard')}}
@endif
@if($shopping_order->shopping_user->is_from === 'membership')
{{__('email.checkout_mail_order_for_membership')}}
@endif
@if($shopping_order->shopping_user->is_from === 'shopping')
{{__('email.checkout_mail_hl1')}}
@endif
@if($shopping_order->shopping_user->is_from === 'homeparty')
{{ __('navigation.my_homeparty') }} / {{ $shopping_order->homeparty->name }} - {{ $shopping_order->homeparty->date }}
{{__('email.checkout_mail_hl1')}}
@endif
@if($shopping_order->shopping_user->is_from === 'extern')
{{__('email.checkout_mail_order_for_extern')}}
@endif
@if($shopping_order->shopping_user->is_from === 'collection')
Berater Sammelrechnung
@endif
|
|
@if($shopping_order->shopping_user->is_from === 'homeparty')
@include('emails.homeparty_detail')
@elseif($shopping_order->shopping_user->is_from === 'collection' && $shopping_order->shopping_collect_order)
@include('emails.collection_detail')
@else
@include('emails.shopping_order_detail')
@endif
|
@if($shopping_order->shopping_user->is_from !== 'extern')
@if($send_link)
|
|
@endif
@if($shopping_order->is_abo)
{{ __('abo.checkout_mail_abo_hl') }}
|
@php($user_abo = $shopping_order->getUserAbo())
@if($user_abo)
@if($shopping_order->abo_interval)
{{__('abo.checkout_mail_abo_start')}}
{{__('tables.start_date')}}: {{ $user_abo->start_date }}
@endif
{{__('tables.next_date')}}: {{ $user_abo->next_date }}
{{__('tables.abo_delivery_day')}}: {{ \App\Services\HTMLHelper::getAboStrLang($user_abo->abo_interval) }}
{{ __('abo.checkout_mail_abo_info') }}
|
@endif
|
@endif
{{__('email.checkout_mail_pay_info')}}
|
{{__('email.checkout_mail_pay_success')}}
@if(isset($shopping_payment) && $shopping_payment)
{{__('email.checkout_mail_pay_with')}} {{$shopping_payment->getPaymentType()}}
{{__('email.checkout_mail_pay_ref')}} {{$shopping_payment->reference}}
@endif
@if(isset($shopping_order->shopping_user->billing_email) && $shopping_order->shopping_user->billing_email)
{{__('email.checkout_mail_your_mail')}} {{ $shopping_order->shopping_user->billing_email }}
@endif
|
|
{{__('email.checkout_mail_invoice_addess')}}
|
@if($shopping_order->shopping_user->billing_company)
{{ $shopping_order->shopping_user->billing_company }}
@endif
{{ $shopping_order->shopping_user->billing_firstname }}
{{ $shopping_order->shopping_user->billing_lastname }}
{{ $shopping_order->shopping_user->billing_address }}
@if($shopping_order->shopping_user->billing_address_2)
{{ $shopping_order->shopping_user->billing_address_2 }}
@endif
{{ $shopping_order->shopping_user->billing_zipcode }}
{{ $shopping_order->shopping_user->billing_city }}
{{ $shopping_order->shopping_user->billing_country->getLocated() }}
@if($shopping_order->shopping_user->billing_phone)
{{ $shopping_order->shopping_user->billing_phone }}
@endif
|
|
|
@if($shopping_order->shopping_user->is_from === 'user_order')
@if($shopping_order->shopping_user->is_for === 'me')
{{__('email.checkout_mail_deliver_addess')}}
@else
{{__('email.checkout_mail_deliver_customer')}}
@endif
@else
{{__('email.checkout_mail_deliver_addess')}}
@endif
|
@if($shopping_order->shopping_user->same_as_billing)
{{__('email.checkout_mail_same_address')}}
@else
@if($shopping_order->shopping_user->shipping_company)
{{ $shopping_order->shopping_user->shipping_company }}
@endif
{{ $shopping_order->shopping_user->shipping_firstname }}
{{ $shopping_order->shopping_user->shipping_lastname }}
{{ $shopping_order->shopping_user->shipping_address }}
@if($shopping_order->shopping_user->shipping_address_2)
{{ $shopping_order->shopping_user->shipping_address_2 }}
@endif
@if($shopping_order->shopping_user->shipping_postnumber)
DHL {{ __('payment.dhl_postnumber') }}: {{ $shopping_order->shopping_user->shipping_postnumber }}
@endif
{{ $shopping_order->shopping_user->shipping_zipcode }}
{{ $shopping_order->shopping_user->shipping_city }}
{{ $shopping_order->shopping_user->shipping_country->getLocated() }}
@if($shopping_order->shopping_user->shipping_phone)
{{ $shopping_order->shopping_user->shipping_phone }}
@endif
@endif
|
|
|
{{ $copy3line }}
@if($shopping_order->member)
@if($shopping_order->member->shop && $shopping_order->member->isActiveShop())
@if($shopping_order->member->shop->title)
{{ $shopping_order->member->shop->title }}
@endif
@if($shopping_order->member->shop->contact)
{!! nl2br($shopping_order->member->shop->contact) !!}
@endif
{{ $shopping_order->member->shop->getSubdomain(true) }}
@else
Dein Berater: {{$shopping_order->member->getFullName()}}
@endif
@endif
{{ $greetings }} {{ $sender }}
|
|
|
@else
@if($shopping_order->wp_invoice_path)
Rechnung: {{$shopping_order->wp_invoice_path}}
|
@endif
@if($shopping_order->api_notice['wp_advertising'])
Werbemittel: {!! $shopping_order->api_notice['wp_advertising'] !!}
|
@endif
@if($shopping_order->api_notice['wp_incentives'])
Incentives: {!! $shopping_order->api_notice['wp_incentives'] !!}
|
@endif
|
{{__('email.checkout_mail_deliver_customer')}}
|
@if($shopping_order->shopping_user->same_as_billing)
@if($shopping_order->shopping_user->billing_company)
{{ $shopping_order->shopping_user->billing_company }}
@endif
{{ $shopping_order->shopping_user->billing_firstname }}
{{ $shopping_order->shopping_user->billing_lastname }}
{{ $shopping_order->shopping_user->billing_address }}
@if($shopping_order->shopping_user->billing_address_2)
{{ $shopping_order->shopping_user->billing_address_2 }}
@endif
{{ $shopping_order->shopping_user->billing_zipcode }}
{{ $shopping_order->shopping_user->billing_city }}
{{ $shopping_order->shopping_user->billing_country->getLocated() }}
@if($shopping_order->shopping_user->billing_phone)
{{ $shopping_order->shopping_user->billing_phone }}
@endif
@else
@if($shopping_order->shopping_user->shipping_company)
{{ $shopping_order->shopping_user->shipping_company }}
@endif
{{ $shopping_order->shopping_user->shipping_firstname }}
{{ $shopping_order->shopping_user->shipping_lastname }}
{{ $shopping_order->shopping_user->shipping_address }}
@if($shopping_order->shopping_user->shipping_address_2)
{{ $shopping_order->shopping_user->shipping_address_2 }}
@endif
@if($shopping_order->shopping_user->shipping_postnumber)
DHL {{ __('payment.dhl_postnumber') }}: {{ $shopping_order->shopping_user->shipping_postnumber }}
@endif
{{ $shopping_order->shopping_user->shipping_zipcode }}
{{ $shopping_order->shopping_user->shipping_city }}
{{ $shopping_order->shopping_user->shipping_country->getLocated() }}
@if($shopping_order->shopping_user->shipping_phone)
{{ $shopping_order->shopping_user->shipping_phone }}
@endif
@endif
|
|
|
|
{{__('email.checkout_copy3line_extern')}}
|
@if($shopping_order->member)
Berater: {{ \App\Services\HTMLHelper::getSalutationLang($shopping_order->member->account->m_salutation) }} {{ $shopping_order->member->account->m_first_name }} {{ $shopping_order->member->account->m_last_name }}
Berater-ID: {{ $shopping_order->member->account->m_account }}
@if($shopping_order->member->user_level)
Karriere-Level: {{ $shopping_order->member->user_level->getLang('name') }}
@endif
@endif
|
|
|
@endif